This reference page is linked to from the following overview topics: Parent class descriptions.
Parent class of all user defined object sets.
MPxObjectSet is the parent class of all user defined sets.
#include <MPxObjectSet.h>
Public Member Functions |
|
MPxObjectSet () | |
Class constructor. |
|
virtual | ~MPxObjectSet () |
Class destructor. |
|
virtual MPxNode::Type | type () const |
Returns the type of node that this is.
|
|
virtual bool | canBeDeleted (bool isSrcNode) |
A method that is called whenever a
neighboring node is deleted, to check if this node should be
deleted alongside or as a result of the neighboring node. |
|
Static Public Member Functions |
|
static const char * | className () |
Returns the name of this class. |
|
Static Public Attributes |
|
static MObject | dagSetMembers |
Connections to this attribute specify the
dagNodes or parts (components) of the same that are members of this
set. |
|
static MObject | DNSetMembers |
References to dependNode attributes which
defines set membership. |
|
static MObject | memberWireframeColor |
The index of a user defined color in which
the dag object component members should appear. |
|
static MObject | annotation |
A text string to annotate the set. |
|
static MObject | isLayer |
This attribute is obsolete and should no
longer be used. |
|
static MObject | verticesOnlySet |
Is set membership restricted to objects with
vertices? This attribute should not be explicitly changed by the
user. |
|
static MObject | edgesOnlySet |
Is set membership restricted to objects with
edges? This attribute should not be explicitly changed by the user.
|
|
static MObject | facetsOnlySet |
Is set membership restricted to objects with
facets? This attribute should not be explicitly changed by the
user. |
|
static MObject | editPointsOnlySet |
Is set membership restricted to objects with
edit points? This attribute should not be explicitly changed by the
user. |
|
static MObject | renderableOnlySet |
Is set membership restricted to renderable
objects only? This attribute should not be explicitly changed by
the user. |
|
static MObject | partition |
References to the partition nodes this set
is a member of. |
|
static MObject | groupNodes |
When parts (components) of dagNodes are in
the set, connections are made to this attribute to hold references
to groupId nodes, with the id uniquely identifying the group in the
dagNode. |
|
static MObject | usedByNodes |
References to nodes that operate upon this
set, such as deformers. |
MPxObjectSet | ( | ) |
Class constructor.
Any calls the MPxObjectSet methods must be done in the postConstructor method and not here.
MPxNode::Type type | ( | ) | const [virtual] |
Returns the type of node that this is.
This is used to differentiate user defined nodes that are derived off different MPx base classes.
It is not necessary to override this method.
Reimplemented from MPxNode.
bool canBeDeleted | ( | bool | isSrcNode | ) | [virtual] |
A method that is called whenever a neighboring node is deleted, to check if this node should be deleted alongside or as a result of the neighboring node.
This method will not be called in the case where construction history is being deleted.
By default, the object set will be deleted when all of the following criteria are met:
It is not necessary to override this method.
[in] | isSrcNode | True if this node is the source node of the connection to the neighboring node. |
const char * className | ( | ) | [static] |
MObject dagSetMembers
[static] |
Connections to this attribute specify the dagNodes or parts (components) of the same that are members of this set.
MObject memberWireframeColor
[static] |
The index of a user defined color in which the dag object component members should appear.
A value of -1 disables use of the color. Values outside the range [-1,7] may give unpredictable results.
MObject verticesOnlySet
[static] |
Is set membership restricted to objects with vertices? This attribute should not be explicitly changed by the user.
MObject edgesOnlySet
[static] |
Is set membership restricted to objects with edges? This attribute should not be explicitly changed by the user.
MObject facetsOnlySet
[static] |
Is set membership restricted to objects with facets? This attribute should not be explicitly changed by the user.
MObject editPointsOnlySet
[static] |
Is set membership restricted to objects with edit points? This attribute should not be explicitly changed by the user.
MObject renderableOnlySet
[static] |
Is set membership restricted to renderable objects only? This attribute should not be explicitly changed by the user.
MObject groupNodes
[static] |
When parts (components) of dagNodes are in the set, connections are made to this attribute to hold references to groupId nodes, with the id uniquely identifying the group in the dagNode.