52 #ifndef vtkContourGrid_h
53 #define vtkContourGrid_h
55 #include "vtkFiltersCoreModule.h"
80 void SetValue(
int i,
double value);
81 double GetValue(
int i);
83 void GetValues(
double *contourValues);
84 void SetNumberOfContours(
int number);
85 int GetNumberOfContours();
86 void GenerateValues(
int numContours,
double range[2]);
87 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
103 vtkGetMacro(ComputeNormals,
int);
119 vtkGetMacro(ComputeGradients,
int);
128 vtkGetMacro(ComputeScalars,
int);
137 vtkGetMacro(UseScalarTree,
int);
168 vtkGetMacro(GenerateTriangles,
int);
176 void CreateDefaultLocator();
184 void SetOutputPointsPrecision(
int precision);
185 int GetOutputPointsPrecision() const;
190 ~vtkContourGrid() VTK_OVERRIDE;
193 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
197 int ComputeGradients;
199 int GenerateTriangles;
201 vtkIncrementalPointLocator *Locator;
204 vtkScalarTree *ScalarTree;
206 int OutputPointsPrecision;
210 vtkContourGrid(const vtkContourGrid&) VTK_DELETE_FUNCTION;
211 void operator=(const vtkContourGrid&) VTK_DELETE_FUNCTION;
218 inline
void vtkContourGrid::SetValue(
int i,
double value)
219 {this->ContourValues->
SetValue(i,value);}
225 {
return this->ContourValues->GetValue(i);}
232 {
return this->ContourValues->GetValues();}
240 {this->ContourValues->GetValues(contourValues);}
248 {this->ContourValues->SetNumberOfContours(number);}
254 {
return this->ContourValues->GetNumberOfContours();}
261 {this->ContourValues->GenerateValues(numContours, range);}
268 rangeStart,
double rangeEnd)
269 {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) ...
Abstract class in support of both point location and point insertion.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkTypeUInt64 vtkMTimeType
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.