37 #ifndef vtkHyperTreeGridContour_h
38 #define vtkHyperTreeGridContour_h
41 #include "vtkFiltersHyperTreeModule.h"
91 void SetValue(
int,
double);
94 void GetValues(
double*);
95 void SetNumberOfContours(
int);
97 void GenerateValues(
int,
double[2]);
98 void GenerateValues(
int,
double,
double);
248 int numContours,
double rangeStart,
double rangeEnd)
dynamic, self-adjusting array of bits
A utility class used by various contour filters.
helper object to manage setting and generating 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.
double * GetValues()
Return a pointer to a list of contour values.
abstract superclass for arrays of numeric data
general representation of visualization data
Superclass for algorithms that produce a hyper tree grid as output.
Extract cells from a hyper tree grid where selected scalar value is within given range.
vtkBitArray ** CellSigns
Sign of isovalue if cell not treated.
void CreateDefaultLocator()
Create default locator.
static vtkHyperTreeGridContour * New()
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
void SetValue(int, double)
Methods (inlined) to set / get contour values.
vtkIdType CurrentId
Keep track of current index in output polydata.
double GetValue(int)
Get the ith contour value.
vtkMTimeType GetMTime() override
Modified GetMTime Because we delegate to vtkContourValues.
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkPolyData instance.
vtkIncrementalPointLocator * Locator
Spatial locator to merge points.
std::vector< bool > Signs
Storage for signs relative to current contour value.
vtkDataArray * InScalars
Keep track of selected input scalars.
void PrintSelf(ostream &, vtkIndent) override
Methods invoked by print to print information about the object including superclasses.
void SetNumberOfContours(int)
Set the number of contours to place into the list.
vtkDataArray * CellScalars
double * GetValues()
Get a pointer to an array of contour values.
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedMooreSuperCursor *)
Recursively descend into tree down to leaves.
bool RecursivelyPreProcessTree(vtkHyperTreeGridNonOrientedCursor *)
Recursively decide whether a cell is intersected by a contour.
vtkContourValues * ContourValues
Storage for contour values.
void SetLocator(vtkIncrementalPointLocator *)
Set / get a spatial locator for merging points.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate isocontours of hyper tree grid.
vtkHyperTreeGridContour()
vtkBitArray * SelectedCells
Storage for pre-selected cells to be processed.
~vtkHyperTreeGridContour() override
vtkContourHelper * Helper
Pointers needed to perform isocontouring.
vtkUnsignedCharArray * InGhostArray
void GenerateValues(int, double[2])
Generate numContours equally spaced contour values between specified range.
Objects for traversal a HyperTreeGrid.
Objects for traversal a HyperTreeGrid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
list of point or cell ids
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
cell represents a 1D line
a cell that represents an orthogonal quadrilateral
represent and manipulate point attribute data
dynamic, self-adjusting array of unsigned char
a cell that represents a 3D orthogonal parallelepiped
vtkTypeUInt32 vtkMTimeType