Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound 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 SetMemoryLimitInBytes (int)
virtual int GetMemoryLimitInBytes ()
virtual void SetSpacing (float, float, float)
virtual void SetSpacing (float[3])
virtual float * GetSpacing ()
virtual void GetSpacing (float data[3])

Static Public Methods

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

Protected Methods

 vtkVoxelContoursToSurfaceFilter ()
 ~vtkVoxelContoursToSurfaceFilter ()
 vtkVoxelContoursToSurfaceFilter (const vtkVoxelContoursToSurfaceFilter &)
void operator= (const 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:
2000/12/10 20:09:00
Revision:
1.12

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
Examples:
vtkVoxelContoursToSurfaceFilter (examples)


Member Function Documentation

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.

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.

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.

vtkVoxelContoursToSurfaceFilter* vtkVoxelContoursToSurfaceFilter::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

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.

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.

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.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:34:55 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002