53#ifndef vtkContourGrid_h
54#define vtkContourGrid_h
56#include "vtkFiltersCoreModule.h"
81 void SetValue(
int i,
double value);
82 double GetValue(
int i);
84 void GetValues(
double* contourValues);
85 void SetNumberOfContours(
int number);
87 void GenerateValues(
int numContours,
double range[2]);
88 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
generate isosurfaces/isolines from scalar values (specialized for unstructured grids)
double * GetValues()
Get a pointer to an array of contour values.
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
vtkIncrementalPointLocator * Locator
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkContourValues * ContourValues
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
~vtkContourGrid() override
void SetValue(int i, double value)
Methods to set / get contour values.
int OutputPointsPrecision
void SetScalarTree(vtkScalarTree *sTree)
Specify the instance of vtkScalarTree to use.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkTypeBool ComputeNormals
vtkMTimeType GetMTime() override
Modified GetMTime Because we delegate to vtkContourValues.
vtkTypeBool GenerateTriangles
void CreateDefaultLocator()
Create default locator.
vtkScalarTree * ScalarTree
int GetOutputPointsPrecision() const
Set/get the desired precision for the output types.
double GetValue(int i)
Get the ith contour value.
vtkTypeBool UseScalarTree
vtkTypeBool ComputeScalars
void SetOutputPointsPrecision(int precision)
Set/get the desired precision for the output types.
helper object to manage setting and generating contour values
double * GetValues()
Return a pointer to a list of contour values.
int GetNumberOfContours()
Return the number of contours in the.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
void SetValue(int i, double value)
Set the ith contour value.
double GetValue(int i)
Get 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)
vtkTypeUInt32 vtkMTimeType