Documentation for vtkMarchingSquares

vtkMarchingSquares - generate isoline(s) from structured points set

Super Class: vtkStructuredPointsToPolyDataFilter

Description:

vtkMarchingSquares is a filter that takes as input a structured points set and generates on output one or more isolines. One or more contour values must be specified to generate the isolines. Alternatively, you can specify a min/max scalar range and the number of contours to generate a series of evenly spaced contour values. To generate contour lines the input data must be of topological dimension 2 (i.e., an image). If not, you can use the ImageRange ivar to select an image plane from an input volume. This avoids having to extract a plane first (using vtkExtractSubVolume). The filter deals with this by first trying to use the input data directly, and if not a 2D image, then uses the ImageRange ivar to reduce it to an image.

 

Caveats:

This filter is specialized to images. If you are interested in contouring other types of data, use the general vtkContourFilter.

 

See Also:

vtkContourFilter vtkMarchingCubes vtkSliceCubes vtkDividingCubes

 

Methods:

void vtkMarchingSquares ()
static vtkMarchingSquares *New ()
void vtkMarchingSquares ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetImageRange (int *)
int *GetImageRange ()
void SetImageRange (int ,int ,int ,int ,int ,int )
void SetValue (int ,float )
float GetValue (int )
float *GetValues ()
void GetValues (float *)
void SetNumberOfContours (int )
int GetNumberOfContours ()
void GenerateValues (int ,float )
void GenerateValues (int ,float ,float )
unsigned long GetMTime ()
void SetLocator (vtkPointLocator *)
vtkPointLocator *GetLocator ()
void CreateDefaultLocator ()
void SetLocator (vtkPointLocator &)
void Execute ()

 

Detailed Method Descriptions:

Set/Get the i-j-k index range which define a plane on which to generate contour lines. Using this ivar it is possible to input a 3D volume directly and then generate contour lines on one of the i-j-k planes, or a portion of a plane.

void SetImageRange (int *)
int *GetImageRange ()
void SetImageRange (int ,int ,int ,int ,int ,int )

Create default locator. Used to create one when none is specified. The locator is used to merge coincident points.

void CreateDefaultLocator ()

Obsolete method for legacy compatability. Do not use.

void SetLocator (vtkPointLocator &)