Chaste
Build::
|
#include <ImageToSurface.hpp>
Public Member Functions | |
void | SetInput (vtkSmartPointer< vtkImageData > pImage) |
void | SetInputRaw (vtkImageData *pImage) |
void | SetThreshold (double threshold, bool segmentAboveThreshold) |
void | SetUseMarchingCubes (bool useMarchingCubes) |
void | Update () |
vtkSmartPointer< vtkPolyData > | GetOutput () |
Static Public Member Functions | |
static boost::shared_ptr< ImageToSurface > | Create () |
Private Attributes | |
vtkSmartPointer< vtkImageData > | mpImage |
bool | mSegmentAboveThreshold |
double | mThreshold |
vtkSmartPointer< vtkPolyData > | mpSurface |
bool | mUseMarchingCubes |
Extract a vtkpolydata surface from an image using thresholding. If marching cubes are used the result is an isosurface on the 'threshold' value. Otherwise the surface is composed of all regions either above or below the threshold value. Surfaces may need 'cleaning' before further processing. This can be done with a 'SurfaceCleaner'.
Definition at line 50 of file ImageToSurface.hpp.
|
private |
The image
Definition at line 55 of file ImageToSurface.hpp.