Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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 Methods

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

Static Public Methods

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

Protected Methods

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

Protected Attributes

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

Detailed Description

create surface from contours.

Date:
2001/11/13 14:13:50
Revision:
1.16

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

Definition at line 78 of file vtkVoxelContoursToSurfaceFilter.h.


Constructor & Destructor Documentation

vtkVoxelContoursToSurfaceFilter::vtkVoxelContoursToSurfaceFilter   [protected]
 

vtkVoxelContoursToSurfaceFilter::~vtkVoxelContoursToSurfaceFilter   [protected]
 


Member Function Documentation

vtkVoxelContoursToSurfaceFilter* vtkVoxelContoursToSurfaceFilter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkVoxelContoursToSurfaceFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

vtkVoxelContoursToSurfaceFilter* vtkVoxelContoursToSurfaceFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

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 vtkSource.

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]
 

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 float   ,
float   ,
float   
[virtual]
 

virtual void vtkVoxelContoursToSurfaceFilter::SetSpacing float   [3] [virtual]
 

virtual float* vtkVoxelContoursToSurfaceFilter::GetSpacing   [virtual]
 

virtual void vtkVoxelContoursToSurfaceFilter::GetSpacing float    data[3] [virtual]
 

void vtkVoxelContoursToSurfaceFilter::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

void vtkVoxelContoursToSurfaceFilter::AddLineToLineList float    x1,
float    y1,
float    x2,
float    y2
[protected]
 

void vtkVoxelContoursToSurfaceFilter::SortLineList   [protected]
 

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

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


Member Data Documentation

int vtkVoxelContoursToSurfaceFilter::MemoryLimitInBytes [protected]
 

Definition at line 103 of file vtkVoxelContoursToSurfaceFilter.h.

float vtkVoxelContoursToSurfaceFilter::Spacing[3] [protected]
 

Definition at line 105 of file vtkVoxelContoursToSurfaceFilter.h.

float* vtkVoxelContoursToSurfaceFilter::LineList [protected]
 

Definition at line 107 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::LineListLength [protected]
 

Definition at line 108 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::LineListSize [protected]
 

Definition at line 109 of file vtkVoxelContoursToSurfaceFilter.h.

float* vtkVoxelContoursToSurfaceFilter::SortedXList [protected]
 

Definition at line 111 of file vtkVoxelContoursToSurfaceFilter.h.

float* vtkVoxelContoursToSurfaceFilter::SortedYList [protected]
 

Definition at line 112 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::SortedListSize [protected]
 

Definition at line 113 of file vtkVoxelContoursToSurfaceFilter.h.

int* vtkVoxelContoursToSurfaceFilter::WorkingList [protected]
 

Definition at line 115 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::WorkingListLength [protected]
 

Definition at line 116 of file vtkVoxelContoursToSurfaceFilter.h.

float* vtkVoxelContoursToSurfaceFilter::IntersectionList [protected]
 

Definition at line 118 of file vtkVoxelContoursToSurfaceFilter.h.

int vtkVoxelContoursToSurfaceFilter::IntersectionListLength [protected]
 

Definition at line 119 of file vtkVoxelContoursToSurfaceFilter.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:46:46 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001