14 #ifndef vtkCellGridSampleQuery_h
15 #define vtkCellGridSampleQuery_h
19 #include "vtkFiltersCellGridModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
32 class vtkTypeUInt32Array;
47 vtkSetMacro(IncludeSourceCellInfo,
bool);
48 vtkGetMacro(IncludeSourceCellInfo,
bool);
49 vtkBooleanMacro(IncludeSourceCellInfo,
bool);
63 vtkSetMacro(IncludeSourceCellSite,
bool);
64 vtkGetMacro(IncludeSourceCellSite,
bool);
65 vtkBooleanMacro(IncludeSourceCellSite,
bool);
98 vtkSetSmartPointerMacro(Output,
vtkTable);
99 vtkGetSmartPointerMacro(Output,
vtkTable);
150 vtkSetMacro(MaximumParametricDimension,
int);
151 vtkGetMacro(MaximumParametricDimension,
int);
162 bool IncludeSourceCellInfo{
false };
163 bool IncludeSourceCellSite{
false };
164 int MaximumParametricDimension{ 0 };
167 OutputAllocations OutputOffsets;
169 std::unordered_map<vtkCellAttribute*, vtkDataArray*> AttributeMap;
181 VTK_ABI_NAMESPACE_END
182 #endif // vtkCellGridSampleQuery_h
Perform an operation on cells in a vtkCellMetadata instance.
std::unordered_map< vtkStringToken, vtkIdType > OutputAllocations
A map used to allocate output table rows for various input cell types.
OutputAllocations & GetOutputAllocations()
Return the data structure that AddOutputSamples() modifies in the PassType::CountOutputs pass...
dynamic, self-adjusting array of vtkIdType
vtkIdTypeArray * GetSourceCellIdColumn()
Return the data array holding the input cell ID of each sample (if requested).
PassType
Passes used during processing of this query.
const OutputAllocations & GetOutputAllocations() const
Visualization data composed of cells of arbitrary type.
a simple class to control print indentation
A function defined over the physical domain of a vtkCellGrid.
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool IsAnotherPassRequired() override
Force two passes through this query.
Represent a string by its integer hash.
A table, which contains similar-typed columns of data.
vtkDataArray * GetSourceCellSiteColumn()
Return the data array holding the parametric coordinates (if applicable) of each sample in the output...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Output a table of samples at zero or more points inside each cell.
virtual bool Initialize()
Override this if your query-result state requires initialization.
virtual void StartPass()
Mark the start of a pass through each cell type.