OMToolkit
1.0
The polygonal mesh processing tool.
|
#include <DecimateMesh.h>
Public Member Functions | |
MDS_SHAREDPTR (OMDecimateMesh) | |
OMDecimateMesh (const std::string &sDescription) | |
virtual | ~OMDecimateMesh () |
Protected Member Functions | |
virtual bool | startup () |
virtual bool | main () |
virtual void | shutdown () |
virtual void | writeExtendedUsage (std::ostream &Stream) |
Protected Attributes | |
std::string | m_collapse_metrics |
double | m_minimum_roundness |
double | m_max_error |
double | m_max_norm_dev |
int | m_max_collapses |
int | m_max_vertices |
bool | m_independent_sets |
Module reads a mesh, decimates it and writes it into output mesh Uses methods implemented in OpenMesh, possible collapse metrics are:
OMDecimateMesh::OMDecimateMesh | ( | const std::string & | sDescription | ) |
Constructor
sDescription | Description of the module |
|
virtual |
Virtual destructor
|
protectedvirtual |
Virtual method called by the processing thread
OMDecimateMesh::MDS_SHAREDPTR | ( | OMDecimateMesh | ) |
Smart pointer type
|
protectedvirtual |
Called on console shutdown
|
protectedvirtual |
Virtual method called on startup
|
protectedvirtual |
Called on writing a usage statement
Stream | Output stream |
|
protected |
Used collapse metrics
|
protected |
Use collapsed vertex locking
|
protected |
Number of collapses
|
protected |
Maximum error (error quadric)
|
protected |
Maximum normal deviation (normal deviation)
|
protected |
Number of vertices
|
protected |
Minimum roudness (roudness collapse)