56 #ifndef vtkContourGrid_h 57 #define vtkContourGrid_h 59 #include "vtkFiltersCoreModule.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);
180 void CreateDefaultLocator();
188 void SetOutputPointsPrecision(
int precision);
189 int GetOutputPointsPrecision()
const;
223 {this->ContourValues->SetValue(i,value);}
229 {
return this->ContourValues->GetValue(i);}
236 {
return this->ContourValues->GetValues();}
244 {this->ContourValues->GetValues(contourValues);}
252 {this->ContourValues->SetNumberOfContours(number);}
258 {
return this->ContourValues->GetNumberOfContours();}
265 {this->ContourValues->GenerateValues(numContours, range);}
272 rangeStart,
double rangeEnd)
273 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
int OutputPointsPrecision
vtkTypeBool GenerateTriangles
helper object to manage setting and generating contour values
generate isosurfaces/isolines from scalar values (specialized for unstructured grids) ...
vtkTypeBool ComputeNormals
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkContourValues * ContourValues
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)
void SetValue(int i, double value)
Methods to set / get contour values.
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.
vtkTypeBool ComputeGradients
organize data according to scalar values (used to accelerate contouring operations) ...
vtkTypeBool ComputeScalars
vtkIncrementalPointLocator * Locator
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkScalarTree * ScalarTree
vtkTypeBool UseScalarTree
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.