Shapeworks Studio  2.1
Shape analysis software suite
List of all members | Public Member Functions
Mesh Class Reference

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)
 

Detailed Description

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.

Definition at line 23 of file Mesh.h.


The documentation for this class was generated from the following files: