SOSFPLANE(3iv)
π SoSFPlane(3IV) π
okay bestie, sit down, hydrate, because today we're learning about a whole entire field whose only job is holding one (1) plane equation. she's small. she's focused. she's iconic. this is the SoSFPlane manual page, manual section 3IV, and yes we're doing the whole thing, no skipping π«Ά
β¨ NAME β¨
SoSFPlane β a field containing a plane equation. that's it. that's the whole vibe. a single-value field, one plane, no drama π
πΈ INHERITS FROM πΈ
SoField > SoSField > SoSFPlane
so the family tree goes: SoField is the ancestor, SoSField is the single-value branch, and SoSFPlane is the baby of the family that specifically knows about planes. slay π
π¦ SYNOPSIS π¦
#include <Inventor/fields/SoSFPlane.h>
Methods from class SoSFPlane:
static SoType getClassTypeId()
virtual void getTypeId() const
const SbPlane & getValue() const
const SbPlane & operator =(const SbPlane & newValue)
void setValue(const SbPlane & newValue)
int operator ==(const SoSFPlane &f) const
int operator !=(const SoSFPlane &f) const
Methods from class SoField (she inherited these, and honestly they ate):
void setIgnored(SbBool ignore)
SbBool isIgnored() const
SbBool isDefault() const
virtual SbBool isOfType(SoType type) const
SbBool set(const char *valueString)
void get(SbString &valueString)
void touch()
SbBool connectFrom(SoField *fromField)
SbBool connectFrom(SoEngineOutput *fromEngine)
void disconnect()
SbBool isConnected() const
SbBool isConnectedFromField() const
SbBool getConnectedField(SoField *&writingField) const
SbBool isConnectedFromEngine() const
SbBool getConnectedEngine(SoEngineOutput *&engineOutput)
const
void enableConnection(SbBool flag)
SbBool isConnectionEnabled() const
int getForwardConnections(SoFieldList &list) const
SoFieldContainer * getContainer() const
π DESCRIPTION π
A field containing a plane equation (an SbPlane). so basically it's a little box and inside the box is one plane equation, and she's thriving π
here's the tea about how SoSFPlanes get written to file, and this part is important so listen up: they're written as four floating point values separated by whitespace.
- the first three are the normal direction of the plane β¨
- the fourth is the distance of the plane from the origin (in the direction of the normal) π
so like... nx ny nz dist, four numbers, whitespace between them, done. that's the whole format. no cap π«Ά
π METHODS π
static SoType getClassTypeId()virtual void getTypeId() const
Returns the type for this class, or for a particular object of this class. i.e. "who am i" but for the class, or for the specific object. main character energy tbh π
const SbPlane & getValue() const
Returns this field's value. the plane. the one she's been holding this whole time. give it back π₯Ί
const SbPlane & operator =(const SbPlane & newValue)void setValue(const SbPlane & newValue)
Sets this field to newValue. so now the field is holding the new plane instead of the old one. glow up achieved β¨
int operator ==(const SoSFPlane &f) constint operator !=(const SoSFPlane &f) const
Returns TRUE if f is of the same type and has the same value as this field. both. same type AND same value. not one or the other. fr fr π
π SEE ALSO π
SbPlane, SoField, SoSField, SoMFPlane β go read those too bestie, they're all in the same friend group π¦
and that's the whole page!! π this was SoSFPlane(3IV)() β manual section 3IV, no version or date info beyond that on the page, so that's genuinely all the deets i have. go forth, hold exactly one plane, stay iconic ππβ¨
π¦ 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