Detailed Description
The
KinematicState represents the current pose of an
X3DObject object whereas the base pose of an object is
represented by the
StaticKinematicState.
- See also:
- Kinematics::GetGlobal,
Kinematics::GetLocal,
StaticKinematicState
- Example:
using namespace XSI;
Application app;
Model root = app.GetActiveSceneRoot();
Null myNull;
root.AddNull( L"", myNull );
app.LogMessage( myNull.GetKinematics().GetGlobal().GetClassIDName() );
#include <xsi_kinematicstate.h>
List of all
members.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
in_ref |
constant reference object. |
Copy constructor.
- Parameters:
-
in_obj |
constant class object. |
Member Function Documentation
bool IsA |
( |
siClassID |
in_ClassID |
) |
const [virtual] |
Returns true if a given class type is compatible with this API
class.
- Parameters:
-
- Returns:
- true if the class is compatible, false otherwise.
Reimplemented from Parameter.
Returns the type of the API class.
- Returns:
- The class type.
Reimplemented from Parameter.
Creates an object from another object. The newly created object
is set to empty if the input object is not compatible.
- Parameters:
-
in_obj |
constant class object. |
- Returns:
- The new
KinematicState object.
Creates an object from a reference object. The newly created
object is set to empty if the input reference object is not
compatible.
- Parameters:
-
in_ref |
constant class object. |
- Returns:
- The new
KinematicState object.
Reimplemented from Parameter.
Returns the transformation of an object.
- Parameters:
-
in_dFrame |
Frame at which to get the transform, it defaults to the current
frame (DBL_MAX indicates the current frame). |
- Returns:
- The Transformation object.
Sets the transformation of an object. Currently you cannot set
the transform at a different time other than the current time.
- Parameters:
-
in_transf |
The transformation object. |
in_dFrame |
Frame at which to set the transform (not supported yet). |
- Returns:
-
CStatus::OK success
-
CStatus::Fail failure
The documentation for this class was generated from the following
file: