![]() |
Shapeworks Studio
2.1
Shape analysis software suite
|
Representation of a single mesh. More...
#include <Mesh.h>
Public Member Functions | |
| Mesh () | |
| Constructor. | |
| ~Mesh () | |
| Destructor. | |
| ImageType::Pointer | create_from_file (std::string filename, double iso_value) |
| Create a mesh from an image. | |
| void | create_from_image (ImageType::Pointer img, double iso_value) |
| QString | get_dimension_string () |
| Get the dimensions as a string for display (if loaded from an image) | |
| vtkSmartPointer< vtkPolyData > | get_poly_data () |
| Get the mesh polydata. | |
| vnl_vector< double > | get_center_transform () |
| Get the center transform. | |
| void | set_poly_data (vtkSmartPointer< vtkPolyData > poly_data) |
Representation of a single mesh.
The Mesh class represents a single mesh generated from an image file. It is responsible for loading the image and generating a mesh from it.
1.8.11