49 #ifndef vtkContourGrid_h
50 #define vtkContourGrid_h
52 #include "vtkFiltersCoreModule.h"
77 void SetValue(
int i,
double value);
78 double GetValue(
int i);
80 void GetValues(
double *contourValues);
81 void SetNumberOfContours(
int number);
82 int GetNumberOfContours();
83 void GenerateValues(
int numContours,
double range[2]);
84 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
100 vtkGetMacro(ComputeNormals,
int);
116 vtkGetMacro(ComputeGradients,
int);
125 vtkGetMacro(ComputeScalars,
int);
134 vtkGetMacro(UseScalarTree,
int);
165 vtkGetMacro(GenerateTriangles,
int);
173 void CreateDefaultLocator();
181 void SetOutputPointsPrecision(
int precision);
182 int GetOutputPointsPrecision() const;
187 ~vtkContourGrid() VTK_OVERRIDE;
190 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
194 int ComputeGradients;
196 int GenerateTriangles;
198 vtkIncrementalPointLocator *Locator;
201 vtkScalarTree *ScalarTree;
203 int OutputPointsPrecision;
207 vtkContourGrid(const vtkContourGrid&) VTK_DELETE_FUNCTION;
208 void operator=(const vtkContourGrid&) VTK_DELETE_FUNCTION;
215 inline
void vtkContourGrid::SetValue(
int i,
double value)
216 {this->ContourValues->
SetValue(i,value);}
222 {
return this->ContourValues->GetValue(i);}
229 {
return this->ContourValues->GetValues();}
237 {this->ContourValues->GetValues(contourValues);}
245 {this->ContourValues->SetNumberOfContours(number);}
251 {
return this->ContourValues->GetNumberOfContours();}
258 {this->ContourValues->GenerateValues(numContours, range);}
265 rangeStart,
double rangeEnd)
266 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
generate isosurfaces/isolines from scalar values (specialized for unstructured grids) ...
vtkTypeUInt32 vtkMTimeType
Abstract class in support of both point location and point insertion.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
keep track of edges (edge is pair of integer id's)
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
double * GetValues()
Get a pointer to an array of contour values.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
double GetValue(int i)
Get the ith contour value.
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.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
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.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.