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