39 #ifndef vtkMarchingSquares_h 40 #define vtkMarchingSquares_h 42 #include "vtkFiltersCoreModule.h" 64 vtkSetVectorMacro(ImageRange,
int,6);
65 vtkGetVectorMacro(ImageRange,
int,6);
66 void SetImageRange(
int imin,
int imax,
int jmin,
int jmax,
74 void SetValue(
int i,
double value);
75 double GetValue(
int i);
77 void GetValues(
double *contourValues);
78 void SetNumberOfContours(
int number);
79 int GetNumberOfContours();
80 void GenerateValues(
int numContours,
double range[2]);
81 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
96 void CreateDefaultLocator();
100 ~vtkMarchingSquares() VTK_OVERRIDE;
103 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
107 vtkIncrementalPointLocator *Locator;
110 vtkMarchingSquares(const vtkMarchingSquares&) VTK_DELETE_FUNCTION;
111 void operator=(const vtkMarchingSquares&) VTK_DELETE_FUNCTION;
118 inline
void vtkMarchingSquares::SetValue(
int i,
double value)
119 {this->ContourValues->
SetValue(i,value);}
125 {
return this->ContourValues->GetValue(i);}
132 {
return this->ContourValues->GetValues();}
140 {this->ContourValues->GetValues(contourValues);}
148 {this->ContourValues->SetNumberOfContours(number);}
154 {
return this->ContourValues->GetNumberOfContours();}
161 {this->ContourValues->GenerateValues(numContours, range);}
168 rangeStart,
double rangeEnd)
169 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
vtkTypeUInt32 vtkMTimeType
int GetNumberOfContours()
Get the number of contours in the list of contour values.
double GetValue(int i)
Get the ith contour value.
Abstract class in support of both point location and point insertion.
generate isoline(s) from structured points set
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
topologically and geometrically regular array of data
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
double * GetValues()
Get a pointer to an array of contour values.
void SetValue(int i, double value)
Set the ith contour value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.