59#ifndef vtkMarchingSquares_h
60#define vtkMarchingSquares_h
62#include "vtkFiltersCoreModule.h"
67VTK_ABI_NAMESPACE_BEGIN
85 vtkSetVectorMacro(ImageRange,
int, 6);
86 vtkGetVectorMacro(ImageRange,
int, 6);
87 void SetImageRange(
int imin,
int imax,
int jmin,
int jmax,
int kmin,
int kmax);
94 void SetValue(
int i,
double value);
95 double GetValue(
int i);
97 void GetValues(
double* contourValues);
98 void SetNumberOfContours(
int number);
100 void GenerateValues(
int numContours,
double range[2]);
101 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
helper object to manage setting and generating contour values
double * GetValues()
Return a pointer to a list of contour values.
int GetNumberOfContours()
Return the number of contours in the.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void SetValue(int i, double value)
Set the ith contour value.
double GetValue(int i)
Get the ith contour value.
topologically and geometrically regular array of data
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
generate isoline(s) from structured points set
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetImageRange(int imin, int imax, int jmin, int jmax, int kmin, int kmax)
Set/Get the i-j-k index range which define a plane on which to generate contour lines.
vtkIncrementalPointLocator * Locator
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetLocator(vtkIncrementalPointLocator *locator)
double GetValue(int i)
Get the ith contour value.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
double * GetValues()
Get a pointer to an array of contour values.
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void SetValue(int i, double value)
Methods to set contour values.
static vtkMarchingSquares * New()
vtkContourValues * ContourValues
void CreateDefaultLocator()
Create default locator.
~vtkMarchingSquares() override
Superclass for algorithms that produce only polydata as output.
vtkTypeUInt32 vtkMTimeType