30#ifndef vtkHyperTreeGridThreshold_h
31#define vtkHyperTreeGridThreshold_h
33#include "vtkFiltersHyperTreeModule.h"
39VTK_ABI_NAMESPACE_BEGIN
93 vtkGetMacro(MemoryStrategy,
int);
166 void SafeInsertOutMask(
vtkIdType tupleIdx,
double value);
169 std::vector<std::mutex> OutMaskMutexes;
170 int ArrayMutexSize = 0;
173 std::unique_ptr<Internals> Internal;
dynamic, self-adjusting array of bits
general representation of visualization data
vtkHyperTreeGridAlgorithm()
Objects for traversal a HyperTreeGrid.
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
bool RecursivelyProcessTree(vtkHyperTreeGridNonOrientedCursor *, vtkHyperTreeGridNonOrientedCursor *)
Recursively descend into input tree down to leaves, creating output structure at the same time.
static vtkHyperTreeGridThreshold * New()
double LowerThreshold
LowerThreshold scalar value to be accepted.
vtkBitArray * InMask
Input material mask.
MemoryStrategyChoice
Enum for defining the strategy to take in allocating the memory used by the output.
@ CopyStructureAndIndexArrays
~vtkHyperTreeGridThreshold() override
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkHyperTreeGrid instance.
vtkBitArray * OutMask
Output material mask constructed by this filter.
bool RecursivelyProcessTreeWithCreateNewMask(vtkHyperTreeGridNonOrientedCursor *)
Recursively descend into input tree down to leaves, filling the output mask as it goes.
double UpperThreshold
UpperThreshold scalar value to be accepted.
vtkDataArray * InScalars
Keep track of selected input scalars.
void ThresholdBetween(double, double)
Convenience method to set both threshold values at once.
vtkHyperTreeGridThreshold()
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to extract cells based on thresholded value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation