man SoComposeRotation () - composes a rotation from axis and angle values
NAME
SoComposeRotation - composes a rotation from axis and angle values
INHERITS FROM
SoBase > SoFieldContainer > SoEngine > SoComposeRotation
SYNOPSIS
#include <Inventor/engines/SoCompose.h>
Inputs from class SoComposeRotation:
c
}
c
}
axis
c
}
c
}
angle
Outputs from class SoComposeRotation:
c
}
c
}
rotation
Methods from class SoComposeRotation:
c
}
c
}
SoComposeRotation()
Methods from class SoEngine:
c
}
c
}
getClassTypeId()
c
}
c
}
getOutputs(SoEngineOutputList &list) const
c
}
c
}
getOutput(const SbName &outputName) const
c
}
c
}
getOutputName(const SoEngineOutput *output, SbName &outputName) const
c
}
c
}
copy() const
c
}
c
}
getByName(const SbName &name)
c
}
c
}
getByName(const SbName &name, SoEngineList &list)
Methods from class SoFieldContainer:
c
}
c
}
setToDefaults()
c
}
c
}
hasDefaultValues() const
c
}
c
}
fieldsAreEqual(const SoFieldContainer *fc) const
c
}
c
}
copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)
c
}
c
}
set(const char *fieldDataString)
c
}
c
}
get(SbString &fieldDataString)
c
}
c
}
getFields(SoFieldList &resultList) const
c
}
c
}
getField(const SbName &fieldName) const
c
}
c
}
getFieldName(const SoField *field, SbName &fieldName) const
c
}
c
}
isNotifyEnabled() const
c
}
c
}
enableNotify(SbBool flag)
Methods from class SoBase:
c
}
c
}
ref()
c
}
c
}
unref() const
c
}
c
}
unrefNoDelete() const
c
}
c
}
touch()
c
}
c
}
getTypeId() const
c
}
c
}
isOfType(SoType type) const
c
}
c
}
setName(const SbName &name)
c
}
c
}
getName() const
DESCRIPTION
This engine has two inputs, representing an axis of rotation and a rotation angle in radians. As output, the engine composes the inputs into a rotation field. The input fields can have multiple values, allowing the engine to compose several rotations in parallel. Some inputs may have more values than others. In such cases, the last value of the shorter inputs will be repeated as necessary.
INPUTS
c
}
c
}
axis
Axis of rotation.
c
}
c
}
angle
Angle of rotation.
OUTPUTS
c
}
c
}
rotation
Rotation field, defined by the inputs.
METHODS
c
}
c
}
SoComposeRotation()
Constructor
FILE FORMAT/DEFAULTS
ComposeRotation { axis 0 0 1 angle 0 }
SEE ALSO
SoComposeRotationFromTo, SoDecomposeRotation, SoEngineOutput