#include <MItSubdVertex.h>
This class is the iterator for subdiv vertices.
Public Member Functions | |
MItSubdVertex (MObject &subdObject, MStatus *ReturnStatus=NULL) | |
virtual | ~MItSubdVertex () |
bool | isDone (MStatus *ReturnStatus=NULL) |
MStatus | next () |
MStatus | reset () |
int | level (MStatus *ReturnStatus=NULL) const |
void | setLevel (int level, MStatus *ReturnStatus=NULL) |
bool | isValid (MStatus *ReturnStatus=NULL) const |
MUint64 | index (MStatus *ReturnStatus=NULL) |
Constructor. Creates an iterator for all vertices of the given subdiv surface.
Arguments
MItSubdVertex::~MItSubdVertex | ( | ) | [virtual] |
Destructor. Frees up storage used by the iterator.
bool MItSubdVertex::isDone | ( | MStatus * | ReturnStatus = NULL |
) |
Indicates if all of the vertices have been traversed yet.
Arguments
MStatus MItSubdVertex::next | ( | ) |
Advance to the next vertex in the iteration.
MStatus MItSubdVertex::reset | ( | ) |
Reset the iterator to the first vertex.
int MItSubdVertex::level | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the level of the subdiv object.
Arguments
void MItSubdVertex::setLevel | ( | int | level, | |
MStatus * | ReturnStatus = NULL | |||
) |
Sets the level of the subdiv object
Arguments
bool MItSubdVertex::isValid | ( | MStatus * | ReturnStatus = NULL |
) | const |
Checks if the iterator is valid.
Arguments
MUint64 MItSubdVertex::index | ( | MStatus * | ReturnStatus = NULL |
) |
Returns the index of the current vertex in the vertex list for this subdiv object.
Arguments
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |