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

vtkDiscreteMarchingCubes Class Reference

#include <vtkDiscreteMarchingCubes.h>

Inheritance diagram for vtkDiscreteMarchingCubes:

Inheritance graph
[legend]
Collaboration diagram for vtkDiscreteMarchingCubes:

Collaboration graph
[legend]
List of all members.

Detailed Description

generate object boundaries from labelled volumes

takes as input a volume (e.g., 3D structured point set) of segmentation labels and generates on output one or more models representing the boundaries between the specified label and the adjacent structures. One or more label values must be specified to generate the models. The boundary positions are always defined to be half-way between adjacent voxels. This filter works best with integral scalar values. If ComputeScalars is on (the default), each output cell will have cell data that corresponds to the scalar value (segmentation label) of the corresponding cube. Note that this differs from vtkMarchingCubes, which stores the scalar value as point data. The rationale for this difference is that cell vertices may be shared between multiple cells. This also means that the resultant polydata may be non-manifold (cell faces may be coincident). To further process the polydata, users should either: 1) extract cells that have a common scalar value using vtkThreshold, or 2) process the data with filters that can handle non-manifold polydata (e.g. vtkWindowedSincPolyDataFilter). Also note, Normals and Gradients are not computed.

Warning:
This filter is specialized to volumes. If you are interested in contouring other types of data, use the general vtkContourFilter. If you want to contour an image (i.e., a volume slice), use vtkMarchingSquares.
See also:
vtkContourFilter vtkSliceCubes vtkMarchingSquares vtkDividingCubes
Created by:
  • Lorensen, Bill
CVS contributions (if > 5%):
  • Lorensen, Bill (99%)
CVS logs (CVSweb):
  • .h (/Patented/vtkDiscreteMarchingCubes.h)
  • .cxx (/Patented/vtkDiscreteMarchingCubes.cxx)
Tests:
vtkDiscreteMarchingCubes (Tests)

Definition at line 89 of file vtkDiscreteMarchingCubes.h.

Public Types

typedef vtkMarchingCubes Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Member Functions

vtkDiscreteMarchingCubesNew ()
int IsTypeOf (const char *type)
vtkDiscreteMarchingCubesSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkDiscreteMarchingCubes ()
 ~vtkDiscreteMarchingCubes ()
void Execute ()


Member Typedef Documentation

typedef vtkMarchingCubes vtkDiscreteMarchingCubes::Superclass
 

Reimplemented from vtkMarchingCubes.

Definition at line 93 of file vtkDiscreteMarchingCubes.h.


Constructor & Destructor Documentation

vtkDiscreteMarchingCubes::vtkDiscreteMarchingCubes  )  [protected]
 

vtkDiscreteMarchingCubes::~vtkDiscreteMarchingCubes  )  [protected]
 


Member Function Documentation

vtkDiscreteMarchingCubes* vtkDiscreteMarchingCubes::New  )  [static]
 

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

Reimplemented from vtkMarchingCubes.

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

Reimplemented from vtkMarchingCubes.

int vtkDiscreteMarchingCubes::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 vtkMarchingCubes.

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

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

Reimplemented from vtkMarchingCubes.

void vtkDiscreteMarchingCubes::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkMarchingCubes.


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