SOCLIPPLANE(3iv)
π SoClipPlane β bestie, it's a clipping plane node π
okay so this is SoClipPlane(3IV) from the 3IV manual, and she is literally the girl who decides what part of your scene gets to exist. clipping queen. π
β¨ INHERITS FROM β¨
SoBase > SoFieldContainer > SoNode > SoClipPlane
so yeah, she's deep in the family tree β grandbaby of SoBase, and she inherited ALL the family drama (and all the methods, which we're gonna list, don't worry, we're not skipping a single one π«Ά).
πΈ SYNOPSIS πΈ
#include <Inventor/nodes/SoClipPlane.h>
Fields from class SoClipPlane:
SoSFPlane plane
SoSFBool on
Methods from class SoClipPlane:
SoClipPlane()
static SoType getClassTypeId()
Methods from class SoNode:
void setOverride(SbBool state)
SbBool isOverride() const
SoNode * copy(SbBool copyConnections = FALSE) const
virtual SbBool affectsState() const
static SoNode * getByName(const SbName &name)
static int getByName(const SbName &name, SoNodeList &list)
Methods from class SoFieldContainer:
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
SbBool set(const char *fieldDataString)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName)
const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
Methods from class SoBase:
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
π¦ DESCRIPTION π¦
okay so here's the tea β: this node clips all subsequent shapes in the scene graph to the half-space defined by the plane field.
"half-space"?? yes bestie, it's giving geometry. the half-space is the side of the plane in the direction of the plane normal. so like, imagine the plane sitting at the origin with its normal pointing down the positive X axis β everything in the negative X space gets clipped away. gone. not invited to the party. π
and you can have any number of clipping planes active at the same time, which is lowkey iconic β although the graphics library may place a limit on this number during rendering. so like, don't go feral with it, the renderer has boundaries. π
π FIELDS π
SoSFPlaneplaneβ the plane defining the half-space. she's the one drawing the line, literally.SoSFBoolonβ whether the clipping plane is active. is she on or is she off? that's the whole vibe check.
π METHODS π
SoClipPlane()β creates a clip plane node with default settings. a fresh baby, defaults and all β¨static SoType getClassTypeId()β returns the type identifier for this class. it's her government name, iykyk.
π₯ ACTION BEHAVIOR π₯
SoGLRenderAction, SoCallbackAction, SoRayPickAction
adds the plane to the current list of clipping planes in the state. periodt. all three of these actions do it. no cap.
π FILE FORMAT/DEFAULTS π
ClipPlane {
plane 1 0 0 0
on TRUE
}
look at her. defaults on, plane pointing down positive X with a zero offset. main character energy from day one π
β SEE ALSO β
SoCamera, SoShapeHints
k that's the whole page bestie!! go forth and clip responsibly π«Άβ¨
this was SoClipPlane(3IV)() β the 3IV manual, she's a classic, and the date on this one is... blank, she's timeless like that π (no date given, no date needed, she's just That Girl)
mwah, study hard, drink water, and remember: the normal points the way, and the half-space behind it is over π π
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms