![]() |
http://www.sim.no/ http://www.coin3d.org/ |
The SoMFRotation class is a container for SbRotation values. More...
#include <Inventor/fields/SoMFRotation.h>
Static Public Member Functions | |
static void * | createInstance (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
![]() | |
static SoType | getClassTypeId (void) |
static void | atexit_cleanup (void) |
static void | initClass (void) |
![]() | |
static void | initClass (void) |
static void | initClasses (void) |
static void | cleanupClass (void) |
static SoType | getClassTypeId (void) |
Protected Member Functions | |
virtual void | deleteAllValues (void) |
virtual void | copyValue (int to, int from) |
virtual int | fieldSizeof (void) const |
virtual void * | valuesPtr (void) |
virtual void | setValuesPtr (void *ptr) |
virtual void | allocValues (int num) |
![]() | |
SoMField (void) | |
virtual void | makeRoom (int newnum) |
![]() | |
SoField (void) | |
void | valueChanged (SbBool resetdefault=TRUE) |
virtual void | evaluateConnection (void) const |
virtual SbBool | readConnection (SoInput *in) |
virtual void | writeConnection (SoOutput *out) const |
SbBool | isDestructing (void) const |
Protected Attributes | |
SbRotation * | values |
![]() | |
int | num |
int | maxNum |
SbBool | userDataIsUsed |
Additional Inherited Members | |
![]() | |
enum | FieldType { NORMAL_FIELD = 0 , EVENTIN_FIELD , EVENTOUT_FIELD , EXPOSED_FIELD } |
The SoMFRotation class is a container for SbRotation values.
This field is used where nodes, engines or other field containers needs to store multiple rotation definitions.
Copy value(s) from f into this field. f must be of the same type as this field.
Implements SoField.
Check for equal type and value(s).
Implements SoField.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Implements SoMField.
|
protectedvirtual |
This method is used for moving values around internally within a multivalue field. It needs to be overridden in each field so it automatically takes care of running copy contructors where necessary.
Implements SoMField.
|
inline |
Returns a pointer to the values array.
Set the values of num rotations, starting from index start, using the quaternion quadruples from q.
void SoMFRotation::set1Value | ( | const int | idx, |
const float | q0, | ||
const float | q1, | ||
const float | q2, | ||
const float | q3 | ||
) |
Set the rotation at idx from the quaternion values.
Set the rotation at idx from the quaternion quadruple q.
Set the rotation at idx from the rotation axis and angle.
Set the field to a single rotation from the quaternion values.
Set the field to a single rotation from the quaternion quadruple q.
Set the field to a single rotation from the axis and angle.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 19 2023 for Coin by Doxygen 1.9.8.