Proxy constraint node.
MPxConstraint is the parent class for user defined constraint nodes. Position, orientation or scale of an object can be constrained by other objects. This class works in conjunction with the MPxConstraintCommand class.
|
| | MPxConstraint () |
| | Constructor. More...
|
| |
|
virtual | ~MPxConstraint () |
| | Destructor.
|
| |
| virtual const MObject | weightAttribute () const |
| | Returns the weight attribute for the constraint. More...
|
| |
| virtual const MObject | targetAttribute () const |
| | Returns the target attribute for the constraint. More...
|
| |
| virtual const MObject | constraintRotateOrderAttribute () const |
| | Returns the rotate order attribute for the constraint. More...
|
| |
| | MPxNode () |
| | Constructor. More...
|
| |
|
virtual | ~MPxNode () |
| | Destructor.
|
| |
| virtual void | postConstructor () |
| | Post constructor. More...
|
| |
| virtual MStatus | compute (const MPlug &plug, MDataBlock &dataBlock) |
| | This method should be overridden in user defined nodes. More...
|
| |
| virtual bool | getInternalValueInContext (const MPlug &plug, MDataHandle &dataHandle, MDGContext &ctx) |
| | This method is overriden by nodes that store attribute data in some internal format. More...
|
| |
| virtual bool | setInternalValueInContext (const MPlug &plug, const MDataHandle &dataHandle, MDGContext &ctx) |
| | This method is overriden by nodes that store attribute data in some internal format. More...
|
| |
| virtual bool | getInternalValue (const MPlug &plug, MDataHandle &dataHandle) |
| | This method is obsolete. More...
|
| |
| virtual bool | setInternalValue (const MPlug &plug, const MDataHandle &dataHandle) |
| | This method is obsolete. More...
|
| |
| virtual int | internalArrayCount (const MPlug &plug, const MDGContext &ctx) const |
| | This method is overriden by nodes that have internal array attributes which are not stored in Maya's datablock. More...
|
| |
| virtual void | copyInternalData (MPxNode *) |
| | This method is overriden by nodes that store attribute data in some internal format. More...
|
| |
| virtual MStatus | legalConnection (const MPlug &plug, const MPlug &otherPlug, bool asSrc, bool &isLegal) const |
| | This method allows you to check for legal connections being made to attributes of this node. More...
|
| |
| virtual MStatus | legalDisconnection (const MPlug &plug, const MPlug &otherPlug, bool asSrc, bool &isLegal) const |
| | This method allows you to check for legal disconnections being made to attributes of this node. More...
|
| |
| virtual MStatus | setDependentsDirty (const MPlug &plug, MPlugArray &plugArray) |
| | This method can be overridden in user defined nodes to specify which plugs should be set dirty based upon an input plug {plugBeingDirtied} which Maya is marking dirty. More...
|
| |
| virtual MStatus | connectionMade (const MPlug &plug, const MPlug &otherPlug, bool asSrc) |
| | This method gets called when connections are made to attributes of this node. More...
|
| |
| virtual MStatus | connectionBroken (const MPlug &plug, const MPlug &otherPlug, bool asSrc) |
| | This method gets called when connections are broken with attributes of this node. More...
|
| |
| virtual bool | isPassiveOutput (const MPlug &plug) const |
| | This method may be overridden by the user defined node if it wants to provide output attributes which do not prevent value modifications to the destination attribute. More...
|
| |
| virtual MStatus | shouldSave (const MPlug &plug, bool &isSaving) |
| | This method may be overridden by the user defined node. More...
|
| |
| virtual MPlug | passThroughToOne (const MPlug &plug) const |
| | This method may be overriden by nodes that have a one-to-one relationship between an input attribute and a corresponding output attribute. More...
|
| |
| virtual bool | passThroughToMany (const MPlug &plug, MPlugArray &plugArray) const |
| | This method is overriden by nodes that want to control the traversal behavior of some Maya search algorithms which traverse the history/future of shape nodes looking for directly related nodes. More...
|
| |
| virtual Type | type () const |
| | Returns the type of node that this is. More...
|
| |
| virtual bool | isAbstractClass () const |
| | Override this class to return true if this node is an abstract node. More...
|
| |
| virtual MStringArray | getFilesToArchive (bool shortName=false, bool unresolvedName=false, bool markCouldBeImageSequence=false) const |
| | Use this method to return all external files used by this node. More...
|
| |
| virtual MTypeId | typeId () const |
| | Returns the TYPEID of this node. More...
|
| |
| virtual MString | typeName () const |
| | Returns the type name of this node. More...
|
| |
| virtual MString | name () const |
| | Returns the name of this particular instance of this class. More...
|
| |
| virtual MObject | thisMObject () const |
| | Returns the MObject associated with this user defined node. More...
|
| |
| virtual MStatus | setExistWithoutInConnections (bool flag) |
| | This method specifies whether or not the node can exist without input connections. More...
|
| |
| virtual bool | existWithoutInConnections (MStatus *ReturnStatus=NULL) const |
| | Determines whether or not this node can exist without input connections. More...
|
| |
| virtual MStatus | setExistWithoutOutConnections (bool flag) |
| | This method specifies whether or not the node can exist without output connections. More...
|
| |
| virtual bool | existWithoutOutConnections (MStatus *ReturnStatus=NULL) const |
| | Determines whether or not this node can exist without output connections. More...
|
| |
|
| virtual const MObject | passiveOutputAttribute () const |
| | Returns the passive output attribute for the constraint. More...
|
| |
| virtual void | getOutputAttributes (MObjectArray &attributeArray) |
| | Returns output attributes for the constraint. More...
|
| |
| MStatus | closestPoint (const MObject &dataGeometryObject, const MPoint &toThisPoint, MPoint &theClosestPoint) const |
| | Returns the closest point on this surface to the given point. More...
|
| |
| MStatus | closestNormal (const MObject &dataGeometryObject, const MPoint &toThisPoint, MVector &theNormal) const |
| | Returns the closest normal on this surface to the given point. More...
|
| |
| MStatus | closestTangent (const MObject &dataGeometryObject, const MPoint &toThisPoint, MVector &theTangent) const |
| | Returns the closest tangent on this surface to the given point. More...
|
| |
| MEulerRotation | computeAim (const MMatrix &parentInverseMatrix, const MVector &targetVector, const MVector &aimVector, const MVector &upVector, const MVector &wupVector, MEulerRotation::RotationOrder order=MEulerRotation::kXYZ, const MQuaternion &jointOrient=MQuaternion::identity, MStatus *ResultStatus=NULL) const |
| | Returns the rotation which aligns the aimVector in local space with the targetVector in local space while keeping the upVector in local space and the wUpVector world space aligned as closely as possible. More...
|
| |
| MVector | worldUpVector (MPxConstraint::UpVectorType upType, const MVector &upVector, const MMatrix &upMatrix, const MPoint &constrPoint, MStatus *ResultStatus=NULL) const |
| | Returns the world up vector based on the requested up type. More...
|
| |
| MPoint | worldConstraintPoint (const MMatrix &parentInverseMatrix, const MVector &translate, const MVector &rotatePivot, const MVector &rotatePivotTranslate, MStatus *ResultStatus=NULL) const |
| | Returns the world constraint point. More...
|
| |
| virtual MDataBlock | forceCache (MDGContext &ctx=MDGContext::fsNormal) |
| | USE _forceCache() IN SCRIPT. More...
|
| |
| virtual void | setMPSafe (bool flag) |
| | USE _setMPSafe() IN SCRIPT. More...
|
| |
| virtual MStatus | setDoNotWrite (bool flag) |
| | USE _setDoNotWrite() IN SCRIPT. More...
|
| |
| virtual bool | doNotWrite (MStatus *ReturnStatus=NULL) const |
| | USE _doNotWrite() IN SCRIPT. More...
|
| |