#include <xsi_rigidconstraintaccessor.h>
The rigid constraint accessor provides an optimized access to the data and property values of a rigid constraint object. CRigidConstraintAccessor is suitable for data export applications as it allows access to rigid body data more quickly and efficiently than the regular API classes.
Public Member Functions |
|
CRigidConstraintAccessor () | |
~CRigidConstraintAccessor () | |
CRigidConstraintAccessor (const CRef &in_ref) | |
CRigidConstraintAccessor (const CRigidConstraintAccessor &in_obj) | |
bool | IsA (siClassID in_ClassID) const |
siClassID | GetClassID () const |
CRigidConstraintAccessor & | operator= (const CRigidConstraintAccessor &in_obj) |
CRigidConstraintAccessor & | operator= (const CRef &in_ref) |
CRefArray | GetAttachedRigidBodies () const |
LONG | GetAttachedRigidBodiesCount () const |
SimulationEnvironment | GetSimulationEnvironment () const |
Default constructor.
Default destructor.
CRigidConstraintAccessor | ( | const CRef & | in_ref | ) |
Constructor.
in_ref | constant reference object. |
CRigidConstraintAccessor | ( | const CRigidConstraintAccessor & | in_obj | ) |
Copy constructor.
in_obj | constant class object. |
bool IsA | ( | siClassID | in_ClassID | ) | const [virtual] |
Returns true if a given class type is compatible with this API class.
in_ClassID | class type. |
Reimplemented from CBase.
siClassID GetClassID | ( | ) | const [virtual] |
CRigidConstraintAccessor& operator= | ( | const CRigidConstraintAccessor & | in_obj | ) |
Creates an object from another object. The newly created object is set to empty if the input object is not compatible.
in_obj | constant class object. |
CRigidConstraintAccessor& operator= | ( | const CRef & | in_ref | ) |
Creates an object from a reference object. The newly created object is set to empty if the input reference object is not compatible.
in_ref | constant class object. |
CRefArray GetAttachedRigidBodies | ( | ) | const |
Returns all rigid bodies attached to this rigid constraint.
LONG GetAttachedRigidBodiesCount | ( | ) | const |
Returns the number of rigid bodies attached to this rigid constraint as a LONG.
SimulationEnvironment GetSimulationEnvironment | ( | ) | const |
Returns the SimulationEnvironment that contains this rigid constraint.