#include <ClusterMesh.h>
Inheritance diagram for ClusterMesh:


Public Member Functions | |
| ClusterMesh () | |
| default constructor | |
| bool | readFile (const char *filename) |
| open a file and precomputer all attributes | |
| void | assignRandomCluster (int n) |
| void | removeCluster () |
| void | computeBoundingBox () |
| void | computeFaceCenter () |
| void | computeDualEdgeLength () |
| void | computeEdgeAngle () |
| void | computeEdgeCost () |
| virtual const std::string | name () |
| Return the name of this Surface. | |
| virtual void | resetObjectName () |
| Sets the name of the object to a unique 'default' name. | |
Public Attributes | |
| ClusterOpenMesh | mesh |
| ClusterOpenMesh::Point | bbox_min |
| bounding box corners | |
| ClusterOpenMesh::Point | bbox_max |
| bounding box corners | |
Static Public Attributes | |
| std::string | registry_name = "ClusterMesh" |
| naming convention | |
|
|
default constructor
Definition at line 14 of file ClusterMesh.cpp. |
|
|
Definition at line 43 of file ClusterMesh.cpp. References mesh. |
|
|
Definition at line 62 of file ClusterMesh.cpp. References bbox_max, bbox_min, and mesh. Referenced by readFile(). |
|
|
Definition at line 96 of file ClusterMesh.cpp. References mesh. Referenced by readFile(). |
|
|
Definition at line 115 of file ClusterMesh.cpp. References mesh. Referenced by readFile(). |
|
|
Definition at line 133 of file ClusterMesh.cpp. References mesh. Referenced by readFile(). |
|
|
Definition at line 83 of file ClusterMesh.cpp. References mesh. Referenced by readFile(). |
|
|
Return the name of this Surface. Since Surface does not define registry_name in Surface.cpp, it returns NULL. This should be the case for all abstract classes.
Reimplemented from Surface. Definition at line 46 of file ClusterMesh.h. References registry_name. Referenced by resetObjectName(). |
|
|
open a file and precomputer all attributes
Definition at line 19 of file ClusterMesh.cpp. References computeBoundingBox(), computeDualEdgeLength(), computeEdgeAngle(), computeEdgeCost(), computeFaceCenter(), mesh, and removeCluster(). |
|
|
Definition at line 53 of file ClusterMesh.cpp. References mesh. Referenced by ClusterMeshInterrogator::cleanup(), and readFile(). |
|
|
Sets the name of the object to a unique 'default' name.
Reimplemented from Surface. Definition at line 50 of file ClusterMesh.h. References name(), Surface::objectName, and Surface::objectNumber. |
|
|
bounding box corners
Definition at line 21 of file ClusterMesh.h. Referenced by computeBoundingBox(). |
|
|
bounding box corners
Definition at line 21 of file ClusterMesh.h. Referenced by computeBoundingBox(). |
|
|
Definition at line 18 of file ClusterMesh.h. Referenced by assignRandomCluster(), ClusterMeshInterrogator::cleanup(), computeBoundingBox(), computeDualEdgeLength(), computeEdgeAngle(), computeEdgeCost(), computeFaceCenter(), ParticleShaderCluster::draw(), readFile(), and removeCluster(). |
|
|
naming convention
Reimplemented from Surface. Definition at line 12 of file ClusterMesh.cpp. Referenced by name(). |
1.3.4