54 #ifndef vtkMarchingContourFilter_h
55 #define vtkMarchingContourFilter_h
57 #include "vtkFiltersGeneralModule.h"
81 void SetValue(
int i,
double value);
82 double GetValue(
int i);
84 void GetValues(
double *contourValues);
85 void SetNumberOfContours(
int number);
86 int GetNumberOfContours();
87 void GenerateValues(
int numContours,
double range[2]);
88 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
104 vtkGetMacro(ComputeNormals,
int);
118 vtkGetMacro(ComputeGradients,
int);
127 vtkGetMacro(ComputeScalars,
int);
136 vtkGetMacro(UseScalarTree,
int);
153 void CreateDefaultLocator();
157 ~vtkMarchingContourFilter() VTK_OVERRIDE;
160 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
164 int ComputeGradients;
166 vtkIncrementalPointLocator *Locator;
177 vtkMarchingContourFilter(const vtkMarchingContourFilter&) VTK_DELETE_FUNCTION;
178 void operator=(const vtkMarchingContourFilter&) VTK_DELETE_FUNCTION;
185 inline
void vtkMarchingContourFilter::SetValue(
int i,
double value)
187 this->ContourValues->
SetValue(i,value);
195 return this->ContourValues->GetValue(i);
204 return this->ContourValues->GetValues();
214 this->ContourValues->GetValues(contourValues);
224 this->ContourValues->SetNumberOfContours(number);
232 return this->ContourValues->GetNumberOfContours();
242 this->ContourValues->GenerateValues(numContours, range);
253 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
helper object to manage setting and generating contour values
double GetValue(int i)
Get the ith contour value.
vtkTypeUInt32 vtkMTimeType
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
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.