Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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 ()
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
vtkFloatArraySubVoxelScalars
vtkFloatArraySubVoxelNormals

Detailed Description

create points lying on isosurface.

Date:
2001/12/17 15:42:37
Revision:
1.42.2.1

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.

Tests:
vtkDividingCubes (Tests)

Definition at line 81 of file vtkDividingCubes.h.


Constructor & Destructor Documentation

vtkDividingCubes::vtkDividingCubes   [protected]
 

vtkDividingCubes::~vtkDividingCubes   [protected]
 


Member Function Documentation

vtkDividingCubes* vtkDividingCubes::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

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.

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.

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.

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.

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.

virtual void vtkDividingCubes::SetValue float    [virtual]
 

Set isosurface value.

virtual float vtkDividingCubes::GetValue   [virtual]
 

Set isosurface value.

virtual void vtkDividingCubes::SetDistance float    [virtual]
 

Specify sub-voxel size at which to generate point.

virtual float vtkDividingCubes::GetDistance   [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 int vtkDividingCubes::GetIncrement   [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.

void vtkDividingCubes::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

void vtkDividingCubes::SubDivide float    origin[3],
int    dim[3],
float    h[3],
float    values[8]
[protected]
 


Member Data Documentation

float vtkDividingCubes::Value [protected]
 

Definition at line 115 of file vtkDividingCubes.h.

float vtkDividingCubes::Distance [protected]
 

Definition at line 116 of file vtkDividingCubes.h.

int vtkDividingCubes::Increment [protected]
 

Definition at line 117 of file vtkDividingCubes.h.

int vtkDividingCubes::Count [protected]
 

Definition at line 120 of file vtkDividingCubes.h.

vtkIdList* vtkDividingCubes::SubVoxelPts [protected]
 

Definition at line 122 of file vtkDividingCubes.h.

vtkVoxel* vtkDividingCubes::SubVoxel [protected]
 

Definition at line 123 of file vtkDividingCubes.h.

vtkFloatArray* vtkDividingCubes::SubVoxelScalars [protected]
 

Definition at line 124 of file vtkDividingCubes.h.

vtkFloatArray* vtkDividingCubes::SubVoxelNormals [protected]
 

Definition at line 125 of file vtkDividingCubes.h.


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