#include <SIM_ConstraintNetworkIterator.h>
Generic implementation of AnchorAccessor, which builds its own cache of the objects (transforms, etc) referenced by the anchor points.
Definition at line 451 of file SIM_ConstraintNetworkIterator.h.
SIM_ConstraintNetwork::GenericAnchorAccessor::GenericAnchorAccessor |
( |
bool |
need_object_centroid = false | ) |
|
UT_Vector3 SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorAngularVelocity |
( |
bool |
anchor1 | ) |
const |
UT_Vector3 SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorDOFVector |
( |
bool |
anchor1 | ) |
const |
|
inline |
const UT_StringHolder & SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorName |
( |
bool |
anchor1 | ) |
const |
|
inline |
int SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorNumConDOFs |
( |
bool |
anchor1 | ) |
const |
|
inline |
UT_Quaternion SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorOrientation |
( |
bool |
anchor1 | ) |
const |
GA_Index SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorPointIndex |
( |
bool |
anchor1 | ) |
const |
|
inline |
GA_Offset SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorPointOffset |
( |
bool |
anchor1 | ) |
const |
Get the point offset of the point referred to by the anchor. Either the anchor directly references a point on an object, or it references a vertex on an object which has an associated point. Returns GA_INVALID_OFFSET in the case where the anchor doesnt reference a point. If 'anchor_pid' or 'anchor_vid' is present, then return the first point (or vertex) with same id as on the constraint.
UT_Vector3 SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorPosition |
( |
bool |
anchor1 | ) |
const |
PositionType SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorPositionType |
( |
bool |
anchor1 | ) |
const |
|
inline |
UT_Vector3 SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorVelocity |
( |
bool |
anchor1 | ) |
const |
const SIM_Object* SIM_ConstraintNetwork::GenericAnchorAccessor::getObject |
( |
bool |
anchor1 | ) |
const |
bool SIM_ConstraintNetwork::GenericAnchorAccessor::getObjectCentroid |
( |
bool |
anchor1, |
|
|
UT_Vector3 & |
pos |
|
) |
| const |
int SIM_ConstraintNetwork::GenericAnchorAccessor::getObjectId |
( |
bool |
anchor1 | ) |
const |
Returns the id of the object named by the anchor. Returns -1 of the anchor does not name an object.
The documentation for this class was generated from the following files: