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:
![]() | void SetImageRange (int *) |
![]() | int *GetImageRange () |
![]() | void SetImageRange (int ,int ,int ,int ,int ,int ) |
![]() | void CreateDefaultLocator () |
![]() | void SetLocator (vtkPointLocator &) |