Rhino C++ API
8.13
|
#include <rhinoSdkMeshUtilities.h>
Public Member Functions | |
RhinoReduceMeshParameters () | |
Constructs new reduce mesh parameters with default values. More... | |
Public Attributes | |
bool | m_bAllowDistortion |
If true mesh appearance is not changed even if the target polygon count is not reached. More... | |
bool | m_bNormalizeMeshSize |
If true mesh is fitted to an axis aligned unit cube until reduction is complete. More... | |
int | m_iAccuracy |
int | m_iDesiredPolygonCount |
Target polygon count. More... | |
ON_Terminator * | m_pCancelHandler |
Null or a pointer to an ON_Terminator object. Provides a custom way to handle cancelling. More... | |
ON_SimpleArray< int > * | m_pFaceTagArray |
ON_SimpleArray< ON_COMPONENT_INDEX > * | m_pLockedComponents |
ON_ProgressReporter * | m_pProgressReporter |
Null or a pointer to an ON_ProgressReporter object. Provides custom progress information to caller. More... | |
ON_wString | m_sProblemOut |
Reports possible problems. More... | |
Description: Set of parameters for RhinoReduceMesh function.
RhinoReduceMeshParameters::RhinoReduceMeshParameters | ( | ) |
Constructs new reduce mesh parameters with default values.
bool RhinoReduceMeshParameters::m_bAllowDistortion |
If true mesh appearance is not changed even if the target polygon count is not reached.
bool RhinoReduceMeshParameters::m_bNormalizeMeshSize |
If true mesh is fitted to an axis aligned unit cube until reduction is complete.
int RhinoReduceMeshParameters::m_iAccuracy |
Integer from 1 to 10 telling how accurate reduction algorithm to use. Greater number gives more accurate results.
int RhinoReduceMeshParameters::m_iDesiredPolygonCount |
Target polygon count.
ON_Terminator* RhinoReduceMeshParameters::m_pCancelHandler |
Null or a pointer to an ON_Terminator object. Provides a custom way to handle cancelling.
ON_SimpleArray<int>* RhinoReduceMeshParameters::m_pFaceTagArray |
Null or a pointer to an ON_SimpleArray<int> object with element count equal to mesh face count. Each element is a user defined tag for the mesh face with the same index.Can be used to identify mesh faces before and after calling RhinoReduceMesh.
ON_SimpleArray<ON_COMPONENT_INDEX>* RhinoReduceMeshParameters::m_pLockedComponents |
Null or a pointer to an ON_SimpleArray<ON_COMPONENT_INDEX> object containing components of type ON_COMPONENT_INDEX::meshtop_vertex and ON_COMPONENT_INDEX::mesh_vertex. Vertices listed here are not moved or deleted in reduction process. Each mesh_vertex will lock the corresponding meshtop_vertex. In other words it is not possible to have a locked and non-locked mesh vertex at the same location.
ON_ProgressReporter* RhinoReduceMeshParameters::m_pProgressReporter |
Null or a pointer to an ON_ProgressReporter object. Provides custom progress information to caller.
ON_wString RhinoReduceMeshParameters::m_sProblemOut |
Reports possible problems.