53 #ifndef vtkContourGrid_h 54 #define vtkContourGrid_h 56 #include "vtkFiltersCoreModule.h" 81 void SetValue(
int i,
double value);
82 double GetValue(
int i);
84 void GetValues(
double* contourValues);
85 void SetNumberOfContours(
int number);
87 void GenerateValues(
int numContours,
double range[2]);
88 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
119 #ifndef VTK_LEGACY_REMOVE 179 void CreateDefaultLocator();
187 void SetOutputPointsPrecision(
int precision);
188 int GetOutputPointsPrecision()
const;
200 #ifndef VTK_LEGACY_REMOVE 225 this->ContourValues->SetValue(i, value);
233 return this->ContourValues->GetValue(i);
242 return this->ContourValues->GetValues();
252 this->ContourValues->GetValues(contourValues);
262 this->ContourValues->SetNumberOfContours(number);
270 return this->ContourValues->GetNumberOfContours();
279 this->ContourValues->GenerateValues(numContours, range);
288 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
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
Abstract class in support of both point location and point insertion.
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.