57 #ifndef vtkMarchingContourFilter_h
58 #define vtkMarchingContourFilter_h
60 #include "vtkFiltersGeneralModule.h"
84 void SetValue(
int i,
double value);
85 double GetValue(
int i);
87 void GetValues(
double *contourValues);
88 void SetNumberOfContours(
int number);
89 int GetNumberOfContours();
90 void GenerateValues(
int numContours,
double range[2]);
91 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
107 vtkGetMacro(ComputeNormals,
int);
121 vtkGetMacro(ComputeGradients,
int);
130 vtkGetMacro(ComputeScalars,
int);
139 vtkGetMacro(UseScalarTree,
int);
156 void CreateDefaultLocator();
160 ~vtkMarchingContourFilter() VTK_OVERRIDE;
163 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
167 int ComputeGradients;
169 vtkIncrementalPointLocator *Locator;
180 vtkMarchingContourFilter(const vtkMarchingContourFilter&) VTK_DELETE_FUNCTION;
181 void operator=(const vtkMarchingContourFilter&) VTK_DELETE_FUNCTION;
188 inline
void vtkMarchingContourFilter::SetValue(
int i,
double value)
190 this->ContourValues->
SetValue(i,value);
198 return this->ContourValues->GetValue(i);
207 return this->ContourValues->GetValues();
217 this->ContourValues->GetValues(contourValues);
227 this->ContourValues->SetNumberOfContours(number);
235 return this->ContourValues->GetNumberOfContours();
245 this->ContourValues->GenerateValues(numContours, range);
256 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
helper object to manage setting and generating contour values
double GetValue(int i)
Get the ith contour value.
abstract class to specify dataset behavior
Abstract class in support of both point location and point insertion.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTypeUInt64 vtkMTimeType
double * GetValues()
Get a pointer to an array of contour values.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
generate isosurfaces/isolines from scalar values
organize data according to scalar values (used to accelerate contouring operations) ...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.