51 #ifndef vtkContourGrid_h 52 #define vtkContourGrid_h 75 void SetValue(
int i,
double value);
76 double GetValue(
int i);
78 void GetValues(
double *contourValues);
79 void SetNumberOfContours(
int number);
80 int GetNumberOfContours();
81 void GenerateValues(
int numContours,
double range[2]);
82 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
146 void CreateDefaultLocator();
152 void SetOutputPointsPrecision(
int precision);
153 int GetOutputPointsPrecision()
const;
184 {this->ContourValues->SetValue(i,value);}
190 {
return this->ContourValues->GetValue(i);}
197 {
return this->ContourValues->GetValues();}
205 {this->ContourValues->GetValues(contourValues);}
213 {this->ContourValues->SetNumberOfContours(number);}
219 {
return this->ContourValues->GetNumberOfContours();}
226 {this->ContourValues->GenerateValues(numContours, range);}
233 rangeStart,
double rangeEnd)
234 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
int OutputPointsPrecision
helper object to manage setting and generating contour values
virtual int FillInputPortInformation(int port, vtkInformation *info)
generate isosurfaces/isolines from scalar values (specialized for unstructured grids) ...
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
#define vtkGetMacro(name, type)
vtkContourValues * ContourValues
Abstract class in support of both point location and point insertion.
int GetNumberOfContours()
GLsizei const GLfloat * value
#define vtkTypeMacro(thisClass, superclass)
keep track of edges (edge is pair of integer id's)
void SetValue(int i, double value)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
organize data according to scalar values (used to accelerate contouring operations) ...
#define vtkGetObjectMacro(name, type)
vtkIncrementalPointLocator * Locator
void SetNumberOfContours(int number)
vtkScalarTree * ScalarTree
#define vtkBooleanMacro(name, type)
GLenum GLint GLint * precision
void GenerateValues(int numContours, double range[2])
#define vtkSetMacro(name, type)