Interface to IK point constraint data.
#include <AlPointConstraint.h> class AlPointConstraint : public AlConstraint AlPointConstraint(); virtual ~AlPointConstraint(); virtual AlObject* copyWrapper() const; statusCode create( AlDagNode*, AlDagNode* ); statusCode create( AlDagNode*, AlDagNode*, double[2] ); virtual AlObjectType type() const; statusCode point( double[3] ) const;
The AlPointConstraint class allows access to the IK point constraint information on an AlJoint. This class is derived from the AlConstraint class.
(See the discussion of skeletons, joints, constraints, ik, and so on, in the Alias manuals for a full description.)
Constructs an AlPointConstraint wrapper object.
Deletes an AlPointConstraint wrapper object.
Wrapper object duplicator for AlPointConstraint.
Does all the initialization necessary to attach the constraint node to the DAG node as a point constraint. A DAG node can not be constrained to itself.
< srcNode - AlDagNode that this constraint is to be added to
< destNode - the AlDagNode that srcNode will be constrained to
sInvalidArgument - one of the arguments was wrong or tried to constrain a node to itself
sInsufficientMemory - ran out of memory
sFailure - failed to add the constraint
sSuccess - successfully added the constraint
This method does all the initialization necessary to attach the constraint node to the dag node as an uv point constraint. A dag node can not be constrained to itself. The destNode must be a spline geometry node, for example, a spline curve or a spline surface.
< srcNode - AlDagNode this constraint is to be added to.
< destNode - The AlDagNode that srcNode will be constrained to.
< uv[2] - The uv parameter on destNode that srcNode will be constrained to. If the destNode is a curve, only uv[0] is used.
sInvalidArgument - one of the arguments was wrong or tried to constrain a node to itself.
sInsufficientMemory - ran out of memory.
sFailure - failed to add the constraint.
sSuccess - successfully added the constraint.
Returns the class identifier kPointConstraintType;
This virtual function returns a non-null pointer to itself, indicating that it is safe to cast to an object of this class.
Returns the coordinates of the point being constrained to.