Go to the documentation of this file.
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;
272 rangeStart,
double rangeEnd)
vtkTypeBool UseScalarTree
double * GetValues()
Return a pointer to a list of contour values.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
int GetNumberOfContours()
Return the number of contours in the.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetValue(int i, double value)
Methods to set / get contour values.
keep track of edges (edge is pair of integer id's)
double * GetValues()
Get a pointer to an array of contour values.
vtkTypeBool ComputeScalars
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
helper object to manage setting and generating contour values
a simple class to control print indentation
int GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkTypeBool GenerateTriangles
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double GetValue(int i)
Get the ith contour value.
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.
vtkContourValues * ContourValues
vtkTypeBool ComputeGradients
vtkTypeBool ComputeNormals
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
generate isosurfaces/isolines from scalar values (specialized for unstructured grids)
vtkIncrementalPointLocator * Locator
double GetValue(int i)
Get the ith contour value.
int OutputPointsPrecision
organize data according to scalar values (used to accelerate contouring operations)
vtkScalarTree * ScalarTree
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
static vtkPolyDataAlgorithm * New()
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.