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

vtkKitwareContourFilter Class Reference

generate isosurfaces/isolines from scalar values. More...

#include <vtkKitwareContourFilter.h>

Inheritance diagram for vtkKitwareContourFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkKitwareContourFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Public Methods

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

Protected Methods

 vtkKitwareContourFilter ()
 ~vtkKitwareContourFilter ()
 vtkKitwareContourFilter (const vtkKitwareContourFilter &)
void operator= (const vtkKitwareContourFilter &)
void ComputeInputUpdateExtents (vtkDataObject *data)
void Execute ()
void ExecuteInformation ()
void StructuredPointsContour (int dim)
void StructuredGridContour (int dim)
void DataSetContour ()

Detailed Description

generate isosurfaces/isolines from scalar values.

Date:
2000/12/10 20:09:16
Revision:
1.11

vtkKitwareContourFilter is a filter that takes as input any dataset and generates on output isosurfaces and/or isolines. The exact form of the output depends upon the dimensionality of the input data. Data consisting of 3D cells will generate isosurfaces, data consisting of 2D cells will generate isolines, and data with 1D or 0D cells will generate isopoints. Combinations of output type are possible if the input dimension is mixed.

This filter will identify special dataset types (e.g., structured points) and use the appropriate specialized filter to process the data. For examples, if the input dataset type is a volume, this filter will create an internal vtkSyncronizedTemplates3D instance and use it. This gives much better performance on StructuredPoints and StructuredGrids.

To use this filter you must specify one or more contour values. You can either use the method SetValue() to specify each contour value, or use GenerateValues() to generate a series of evenly spaced contours. It is also possible to accelerate the operation of this filter (at the cost of extra memory) by using a vtkScalarTree. A scalar tree is used to quickly locate cells that contain a contour surface. This is especially effective if multiple contours are being extracted. If you want to use a scalar tree, invoke the method UseScalarTreeOn().

Warning:
For StructuredPoints And StructuredGrids, normals are computed by default, but it is an expensive computation. Processing for other data set types has not been extended to include normal computation. In the mean time, use vtkPolyDataNormals to compute the surface normals.
See also:
vtkSynchronizedTemplates3D vtkSynchronizedTemplates2D vtkGridSynchronizedTemplates3D
Examples:
vtkKitwareContourFilter (examples)

Definition at line 90 of file vtkKitwareContourFilter.h.


Constructor & Destructor Documentation

vtkKitwareContourFilter::vtkKitwareContourFilter   [protected]
 

vtkKitwareContourFilter::~vtkKitwareContourFilter   [protected]
 

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

Definition at line 102 of file vtkKitwareContourFilter.h.


Member Function Documentation

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

int vtkKitwareContourFilter::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 vtkContourFilter.

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

vtkKitwareContourFilter* vtkKitwareContourFilter::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 vtkContourFilter.

vtkKitwareContourFilter* vtkKitwareContourFilter::New   [static]
 

Construct object with initial range (0,1) and single contour value of 0.0.

Reimplemented from vtkContourFilter.

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

Definition at line 103 of file vtkKitwareContourFilter.h.

void vtkKitwareContourFilter::ComputeInputUpdateExtents vtkDataObject   data [protected, virtual]
 

What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses.

Reimplemented from vtkPolyDataSource.

void vtkKitwareContourFilter::Execute   [protected, virtual]
 

Reimplemented from vtkContourFilter.

void vtkKitwareContourFilter::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkSource.

void vtkKitwareContourFilter::StructuredPointsContour int    dim [protected]
 

void vtkKitwareContourFilter::StructuredGridContour int    dim [protected]
 

void vtkKitwareContourFilter::DataSetContour   [protected]
 


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