Chaste  Build::
ImageToSurface Class Reference

#include <ImageToSurface.hpp>

+ Collaboration diagram for ImageToSurface:

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< ImageToSurfaceCreate ()
 

Private Attributes

vtkSmartPointer< vtkImageData > mpImage
 
bool mSegmentAboveThreshold
 
double mThreshold
 
vtkSmartPointer< vtkPolyData > mpSurface
 
bool mUseMarchingCubes
 

Detailed Description

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.

Member Data Documentation

vtkSmartPointer<vtkImageData> ImageToSurface::mpImage
private

The image

Definition at line 55 of file ImageToSurface.hpp.


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