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);
272 rangeStart,
double rangeEnd)
void CreateDefaultLocator()
Create default locator.
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 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.
void SetScalarTree(vtkScalarTree *sTree)
Specify the instance of vtkScalarTree to use.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkContourGrid * New()
Construct object with initial range (0,1) and single contour value of 0.0.
vtkTypeBool ComputeScalars
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
helper object to manage setting and generating contour values
~vtkContourGrid() override
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.
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
void SetOutputPointsPrecision(int precision)
Set/get the desired precision for the output types.
vtkTypeBool ComputeGradients
vtkTypeBool ComputeNormals
generate isosurfaces/isolines from scalar values (specialized for unstructured grids)
vtkIncrementalPointLocator * Locator
vtkMTimeType GetMTime() override
Modified GetMTime Because we delegate to vtkContourValues.
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.
int GetOutputPointsPrecision() const
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.