Base class for user defined fields.
MPxFieldNode allows the creation and manipulation of dependency graph nodes representing fields. This is the top level of a hierarchy of field node function sets. It permits manipulation of the attributes common to all types of fields.
|
| MPxFieldNode () |
| Class constructor.
|
|
virtual | ~MPxFieldNode () |
| The class destructor.
|
|
virtual MPxNode::Type | type () const |
| This method returns the type of the node. More...
|
|
virtual MStatus | compute (const MPlug &plug, MDataBlock &dataBlock) |
| This method should be overridden in user defined nodes. More...
|
|
virtual MStatus | getForceAtPoint (const MVectorArray &point, const MVectorArray &velocity, const MDoubleArray &mass, MVectorArray &force, double deltaTime) |
| This method is not required to be overridden, it is only necessary for compatibility with the MFnField function set. More...
|
|
virtual MStatus | iconSizeAndOrigin (GLuint &width, GLuint &height, GLuint &xbo, GLuint &ybo) |
| Define the size and the origin of the field's icon. More...
|
|
virtual MStatus | iconBitmap (GLubyte *bitmap) |
| Define the bitmap for the field's icon. More...
|
|
virtual void | draw (M3dView &view, const MDagPath &path, M3dView::DisplayStyle style, M3dView::DisplayStatus) |
| Overriding this method allows the drawing of custom geometry using standard OpenGL calls. More...
|
|
virtual double | falloffCurve (const double param, MStatus *ReturnStatus=NULL) |
| Returns the falloff at the given parameter value. More...
|
|
virtual bool | isFalloffCurveConstantOne (MStatus *ReturnStatus=NULL) |
| Returns true if the falloffCurve is a constant one (default) or false if not. More...
|
|
| MPxNode () |
| Constructor. More...
|
|
virtual | ~MPxNode () |
| Destructor.
|
|
virtual void | postConstructor () |
| Post constructor. More...
|
|
virtual bool | getInternalValue (const MPlug &, MDataHandle &) |
| This method is overridden by nodes that store attribute data in some internal format. More...
|
|
virtual bool | setInternalValue (const MPlug &, const MDataHandle &) |
| This method is overridden by nodes that store attribute data in some internal format. More...
|
|
virtual int | internalArrayCount (const MPlug &) const |
| This method is overridden by nodes that have internal array attributes which are not stored in Maya's datablock. More...
|
|
virtual void | copyInternalData (MPxNode *) |
| This method is overridden by nodes that store attribute data in some internal format. More...
|
|
virtual MStatus | legalConnection (const MPlug &, const MPlug &, 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 &, const MPlug &, 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 | preEvaluation (const MDGContext &context, const MEvaluationNode &evaluationNode) |
| Prepare a node's internal state for threaded evaluation. More...
|
|
virtual MStatus | postEvaluation (const MDGContext &context, const MEvaluationNode &evaluationNode, PostEvaluationType evalType) |
| Clean up node's internal state after threaded evaluation. More...
|
|
virtual SchedulingType | schedulingType () const |
| When overridden this method controls the degree of parallelism supported by the node during threaded evaluation. More...
|
|
virtual MStatus | connectionMade (const MPlug &, const MPlug &, bool asSrc) |
| This method gets called when connections are made to attributes of this node. More...
|
|
virtual MStatus | connectionBroken (const MPlug &, const MPlug &, bool asSrc) |
| This method gets called when connections are broken with attributes of this node. More...
|
|
virtual MStatus | dependsOn (const MPlug &, const MPlug &, bool &depends) const |
| This method may be overridden by the user defined node. More...
|
|
virtual bool | isPassiveOutput (const MPlug &) 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 &, bool &isSaving) |
| This method may be overridden by the user defined node. More...
|
|
virtual MPlug | passThroughToOne (const MPlug &) const |
| This method may be overridden by nodes that have a one-to-one relationship between an input attribute and a corresponding output attribute. More...
|
|
virtual bool | passThroughToMany (const MPlug &, MPlugArray &) const |
| This method is overridden 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 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 void | getExternalContent (MExternalContentInfoTable &table) const |
| Returns the external content (files) that this node depends on. More...
|
|
bool | addExternalContentForFileAttr (MExternalContentInfoTable &, const MObject &attr) const |
| Adds content info to the specified table from a file path attribute. More...
|
|
bool | setExternalContentForFileAttr (const MObject &attr, const MExternalContentLocationTable &) |
| Sets content info in the specified attribute from the table. More...
|
|
virtual void | setExternalContent (const MExternalContentLocationTable &) |
| Changes the location of external content in batch. 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...
|
|
MDataBlock | _forceCache (const MDGContext &) |
| This method is obsolete. More...
|
|
virtual bool | getInternalValueInContext (const MPlug &, MDataHandle &, MDGContext &) |
| This method is obsolete. More...
|
|
virtual bool | setInternalValueInContext (const MPlug &, const MDataHandle &, MDGContext &) |
| This method is obsolete. More...
|
|
virtual int | internalArrayCount (const MPlug &, const MDGContext &) const |
| This method is obsolete. More...
|
|