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

vtkDividingCubes Class Reference

create points lying on isosurface. More...

#include <vtkDividingCubes.h>

Inheritance diagram for vtkDividingCubes:

Inheritance graph
[legend]
Collaboration diagram for vtkDividingCubes:

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

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

Protected Methods

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

Protected Attributes

float Value
float Distance
int Increment
int Count
vtkIdListSubVoxelPts
vtkVoxelSubVoxel
vtkScalarsSubVoxelScalars
vtkNormalsSubVoxelNormals

Detailed Description

create points lying on isosurface.

Date:
2000/12/10 20:09:15
Revision:
1.38

vtkDividingCubes 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 filter is based on the generate program written by H. Cline, S. Ludke and W. Lorensen.

The density of the point cloud is controlled by the Distance instance variable. This is a distance value in global coordinates specifying the approximate distance between points.

Examples:
vtkDividingCubes (examples)


Member Function Documentation

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

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

int vtkDividingCubes::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.

vtkDividingCubes* vtkDividingCubes::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

void vtkDividingCubes::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.

vtkDividingCubes* vtkDividingCubes::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.

virtual void vtkDividingCubes::SetDistance float    [virtual]
 

Specify sub-voxel size at which to generate point.

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

Set isosurface value.


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