SOINTERPOLATEROTATION(3iv)

✨ SoInterpolateRotation(3IV) β€” no wait bestie, that's just the header πŸ’…

Okay so real talk, this is the manual page for SoInterpolateRotation from the 3IV manual set, and it's literally the little engine that could when it comes to spinning things smoothly. Buckle up, it's giving rotation energy 🌈


πŸ¦‹ NAME

SoInterpolateRotation β€” interpolates rotation values. That's it, that's the job, and she eats every time ✨


🌸 INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoInterpolate >
SoInterpolateRotation

Family tree is deep, okay? She's got ancestors and she's proud of them πŸ‘‘


πŸ’– SYNOPSIS

#include <Inventor/engines/SoInterpolate.h>

Inputs from class SoInterpolateRotation:

SoMFRotation        input0
SoMFRotation        input1

Inputs from class SoInterpolate:

SoSFFloat           alpha

Outputs from class SoInterpolate:

(SoMFRotation)      output

Methods from class SoInterpolateRotation:

                    SoInterpolateRotation()

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

Like… that's a LOT of methods and every single one of them is listed here because we do not gatekeep in this house 🫢


πŸŽ€ DESCRIPTION

Okay so here's the vibe: this engine linearly interpolates between two rotation values, and it does it based on the alpha input value. The alpha value should be between 0.0 and 1.0. That's the whole deal. Zero to one, baby, no cap.

The input fields can have multiple rotations, which means the engine can interpolate several objects in parallel. Multi-tasking queen behavior πŸ’…

One of the inputs may have more values than the other. In that case β€” and this is the important bit β€” the last value of the shorter input will be repeated as necessary. So the short one just keeps showing up like "hey, still me, still here" πŸ™ˆ


🌟 INPUTS

  • SoMFRotation input0
  • SoMFRotation input1

The engine linearly interpolates from input0 to input1. Start point, end point, slay. ✨


πŸ’œ METHODS

  • SoInterpolateRotation() β€” Constructor. She's born. Iconic.

πŸ”₯ FILE FORMAT/DEFAULTS

InterpolateRotation {
    alpha   0
    input0  0 0 1  0
    input1  0 0 1  0
}

Look at those defaults just sitting there, all zeroed out and cozy πŸ“


🧚 SEE ALSO

  • SoEngineOutput
  • SoInterpolateFloat
  • SoInterpolateVec2f
  • SoInterpolateVec3f
  • SoInterpolateVec4f

Go read those too, bestie, the whole squad is valid πŸ’–


Lowkey the most important thing: every option, default, and method above is exactly as it appears in the source. I'm just the messenger with better vibes πŸ’…

And that's the whole page, fr fr. Signing off with the source/version and date from the footer β€” SoInterpolateRotation(3IV)(), so you know exactly which manual we're living in πŸŽ€βœ¨ Stay interpolating, bestie πŸ’–