#include <MPxObjectSet.h>
MPxObjectSet is the parent class of all user defined sets.
Public Member Functions | |
MPxObjectSet () | |
virtual | ~MPxObjectSet () |
virtual MPxNode::Type | type () const |
virtual bool | canBeDeleted (bool isSrcNode) |
Static Public Attributes | |
static MObject | dagSetMembers |
static MObject | DNSetMembers |
References to dependNode attributes which defines set membership. | |
static MObject | memberWireframeColor |
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 |
static MObject | edgesOnlySet |
static MObject | facetsOnlySet |
static MObject | editPointsOnlySet |
static MObject | renderableOnlySet |
static MObject | partition |
References to the partition nodes this set is a member of. | |
static MObject | groupNodes |
static MObject | usedByNodes |
References to nodes that operate upon this set, such as deformers. |
MPxObjectSet::MPxObjectSet | ( | ) |
Class constructor.
Any calls the MPxObjectSet methods must be done in the postConstructor method and not here.
MPxObjectSet::~MPxObjectSet | ( | ) | [virtual] |
Class destructor.
MPxNode::Type MPxObjectSet::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 MPxObjectSet::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. |
MObject MPxObjectSet::dagSetMembers [static] |
Connections to this attribute specify the dagNodes or parts (components) of the same that are members of this set.
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 MPxObjectSet::verticesOnlySet [static] |
Is set membership restricted to objects with vertices? This attribute should not be explicitly changed by the user.
MObject MPxObjectSet::edgesOnlySet [static] |
Is set membership restricted to objects with edges? This attribute should not be explicitly changed by the user.
MObject MPxObjectSet::facetsOnlySet [static] |
Is set membership restricted to objects with facets? This attribute should not be explicitly changed by the user.
MObject MPxObjectSet::editPointsOnlySet [static] |
Is set membership restricted to objects with edit points? This attribute should not be explicitly changed by the user.
MObject MPxObjectSet::renderableOnlySet [static] |
Is set membership restricted to renderable objects only? This attribute should not be explicitly changed by the user.
MObject MPxObjectSet::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.
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |