VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkVoxelContoursToSurfaceFilter Class Reference

create surface from contours More...

#include <vtkVoxelContoursToSurfaceFilter.h>

Inheritance diagram for vtkVoxelContoursToSurfaceFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkVoxelContoursToSurfaceFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

static
vtkVoxelContoursToSurfaceFilter
New ()
static int IsTypeOf (const char *type)
static
vtkVoxelContoursToSurfaceFilter
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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]
doubleLineList
int LineListLength
int LineListSize
doubleSortedXList
doubleSortedYList
int SortedListSize
intWorkingList
int WorkingListLength
doubleIntersectionList
int IntersectionListLength

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:
vtkPolyDataAlgorithm
Tests:
vtkVoxelContoursToSurfaceFilter (Tests)

Definition at line 51 of file vtkVoxelContoursToSurfaceFilter.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 55 of file vtkVoxelContoursToSurfaceFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkVoxelContoursToSurfaceFilter::IsTypeOf ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkVoxelContoursToSurfaceFilter::IsA ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkVoxelContoursToSurfaceFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

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.

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.

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 void vtkVoxelContoursToSurfaceFilter::SetSpacing ( double  ,
double  ,
double   
) [virtual]
virtual void vtkVoxelContoursToSurfaceFilter::SetSpacing ( double  [3]) [virtual]
virtual void vtkVoxelContoursToSurfaceFilter::GetSpacing ( double  data[3]) [virtual]
int vtkVoxelContoursToSurfaceFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [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 
) [protected]
void vtkVoxelContoursToSurfaceFilter::CastLines ( float slice,
double  gridOrigin[3],
int  gridSize[3],
int  type 
) [protected]
void vtkVoxelContoursToSurfaceFilter::PushDistances ( float ptr,
int  gridSize[3],
int  chunkSize 
) [protected]

Member Data Documentation

Definition at line 76 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 78 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 80 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 81 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 82 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 84 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 85 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 86 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 88 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 89 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 91 of file vtkVoxelContoursToSurfaceFilter.h.

Definition at line 92 of file vtkVoxelContoursToSurfaceFilter.h.


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