SOCOORDINATE4(3iv)
๐ SoCoordinate4 โ rational coordinate point node โจ
okay bestie, gather round, we're learning about SoCoordinate4(3IV) from the Inventor crew and honestly? she's niche but she's important. ๐
๐ธ NAME ๐ธ
SoCoordinate4 โ rational coordinate point node ๐ฆ
๐งฌ INHERITS FROM ๐งฌ
SoBase > SoFieldContainer > SoNode > SoCoordinate4
like, she's the baby of the family, and the whole lineage is riding on her shoulders ๐
โจ SYNOPSIS โจ
#include <Inventor/nodes/SoCoordinate4.h>
๐ Fields from class SoCoordinate4:
SoMFVec4f point
๐ Methods from class SoCoordinate4:
SoCoordinate4()
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 this node defines a set of 3D coordinates that get used by the vertex-based shape nodes that come after it (aka the ones derived from SoVertexShape) โ or by shape nodes that use them as control points, like NURBS curves and surfaces. ๐ธ
the whole vibe here is that the coordinates are specified as rational 4-vectors. so the corresponding 3D point? it's computed by dividing the first three components by the fourth. that's the math, that's the tea, no cap. ๐งฎโจ
and like, real talk โ this node does not produce any visible result during rendering. nope, nothing, zero, nada. it simply replaces the current coordinates in the rendering state so the subsequent nodes can use them. she's a background character with main character impact, fr fr. ๐
bestie why does she exist?? primarily for NURBS curves and surfaces. but ngl she can also be used to define coordinates for any vertex-based shape. versatility queen ๐
๐ฆ FIELDS ๐ฆ
SoMFVec4f pointโ coordinate point(s). that's it, that's the field, she's a simple girlie ๐
๐ METHODS ๐
SoCoordinate4()โ creates a coordinate node with default settings. fresh out the box, defaults and all โจstatic SoType getClassTypeId()โ returns the type identifier for this class. iykyk, that's your class ID right there ๐
๐ฅ ACTION BEHAVIOR ๐ฅ
SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoRayPickAction
sets coordinates in the current traversal state. slay, consistent across all four ๐
๐ FILE FORMAT/DEFAULTS ๐
Coordinate4 {
point 0 0 0 1
}
look at that default, 0 0 0 1 โ she's iconic, she's grounded, she's literally at the origin ๐
๐ง SEE ALSO ๐ง
SoCoordinate4SoIndexedNurbsCurveSoIndexedNurbsSurfaceSoNurbsCurveSoNurbsProfileSoNurbsSurfaceSoVertexShape
(yes, SoCoordinate4 is in her own SEE ALSO list. self-love, we stan ๐๐)
and that's the whole page bestie!! the footer down there just says SoCoordinate4(3IV)() โ manual name SoCoordinate4(3IV), with the version field and the date field both sitting there empty, like a mysterious queen who refuses to reveal her birthday ๐ซถ stay curious, go read some more manpages, mwah ๐โจ๐
๐ฆ 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