SOINTERPOLATEVEC3F(3iv)

πŸ’– SoInterpolateVec3f β€” it's giving interpolated 3D vectors πŸ’–

okay bestie, welcome to the <pink>SoInterpolateVec3f(3IV)</pink> era πŸŽ€ this is the 3IV manual page and yes we're gonna read the whole thing together, no skimming, i got you 🫢


✨ NAME ✨

SoInterpolateVec3f β€” interpolates 3D floating-point vectors πŸ¦‹

like. that's the whole job. she interpolates. 3D vectors. floating-point ones. and she does it beautifully πŸ’…


🌸 INHERITS FROM 🌸

SoBase > SoFieldContainer > SoEngine > SoInterpolate >
SoInterpolateVec3f

the family tree is REAL, she comes from a long line of iconic ancestors and she's the main character of this particular branch πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <Inventor/engines/SoInterpolate.h>

Inputs from class SoInterpolateVec3f:

SoMFVec3f           input0
SoMFVec3f           input1

Inputs from class SoInterpolate:

SoSFFloat           alpha

Outputs from class SoInterpolate:

(SoMFVec3f)         output

Methods from class SoInterpolateVec3f:

                    SoInterpolateVec3f()

Methods from class SoEngine:

static SoType       getClassTypeId()
virtual int         getOutputs(SoEngineOutputList &list) const
SoEngineOutput *    getOutput(const SbName &outputName) const
SbBool              getOutputName(const SoEngineOutput *output, SbName
                         &outputName) const
SoEngine *          copy() const
static SoEngine *   getByName(const SbName &name)
static int          getByName(const SbName &name, SoEngineList &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

so many methods, so little time, and every single one of them is accounted for πŸ’– don't worry, we're not skipping a single one, that would be rude.


πŸ’… DESCRIPTION πŸ’…

okay so here's the tea β˜• this engine linearly interpolates between two 3D vectors, and it does it based on the alpha input value. that's the whole vibe.

and bestie, listen β€” the alpha value should be between 0.0 and 1.0. that's the range. respect the range πŸ™

the input fields can have multiple vectors, which is iconic because it lets the engine interpolate several objects in parallel ✨ like she's multitasking, she's booked and busy.

and here's the cute part: one of the inputs may have more values than the other. in that case? the last value of the shorter input will be repeated as necessary πŸ” no cap, she just stretches it out, that's the rule.


πŸ¦‹ INPUTS πŸ¦‹

  • SoMFVec3f input0
  • SoMFVec3f input1

the engine linearly interpolates from input0 to input1. that's it, that's the journey, start point to end point, alpha doing all the steering 🌈


⭐ METHODS ⭐

  • SoInterpolateVec3f() β€” constructor. she's born. she's here. πŸŽ€

πŸ”₯ FILE FORMAT/DEFAULTS πŸ”₯

InterpolateVec3f {
    alpha   0
    input0  0 0 0
    input1  0 0 0
}

look at those defaults, immaculate, alpha starts at 0, both inputs chilling at 0 0 0, we love a clean slate ✨


🌈 SEE ALSO 🌈

  • SoEngineOutput
  • SoInterpolateFloat
  • SoInterpolateRotation
  • SoInterpolateVec2f
  • SoInterpolateVec4f

the whole interpolate friend group 🫢 go say hi to them, they're all slaying in their own dimensions (2f, 3f, 4f, rotations, floats β€” a whole squad πŸ’œ)


and that's the page bestie, every option, every method, every default, nothing dropped, we ate and left no crumbs πŸ‘‘

this has been SoInterpolateVec3f(3IV)() β€” version 3IV, date (), mwah, take care of her πŸ’–πŸ’…βœ¨