SoInterpolate(3)
π NAME π
SoInterpolate β bestie, this is the base class for ALL the interpolator engines. the blueprint, the blueprint-est blueprint. everything else inherits from her π
(and yes, this is SoInterpolate(3), the Coin manpage, we're doing this together, sit down, grab a snack π)
β¨ SYNOPSIS β¨
#include <Inventor/engines/SoInterpolate.h>
Inherits SoEngine. π
Inherited by SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, and SoInterpolateVec4f. her five iconic children π¦
πΈ Public Member Functions πΈ
virtual SoType getTypeId (void) constvirtual const SoFieldData * getFieldData (void) constvirtual const SoEngineOutputData * getOutputData (void) const
πΈ Public Member Functions inherited from SoEngine πΈ
void evaluateWrapper (void)virtual int getOutputs (SoEngineOutputList &l) constSoEngineOutput * getOutput (const SbName &outputname) constSbBool getOutputName (const SoEngineOutput *output, SbName &outputname) constSbBool isNotifying (void) constvirtual void notify (SoNotList *nl)SoEngine * copy (void) constvirtual SoFieldContainer * copyThroughConnection (void) constSbBool shouldCopy (void) constvirtual void writeInstance (SoOutput *out)
πΈ Public Member Functions inherited from SoFieldContainer πΈ
void setToDefaults (void)SbBool hasDefaultValues (void) constSbBool fieldsAreEqual (const SoFieldContainer *container) constvoid copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE)SbBool set (const char *const fielddata)void get (SbString &fielddata)virtual int getFields (SoFieldList &l) constvirtual int getAllFields (SoFieldList &l) constvirtual SoField * getField (const SbName &name) constvirtual SoField * getEventIn (const SbName &name) constvirtual SoField * getEventOut (const SbName &name) constSbBool getFieldName (const SoField *const field, SbName &name) constSbBool enableNotify (const SbBool flag)SbBool isNotifyEnabled (void) constSbBool set (const char *fielddata, SoInput *input)void get (SbString &fielddata, SoOutput *out)virtual SbBool validateNewFieldValue (SoField *field, void *newval)virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)SbBool getIsBuiltIn (void) constvirtual void copyContents (const SoFieldContainer *from, SbBool copyconnections)virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) constvoid setUserData (void *userdata) constvoid * getUserData (void) const
πΈ Public Member Functions inherited from SoBase πΈ
void ref (void) constvoid unref (void) constvoid unrefNoDelete (void) constint32_t getRefCount (void) constvoid touch (void)SbBool isOfType (SoType type) constβ returnsTRUEif the type of this object is either of the same type or inherited from type. no cap.virtual SbName getName (void) constvirtual void setName (const SbName &newname)virtual void startNotify (void)void addAuditor (void *const auditor, const SoNotRec::Type type)void removeAuditor (void *const auditor, const SoNotRec::Type type)const SoAuditorList & getAuditors (void) constSbBool shouldWrite (void)void assertAlive (void) const
π Static Public Member Functions π
static SoType getClassTypeId (void)static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. the little pre-flight check-in β¨static void initClasses (void)
π Static Public Member Functions inherited from SoEngine π
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static void initClasses (void)static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static SoEngine * getByName (const SbName &name)static int getByName (const SbName &name, SoEngineList &el)
π Static Public Member Functions inherited from SoFieldContainer π
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static void cleanupClass (void)static void initCopyDict (void)static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy)static SoFieldContainer * checkCopy (const SoFieldContainer *orig)static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections)static void copyDone (void)
π Static Public Member Functions inherited from SoBase π
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static void addName (SoBase *const base, const char *const name)static void removeName (SoBase *const base, const char *const name)static void incrementCurrentWriteCounter (void)static void decrementCurrentWriteCounter (void)static SoBase * getNamedBase (const SbName &name, SoType type)static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type)static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype)static void setInstancePrefix (const SbString &c)static void setTraceRefs (SbBool trace)static SbBool getTraceRefs (void)static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname)static SbBool readRoute (SoInput *input)
π Public Attributes π
SoSFFloat alphaSoEngineOutput output
π§ Protected Member Functions π§
SoInterpolate ()virtual ~SoInterpolate (void)
π§ Protected Member Functions inherited from SoEngine π§
SoEngine (void)virtual ~SoEngine (void)virtual void evaluate (void)=0virtual SbBool readInstance (SoInput *in, unsigned short flags)virtual void inputChanged (SoField *which)void writeOutputTypes (SoOutput *out)
π§ Protected Member Functions inherited from SoFieldContainer π§
SoFieldContainer (void)virtual ~SoFieldContainer ()
π§ Protected Member Functions inherited from SoBase π§
SoBase (void)virtual ~SoBase ()SbBool hasMultipleWriteRefs (void) constSbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) constvoid writeFooter (SoOutput *out) constvirtual const char * getFileFormatName (void) constvirtual SoNotRec createNotRec (void)
π Static Protected Member Functions π
static const SoFieldData ** getInputDataPtr (void)static const SoEngineOutputData ** getOutputDataPtr (void)
π Static Protected Member Functions inherited from SoEngine π
static const SoFieldData ** getInputDataPtr (void)static const SoEngineOutputData ** getOutputDataPtr (void)
π Static Protected Member Functions inherited from SoBase π
static uint32_t getCurrentWriteCounter (void)static void staticDataLock (void)static void staticDataUnlock (void)
π«Ά Additional Inherited Members π«Ά
Protected Types inherited from SoBase
enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 }
Protected Attributes inherited from SoFieldContainer
SbBool isBuiltIn
π Detailed Description π
okay so. SoInterpolate is the base class for all interpolator engines. she's the mother of the whole interpolator family, no exaggeration.
Interpolators are used to linearly interpolate between two values. that's the whole job, that's the vibe, that's the assignment and she ATE π₯
In Coin, we've chosen to implement all interpolators in separate files. so heads up: if you want to be OIV compatible when programming, you should include the SoInterpolate.h, and not the interpolator file(s) you need. yes this is the trap, don't fall into it, bestie. π
π Constructor & Destructor Documentation π
SoInterpolate::SoInterpolate (void ) [protected]
Default constructor. the classic, the icon, the "hello world but make it a constructor" π
SoInterpolate::~SoInterpolate (void ) [protected], [virtual]
Destructor. she says goodbye gracefully, as she should. π
β Member Function Documentation β
SoType SoInterpolate::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class. the ID card of the whole class, basically. πͺͺ
SoType SoInterpolate::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting. so like... it's how the code figures out who's who at runtime. iykyk π
Implements SoBase.
Reimplemented in SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, and SoInterpolateVec4f. (all five of her kids overrode it, obsessed π)
const SoFieldData ** SoInterpolate::getInputDataPtr (void ) [static], [protected]
Returns the SoFieldData class which holds information about inputs in this engine. π₯
const SoEngineOutputData ** SoInterpolate::getOutputDataPtr (void ) [static], [protected]
Returns the SoEngineOutputData class which holds information about the outputs in this engine. π€
const SoFieldData * SoInterpolate::getFieldData (void ) const [virtual]
Returns the SoFieldData class which holds information about inputs in this engine. (yes, same energy as getInputDataPtr, she's just the non-static girlie.)
Reimplemented from SoFieldContainer.
Reimplemented in SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, and SoInterpolateVec4f.
const SoEngineOutputData * SoInterpolate::getOutputData (void ) const [virtual]
Returns the SoEngineOutputData class which holds information about the outputs in this engine. β¨
Implements SoEngine.
Reimplemented in SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, and SoInterpolateVec4f.
void SoInterpolate::initClasses (void ) [static]
This method is provided only for API compatibility, and does nothing in Coin. like literally nothing. she's there for the vibes and the vibes only π
π Member Data Documentation π
SoSFFloat SoInterpolate::alpha
The value which says how much we've should interpolate from first value to second value. A value equal to 0 will give an output equal to the first value, alpha equal to 1 gives the second value, any value in between gives a "weighted" interpolation between the two values. ποΈ
so:0= fully first value,1= fully second value, in between = the mix. that slider is the whole personality of this class ngl.
SoEngineOutput SoInterpolate::output
Interpolated values from the input fields. The type of the output will of course be the same as the type of the input fields of each non-abstract subclass inheriting SoInterpolate. π«
πΈ Author πΈ
Generated automatically by Doxygen for Coin from the source code. (not me writing this by hand, the robots did it, we're just vibing with the results π€β¨)
and that's the whole page bestie!! version 4.0.10, dated Thu Jun 25 2026 00:00:00, that's SoInterpolate(3) from Coin, signed, sealed, slayed π
πππ¦
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms