Go to the documentation of this file.
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;
197 int ComputeGradients;
199 int GenerateTriangles;
206 int OutputPointsPrecision;
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);}
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
keep track of edges (edge is pair of integer id's)
double * GetValues()
Get a pointer to an array of contour values.
vtkTypeUInt64 vtkMTimeType
static vtkContourGrid * New()
Construct object with initial range (0,1) and single contour value of 0.0.
helper object to manage setting and generating contour values
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
Abstract class in support of both point location and point insertion.
void SetValue(int i, double value)
Set the ith contour value.
generate isosurfaces/isolines from scalar values (specialized for unstructured grids)
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkMTimeType GetMTime() override
Modified GetMTime Because we delegate to vtkContourValues.
double GetValue(int i)
Get the ith contour value.
organize data according to scalar values (used to accelerate contouring operations)
Superclass for algorithms that produce only polydata as output.