Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkVoxelContoursToSurfaceFilter Class Reference

#include <vtkVoxelContoursToSurfaceFilter.h>

Inheritance diagram for vtkVoxelContoursToSurfaceFilter:

Inheritance graph
Collaboration diagram for vtkVoxelContoursToSurfaceFilter:

Collaboration graph
List of all members.

Detailed Description

create surface from contours

vtkVoxelContoursToSurfaceFilter is a filter that takes contours and produces surfaces. There are some restrictions for the contours:

This filter takes the contours and produces a structured points dataset of signed floating point number indicating distance from a contour. A contouring filter is then applied to generate 3D surfaces from a stack of 2D contour distance slices. This is done in a streaming fashion so as not to use to much memory.

See also:
vtkVoxelContoursToSurfaceFilter (Tests)

Definition at line 50 of file vtkVoxelContoursToSurfaceFilter.h.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void SetSpacing (double, double, double)
virtual void SetSpacing (double[3])
virtual double * GetSpacing ()
virtual void GetSpacing (double data[3])
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetMemoryLimitInBytes (int)
virtual int GetMemoryLimitInBytes ()

Static Public Member Functions

static vtkVoxelContoursToSurfaceFilterNew ()
static int IsTypeOf (const char *type)
static vtkVoxelContoursToSurfaceFilterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkVoxelContoursToSurfaceFilter ()
 ~vtkVoxelContoursToSurfaceFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void AddLineToLineList (double x1, double y1, double x2, double y2)
void SortLineList ()
void CastLines (float *slice, double gridOrigin[3], int gridSize[3], int type)
void PushDistances (float *ptr, int gridSize[3], int chunkSize)

Protected Attributes

int MemoryLimitInBytes
double Spacing [3]
double * LineList
int LineListLength
int LineListSize
double * SortedXList
double * SortedYList
int SortedListSize
int * WorkingList
int WorkingListLength
double * IntersectionList
int IntersectionListLength

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkVoxelContoursToSurfaceFilter::Superclass

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 54 of file vtkVoxelContoursToSurfaceFilter.h.

Constructor & Destructor Documentation

vtkVoxelContoursToSurfaceFilter::vtkVoxelContoursToSurfaceFilter  )  [protected]

vtkVoxelContoursToSurfaceFilter::~vtkVoxelContoursToSurfaceFilter  )  [protected]

Member Function Documentation

static vtkVoxelContoursToSurfaceFilter* vtkVoxelContoursToSurfaceFilter::New  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkVoxelContoursToSurfaceFilter::GetClassName  )  [virtual]

Reimplemented from vtkPolyDataAlgorithm.

static int vtkVoxelContoursToSurfaceFilter::IsTypeOf const char *  type  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkVoxelContoursToSurfaceFilter::IsA const char *  type  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

static vtkVoxelContoursToSurfaceFilter* vtkVoxelContoursToSurfaceFilter::SafeDownCast vtkObject o  )  [static]

Reimplemented from vtkPolyDataAlgorithm.

void vtkVoxelContoursToSurfaceFilter::PrintSelf ostream &  os,
vtkIndent  indent

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPolyDataAlgorithm.

virtual void vtkVoxelContoursToSurfaceFilter::SetMemoryLimitInBytes int   )  [virtual]

Set / Get the memory limit in bytes for this filter. This is the limit of the size of the structured points data set that is created for intermediate processing. The data will be streamed through this volume in as many pieces as necessary.

virtual int vtkVoxelContoursToSurfaceFilter::GetMemoryLimitInBytes  )  [virtual]

virtual void vtkVoxelContoursToSurfaceFilter::SetSpacing double  ,
double  ,

virtual void vtkVoxelContoursToSurfaceFilter::SetSpacing double  [3]  )  [virtual]

virtual double* vtkVoxelContoursToSurfaceFilter::GetSpacing  )  [virtual]

virtual void vtkVoxelContoursToSurfaceFilter::GetSpacing double  data[3]  )  [virtual]

int vtkVoxelContoursToSurfaceFilter::RequestData vtkInformation ,
vtkInformationVector **  ,
[protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

void vtkVoxelContoursToSurfaceFilter::AddLineToLineList double  x1,
double  y1,
double  x2,
double  y2

void vtkVoxelContoursToSurfaceFilter::SortLineList  )  [protected]

void vtkVoxelContoursToSurfaceFilter::CastLines float *  slice,
double  gridOrigin[3],
int  gridSize[3],
int  type

void vtkVoxelContoursToSurfaceFilter::PushDistances float *  ptr,
int  gridSize[3],
int  chunkSize

Member Data Documentation

int vtkVoxelContoursToSurfaceFilter::MemoryLimitInBytes [protected]

Definition at line 75 of file vtkVoxelContoursToSurfaceFilter.h.

double vtkVoxelContoursToSurfaceFilter::Spacing[3] [protected]

Definition at line 77 of file vtkVoxelContoursToSurfaceFilter.h.

double* vtkVoxelContoursToSurfaceFilter::LineList [protected]

Definition at line 79 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::LineListLength [protected]

Definition at line 80 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::LineListSize [protected]

Definition at line 81 of file vtkVoxelContoursToSurfaceFilter.h.

double* vtkVoxelContoursToSurfaceFilter::SortedXList [protected]

Definition at line 83 of file vtkVoxelContoursToSurfaceFilter.h.

double* vtkVoxelContoursToSurfaceFilter::SortedYList [protected]

Definition at line 84 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::SortedListSize [protected]

Definition at line 85 of file vtkVoxelContoursToSurfaceFilter.h.

int* vtkVoxelContoursToSurfaceFilter::WorkingList [protected]

Definition at line 87 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::WorkingListLength [protected]

Definition at line 88 of file vtkVoxelContoursToSurfaceFilter.h.

double* vtkVoxelContoursToSurfaceFilter::IntersectionList [protected]

Definition at line 90 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::IntersectionListLength [protected]

Definition at line 91 of file vtkVoxelContoursToSurfaceFilter.h.

The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:30:08 2008 for VTK by  doxygen 1.4.3-20050530