Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkDividingCubes Class Reference

#include <vtkDividingCubes.h>

Inheritance diagram for vtkDividingCubes:

Inheritance graph
[legend]
Collaboration diagram for vtkDividingCubes:

Collaboration graph
[legend]
List of all members.

Detailed Description

create points lying on isosurface

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.

Created by:
  • Schroeder, Will
CVS contributions (if > 5%):
  • Schroeder, Will (69%)
  • Law, Charles (8%)
  • Martin, Ken (6%)
  • Geveci, Berk (5%)
  • Lorensen, Bill (5%)
CVS logs (CVSweb):
  • .cxx (/Patented/vtkDividingCubes.cxx)
  • .h (/Patented/vtkDividingCubes.h)
Tests:
vtkDividingCubes (Tests)

Definition at line 72 of file vtkDividingCubes.h.

Public Types

typedef vtkStructuredPointsToPolyDataFilter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetValue (double)
virtual double GetValue ()
virtual void SetDistance (double)
virtual double GetDistance ()
virtual void SetIncrement (int)
virtual int GetIncrement ()

Static Public Member Functions

vtkDividingCubesNew ()
int IsTypeOf (const char *type)
vtkDividingCubesSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkDividingCubes ()
 ~vtkDividingCubes ()
void Execute ()
void SubDivide (double origin[3], int dim[3], double h[3], double values[8])

Protected Attributes

double Value
double Distance
int Increment
int Count
vtkIdListSubVoxelPts
vtkVoxelSubVoxel
vtkDoubleArraySubVoxelScalars
vtkDoubleArraySubVoxelNormals


Member Typedef Documentation

typedef vtkStructuredPointsToPolyDataFilter vtkDividingCubes::Superclass
 

Reimplemented from vtkStructuredPointsToPolyDataFilter.

Definition at line 76 of file vtkDividingCubes.h.


Constructor & Destructor Documentation

vtkDividingCubes::vtkDividingCubes  )  [protected]
 

vtkDividingCubes::~vtkDividingCubes  )  [protected]
 


Member Function Documentation

vtkDividingCubes* vtkDividingCubes::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkDividingCubes::GetClassName  )  [virtual]
 

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

Reimplemented from vtkStructuredPointsToPolyDataFilter.

vtkDividingCubes* vtkDividingCubes::SafeDownCast vtkObject o  )  [static]
 

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

virtual void vtkDividingCubes::SetValue double   )  [virtual]
 

Set isosurface value.

virtual double vtkDividingCubes::GetValue  )  [virtual]
 

Set isosurface value.

virtual void vtkDividingCubes::SetDistance double   )  [virtual]
 

Specify sub-voxel size at which to generate point.

virtual double 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 double  origin[3],
int  dim[3],
double  h[3],
double  values[8]
[protected]
 


Member Data Documentation

double vtkDividingCubes::Value [protected]
 

Definition at line 106 of file vtkDividingCubes.h.

double vtkDividingCubes::Distance [protected]
 

Definition at line 107 of file vtkDividingCubes.h.

int vtkDividingCubes::Increment [protected]
 

Definition at line 108 of file vtkDividingCubes.h.

int vtkDividingCubes::Count [protected]
 

Definition at line 111 of file vtkDividingCubes.h.

vtkIdList* vtkDividingCubes::SubVoxelPts [protected]
 

Definition at line 113 of file vtkDividingCubes.h.

vtkVoxel* vtkDividingCubes::SubVoxel [protected]
 

Definition at line 114 of file vtkDividingCubes.h.

vtkDoubleArray* vtkDividingCubes::SubVoxelScalars [protected]
 

Definition at line 115 of file vtkDividingCubes.h.

vtkDoubleArray* vtkDividingCubes::SubVoxelNormals [protected]
 

Definition at line 116 of file vtkDividingCubes.h.


The documentation for this class was generated from the following file: