Subdiv vertex iterator.
More...
#include <MItSubdVertex.h>
Subdiv vertex iterator.
This class is the iterator for subdiv vertices.
Constructor.
Creates an iterator for all vertices of the given subdiv surface.
- Parameters
-
[in] | subdObject | The subd surface to iterate over |
[out] | ReturnStatus | Status code |
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
Destructor.
Frees up storage used by the iterator.
bool isDone |
( |
MStatus * |
ReturnStatus = NULL | ) |
|
Indicates if all of the vertices have been traversed yet.
- Parameters
-
[out] | ReturnStatus | Status code |
- Returns
- true All vertices have been traversed
- false There are more vertices in the iteration
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
Advance to the next vertex in the iteration.
- Returns
- Status code
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
Reset the iterator to the first vertex.
- Returns
- Status code
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
int level |
( |
MStatus * |
ReturnStatus = NULL | ) |
const |
Returns the level of the subdiv object.
- Parameters
-
[out] | ReturnStatus | Status code |
- Returns
- The level.
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
void setLevel |
( |
int |
level, |
|
|
MStatus * |
ReturnStatus = NULL |
|
) |
| |
Sets the level of the subdiv object.
- Parameters
-
[in] | level | Level of the subdiv |
[out] | ReturnStatus | Status code |
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
bool isValid |
( |
MStatus * |
ReturnStatus = NULL | ) |
const |
Checks if the iterator is valid.
- Parameters
-
[out] | ReturnStatus | Status code |
- Returns
- Boolean to indicate whether the iterator is valid or not.
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
MUint64 index |
( |
MStatus * |
ReturnStatus = NULL | ) |
|
Returns the index of the current vertex in the vertex list for this subdiv object.
- Parameters
-
[out] | ReturnStatus | Status code |
- Returns
- The index in the vertex list for the current vertex
- Status Codes:
- MS::kSuccess The method was successful.
- MS::kFailure An object error has occurred.
const char * className |
( |
| ) |
|
|
static |
Returns the name of this class.
- Returns
- The name of this class.
The documentation for this class was generated from the following files:
- MItSubdVertex.h
- MItSubdVertex.cpp