#include <MItSubdEdge.h>
This class is the iterator for subdiv edges.
Public Member Functions | |
| MItSubdEdge (MObject &subdObject, MStatus *ReturnStatus=NULL) | |
| virtual | ~MItSubdEdge () |
| MStatus | reset () |
| MStatus | next () |
| bool | isDone (MStatus *ReturnStatus=NULL) |
| bool | isValid (MStatus *ReturnStatus=NULL) const |
| int | level (MStatus *ReturnStatus=NULL) const |
| void | setLevel (int level, MStatus *ReturnStatus=NULL) |
| MUint64 | index (MStatus *ReturnStatus=NULL) |
| bool | isSharp (MStatus *ReturnStatus=NULL) |
| void | setSharpness (bool sharp, MStatus *ReturnStatus=NULL) |
| bool | isBoundary (MStatus *ReturnStatus=NULL) |
Constructor. Creates an iterator for all edges of the given subdiv surface.
| [in] | subdObject | The surface to iterate over |
| [out] | ReturnStatus | Status code |
| MItSubdEdge::~MItSubdEdge | ( | ) | [virtual] |
Destructor. Frees up storage used by the iterator.
| MStatus MItSubdEdge::reset | ( | ) |
Reset the iterator to the first edge.
| MStatus MItSubdEdge::next | ( | ) |
Advance to the next edge in the iteration.
| bool MItSubdEdge::isDone | ( | MStatus * | ReturnStatus = NULL |
) |
Indicates if all of the edges have been traversed yet.
| [out] | ReturnStatus | Status code |
| bool MItSubdEdge::isValid | ( | MStatus * | ReturnStatus = NULL |
) | const |
Checks if the iterator is valid.
| [out] | ReturnStatus | Status code |
| int MItSubdEdge::level | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the level of the subdiv object.
| [out] | ReturnStatus | Status code |
| void MItSubdEdge::setLevel | ( | int | level, | |
| MStatus * | ReturnStatus = NULL | |||
| ) |
Sets the level of the subdiv object
| [in] | level | Level of the subdiv |
| [out] | ReturnStatus | Status code |
| MUint64 MItSubdEdge::index | ( | MStatus * | ReturnStatus = NULL |
) |
Returns the index of the current edge in the edge list for this subdiv object.
| [out] | ReturnStatus | Status code |
| bool MItSubdEdge::isSharp | ( | MStatus * | ReturnStatus = NULL |
) |
Returns true if the edge is sharp.
| [out] | ReturnStatus | Status code |
| void MItSubdEdge::setSharpness | ( | bool | sharp, | |
| MStatus * | ReturnStatus = NULL | |||
| ) |
Marks the edge as sharp.
| [in] | sharp | Boolean to mark the edge as sharp or not |
| [out] | ReturnStatus | Status code |
| bool MItSubdEdge::isBoundary | ( | MStatus * | ReturnStatus = NULL |
) |
Checks if the edge is a boundary.
| [out] | ReturnStatus | Status code |
| Autodesk® Maya® 2010 © 1997-2009 Autodesk, Inc. All rights reserved. |
Generated with
|