OMToolkit 1.0 The polygonal mesh processing tool.

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DecimateMesh.h
Go to the documentation of this file.
1 //==============================================================================
16 #ifndef _OM_DECIMATE_MESH_H_
17 #define _OM_DECIMATE_MESH_H_
18
19 #include <MDSTk/Module/mdsModule.h>
20
28 class OMDecimateMesh : public mds::mod::CModule
29 {
30 public:
34 MDS_SHAREDPTR(OMDecimateMesh);
35
40 OMDecimateMesh(const std::string& sDescription);
41
45 virtual ~OMDecimateMesh();
46
47 protected:
52 virtual bool startup();
53
58 virtual bool main();
59
63 virtual void shutdown();
64
69 virtual void writeExtendedUsage(std::ostream& Stream);
70
74 std::string m_collapse_metrics;
75
79 double m_minimum_roundness;
80
84 double m_max_error;
85
89 double m_max_norm_dev;
90
94 int m_max_collapses;
95
99 int m_max_vertices;
100
104 bool m_independent_sets;
105 };
106
110 typedef OMDecimateMesh::tSmartPtr OMDecimateMeshPtr;
111
112 #endif // _OM_DECIMATE_MESH_H_