#include <subdivision.h>
Inheritance diagram for mudbox::SubdivisionLevel:

Public Member Functions |
|
| virtual const mudbox::ClassDesc * | RuntimeClass (void) const |
| virtual class Geometry * | Geometry (void) const |
| Returns the geometry that this mesh belongs
to. |
|
| virtual SubdivisionLevel * | NextLevel (void) |
| Returns the next (one detail higher) level.
|
|
| virtual SubdivisionLevel * | PrevLevel (void) |
| Returns the previous (one detail lower)
level. |
|
| virtual unsigned int | Index (void) const |
| Returns the index in the level list of the
geometry. |
|
| virtual unsigned int | TotalFaceCount (void) const |
| Returns the maximum reachable face count on
the level. Equals to the total face count of the previous level *
4. |
|
| virtual SubdivisionLevel * | Subdivide (bool bProcessUV=true) |
| Subdivides the level to a higher detail.
|
|
| virtual void | CopyTo (SubdivisionLevel *pDestination) const |
| Copy the content of this SubdivisionLevel to
another one. |
|
| virtual void | ApplyChanges (void) |
| Updates the previous level with all the
changes on the current level. |
|
| virtual void | RecreateUVs (bool bForced=false) |
| Creates the UV layout if not exists or
recreates if forced. |
|
| virtual void | CheckMeshGrid (unsigned int iBaseFaceIndex, unsigned int iLevel) const |
| virtual void | ConvertToRelative () |
| virtual void | ConvertToAbsolute () |
Static Public Member Functions |
|
| const mudbox::ClassDesc * | StaticClass (void) |
| mudbox::Node * | CreateInstances (unsigned int iCount=1) |
| void | SetUVCreation (bool bCreateUV) |
| const Store< unsigned int > & | QuadIndexTable (unsigned int iLevel) |
| const Store< unsigned int > & | QuadVertexIndexTable (unsigned int iLevel) |
| const Store< unsigned int > & | InvertedQuadIndexTable (unsigned int iLevel) |
Protected Member Functions |
|
| SubdivisionLevel (FaceType eFaceType=typeQuadric) | |
| Do not use constructors directly. Use
CreateInstances()
instead. |
|
|
|
Do not use constructors directly. Use CreateInstances() instead. |
|
|
Reimplemented from mudbox::Mesh. 00025 : |
|
|
Reimplemented from mudbox::Mesh. |
|
|
Reimplemented from mudbox::Mesh. |
|
|
Returns the geometry that this mesh belongs to. Reimplemented from mudbox::Mesh. |
|
|
Returns the next (one detail higher) level. |
|
|
Returns the previous (one detail lower) level. |
|
|
Returns the index in the level list of the geometry. |
|
|
Returns the maximum reachable face count on the level. Equals to the total face count of the previous level * 4. |
|
|
Subdivides the level to a higher detail. |
|
|
Copy the content of this SubdivisionLevel to another one. |
|
|
Updates the previous level with all the changes on the current level. |
|
|
Creates the UV layout if not exists or recreates if forced. The calculation is based on the uv layout of the previous level; if it does not exist it will be created recursively down to level0. If level 0 has no UV the funcion does nothing. |
|
|
|
|
|
||||||||||||
|
|