HDK
|
#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 | ) |
|
inline |
Definition at line 463 of file SIM_ConstraintNetworkIterator.h.
UT_Vector3 SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorAngularVelocity | ( | bool | anchor1 | ) | const |
|
inline |
Definition at line 248 of file SIM_ConstraintNetworkIteratorImpl.h.
|
inline |
Definition at line 256 of file SIM_ConstraintNetworkIteratorImpl.h.
|
inline |
Definition at line 241 of file SIM_ConstraintNetworkIteratorImpl.h.
UT_Quaternion SIM_ConstraintNetwork::GenericAnchorAccessor::getAnchorOrientation | ( | bool | anchor1 | ) | const |
|
inline |
Gets the point index of the point referred to by the anchor in a similar way to getAnchorPointOffset.
Definition at line 231 of file SIM_ConstraintNetworkIteratorImpl.h.
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 |
|
inline |
Returns the type of position described by the anchor (e.g. relative offset).
Definition at line 294 of file SIM_ConstraintNetworkIteratorImpl.h.
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.
|
overridevirtual |
Initialize with the constraint network's GU_Detail and transform.
Implements SIM_ConstraintNetwork::AnchorAccessor.
SIM_ConstraintNetwork::GenericAnchorAccessor::UT_NON_COPYABLE | ( | GenericAnchorAccessor | ) |