Renamed some traits
This commit is contained in:
@@ -84,13 +84,13 @@
|
||||
|
||||
using namespace OpenMesh;
|
||||
|
||||
struct MyTraits : public DEFAULT_TRAITS
|
||||
struct MyDecimaterViewerWidgetTraits : public DEFAULT_TRAITS
|
||||
{
|
||||
VertexAttributes ( Attributes::Normal );
|
||||
FaceAttributes ( Attributes::Normal );
|
||||
};
|
||||
|
||||
typedef TRIMESH_KERNEL<MyTraits> mesh_t;
|
||||
typedef TRIMESH_KERNEL<MyDecimaterViewerWidgetTraits> mesh_t;
|
||||
typedef MeshViewerWidgetT<mesh_t> MeshViewerWidgetDecimaterBase;
|
||||
|
||||
//== CLASS DEFINITION =========================================================
|
||||
|
||||
@@ -54,7 +54,7 @@ using namespace OpenMesh;
|
||||
using namespace Smoother;
|
||||
|
||||
|
||||
struct MyTraits : public OpenMesh::DefaultTraits
|
||||
struct MySmoothingTraits : public OpenMesh::DefaultTraits
|
||||
{
|
||||
#if 1
|
||||
typedef OpenMesh::Vec3f Point;
|
||||
@@ -65,7 +65,7 @@ struct MyTraits : public OpenMesh::DefaultTraits
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef OpenMesh::TriMesh_ArrayKernelT<MyTraits> MyMesh;
|
||||
typedef OpenMesh::TriMesh_ArrayKernelT<MySmoothingTraits> MyMesh;
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <OpenMesh/Tools/Utils/getopt.h>
|
||||
|
||||
|
||||
struct MyTraits : public OpenMesh::DefaultTraits
|
||||
struct MyMConvertTraits : public OpenMesh::DefaultTraits
|
||||
{
|
||||
VertexAttributes ( OpenMesh::Attributes::Normal |
|
||||
OpenMesh::Attributes::Color |
|
||||
@@ -64,7 +64,7 @@ struct MyTraits : public OpenMesh::DefaultTraits
|
||||
};
|
||||
|
||||
|
||||
typedef OpenMesh::TriMesh_ArrayKernelT<MyTraits> MyMesh;
|
||||
typedef OpenMesh::TriMesh_ArrayKernelT<MyMConvertTraits> MyMesh;
|
||||
|
||||
void usage_and_exit(int xcode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user