Subdiv vertex iterator.
This class is the iterator for subdiv vertices.
#include <MItSubdVertex.h>
Public Member Functions |
|
| MItSubdVertex (MObject &subdObject, MStatus *ReturnStatus=NULL) | |
| Constructor. |
|
| virtual | ~MItSubdVertex () |
| Destructor. |
|
| bool | isDone (MStatus *ReturnStatus=NULL) |
| Indicates if all of the vertices have been
traversed yet. |
|
| MStatus | next () |
| Advance to the next vertex in the iteration.
|
|
| MStatus | reset () |
| Reset the iterator to the first vertex.
|
|
| int | level (MStatus *ReturnStatus=NULL) const |
| Returns the level of the subdiv object.
|
|
| void | setLevel (int level, MStatus *ReturnStatus=NULL) |
| Sets the level of the subdiv object.
|
|
| bool | isValid (MStatus *ReturnStatus=NULL) const |
| Checks if the iterator is valid. |
|
| MUint64 | index (MStatus *ReturnStatus=NULL) |
| Returns the index of the current vertex in
the vertex list for this subdiv object. |
|
Static Public Member Functions |
|
| static const char * | className () |
| Returns the name of this class. |
|
| MItSubdVertex | ( | MObject & | subdObject, |
| MStatus * | ReturnStatus =
NULL |
||
| ) |
Constructor.
Creates an iterator for all vertices of the given subdiv surface.
| [in] | subdObject | The subd surface to iterate over |
| [out] | ReturnStatus | Status code |
| ~MItSubdVertex | ( | ) | [virtual] |
Destructor.
Frees up storage used by the iterator.
| bool isDone | ( | MStatus * | ReturnStatus =
NULL |
) |
Indicates if all of the vertices have been traversed yet.
| [out] | ReturnStatus | Status code |
| MStatus next | ( | ) |
Advance to the next vertex in the iteration.
| MStatus reset | ( | ) |
Reset the iterator to the first vertex.
| int level | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Returns the level of the subdiv object.
| [out] | ReturnStatus | Status code |
| void setLevel | ( | int | level, |
| MStatus * | ReturnStatus =
NULL |
||
| ) |
Sets the level of the subdiv object.
| [in] | level | Level of the subdiv |
| [out] | ReturnStatus | Status code |
| bool isValid | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Checks if the iterator is valid.
| [out] | ReturnStatus | Status code |
| MUint64 index | ( | MStatus * | ReturnStatus =
NULL |
) |
Returns the index of the current vertex in the vertex list for this subdiv object.
| [out] | ReturnStatus | Status code |
| const char * className | ( | ) | [static] |