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

vtkRecursiveDividingCubes Class Reference

create points lying on isosurface (using recursive approach). More...

#include <vtkRecursiveDividingCubes.h>

Inheritance diagram for vtkRecursiveDividingCubes:

Inheritance graph
[legend]
Collaboration diagram for vtkRecursiveDividingCubes:

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 SetValue (float)
virtual float GetValue ()
virtual void SetDistance (float)
virtual float GetDistance ()
virtual void SetIncrement (int)
virtual int GetIncrement ()

Static Public Methods

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

Protected Methods

 vtkRecursiveDividingCubes ()
 ~vtkRecursiveDividingCubes ()
 vtkRecursiveDividingCubes (const vtkRecursiveDividingCubes &)
void operator= (const vtkRecursiveDividingCubes &)
void Execute ()
void SubDivide (float origin[3], float h[3], float values[8])

Protected Attributes

float Value
float Distance
int Increment
int Count
vtkVoxelVoxel

Detailed Description

create points lying on isosurface (using recursive approach).

Date:
2000/12/10 20:08:50
Revision:
1.30

vtkRecursiveDividingCubes is a filter that generates points lying on a surface of constant scalar value (i.e., an isosurface). Dense point clouds (i.e., at screen resolution) will appear as a surface. Less dense clouds can be used as a source to generate streamlines or to generate "transparent" surfaces.

This implementation differs from vtkDividingCubes in that it uses a recursive procedure. In many cases this can result in generating more points than the procedural implementation of vtkDividingCubes. This is because the recursive procedure divides voxels by multiples of powers of two. This can over-constrain subdivision. One of the advantages of the recursive technique is that the recursion is terminated earlier, which in some cases can be more efficient.

See also:
vtkDividingCubes vtkContourFilter vtkMarchingCubes
Examples:
vtkRecursiveDividingCubes (examples)

Definition at line 71 of file vtkRecursiveDividingCubes.h.


Constructor & Destructor Documentation

vtkRecursiveDividingCubes::vtkRecursiveDividingCubes   [protected]
 

vtkRecursiveDividingCubes::~vtkRecursiveDividingCubes   [protected]
 

vtkRecursiveDividingCubes::vtkRecursiveDividingCubes const vtkRecursiveDividingCubes &    [inline, protected]
 

Definition at line 95 of file vtkRecursiveDividingCubes.h.


Member Function Documentation

vtkRecursiveDividingCubes* vtkRecursiveDividingCubes::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

virtual const char* vtkRecursiveDividingCubes::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 vtkStructuredPointsToPolyDataFilter.

int vtkRecursiveDividingCubes::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 vtkStructuredPointsToPolyDataFilter.

virtual int vtkRecursiveDividingCubes::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 vtkStructuredPointsToPolyDataFilter.

vtkRecursiveDividingCubes* vtkRecursiveDividingCubes::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 vtkStructuredPointsToPolyDataFilter.

void vtkRecursiveDividingCubes::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 vtkRecursiveDividingCubes::SetValue float    [virtual]
 

Set isosurface value.

virtual float vtkRecursiveDividingCubes::GetValue   [virtual]
 

virtual void vtkRecursiveDividingCubes::SetDistance float    [virtual]
 

Specify sub-voxel size at which to generate point.

virtual float vtkRecursiveDividingCubes::GetDistance   [virtual]
 

virtual void vtkRecursiveDividingCubes::SetIncrement int    [virtual]
 

Every "Increment" point is added to the list of points. This parameter, if set to a large value, can be used to limit the number of points while retaining good accuracy.

virtual int vtkRecursiveDividingCubes::GetIncrement   [virtual]
 

void vtkRecursiveDividingCubes::operator= const vtkRecursiveDividingCubes &    [inline, protected]
 

Definition at line 96 of file vtkRecursiveDividingCubes.h.

void vtkRecursiveDividingCubes::Execute   [protected, virtual]
 

Reimplemented from vtkSource.

void vtkRecursiveDividingCubes::SubDivide float    origin[3],
float    h[3],
float    values[8]
[protected]
 


Member Data Documentation

float vtkRecursiveDividingCubes::Value [protected]
 

Definition at line 101 of file vtkRecursiveDividingCubes.h.

float vtkRecursiveDividingCubes::Distance [protected]
 

Definition at line 102 of file vtkRecursiveDividingCubes.h.

int vtkRecursiveDividingCubes::Increment [protected]
 

Definition at line 103 of file vtkRecursiveDividingCubes.h.

int vtkRecursiveDividingCubes::Count [protected]
 

Definition at line 106 of file vtkRecursiveDividingCubes.h.

vtkVoxel* vtkRecursiveDividingCubes::Voxel [protected]
 

Definition at line 109 of file vtkRecursiveDividingCubes.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:58:35 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001