26#ifndef vtkHyperTreeGridProbeFilter_h
27#define vtkHyperTreeGridProbeFilter_h
30#include "vtkFiltersCoreModule.h"
35VTK_ABI_NAMESPACE_BEGIN
Proxy object to connect input/output ports.
dynamic, self-adjusting array of char
abstract class to specify dataset behavior
abstract base class for objects that implement accelerated searches through HyperTree Grids (HTGs)
vtkSmartPointer< vtkIdList > Handles
Used to store vtkIndexedArray handles when UseImplicitArrays is on.
void SetSourceData(vtkHyperTreeGrid *source)
Specify the data set that will be probed at the input points.
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the data set that will be probed at the input points.
static vtkHyperTreeGridProbeFilter * New()
vtkSmartPointer< vtkHyperTreeGridLocator > Locator
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for processing requests.
~vtkHyperTreeGridProbeFilter() override
Construction methods.
int FillInputPortInformation(int, vtkInformation *) override
Input port should have 2 inputs: input (a dataset) and a source (an HTG).
bool DoProbing(vtkDataSet *input, vtkHyperTreeGrid *source, vtkDataSet *output, vtkIdList *localPointIds)
Helper method for performing the probing.
vtkHyperTreeGridProbeFilter()
Construction methods.
vtkNew< vtkIdTypeArray > ValidPoints
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for processing requests.
void DealWithRemoteHandles(vtkIdList *remotePointIds, vtkIdList *remoteHandles, vtkIdList *totHandles)
Helper method for dealing with handles coming from remote locations during the reduce operation.
virtual vtkHyperTreeGridLocator * GetLocator()
Set and get the locator object.
vtkSmartPointer< vtkCharArray > MaskPoints
void DealWithRemote(vtkIdList *remotePointIds, vtkDataSet *remoteOutput, vtkHyperTreeGrid *source, vtkDataSet *totOutput)
Helper method for dealing with arrays coming from remote locations during the reduce operation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetLocator(vtkHyperTreeGridLocator *)
Set and get the locator object.
bool PassAttributeData(vtkDataSet *input, vtkDataSet *output)
Helper method for passing data from input to output.
vtkHyperTreeGrid * GetSource()
Specify the data set that will be probed at the input points.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for processing requests.
bool Initialize(vtkDataSet *input, vtkHyperTreeGrid *source, vtkDataSet *output)
Helper method for initializing the output and local arrays for all processes.
vtkIdTypeArray * GetValidPoints()
Get the list of point ids in the output that contain attribute data from the source.
virtual bool Reduce(vtkHyperTreeGrid *source, vtkDataSet *output, vtkIdList *localPointIds)
Helper method for reducing the data after probing.
void Finalize(vtkHyperTreeGrid *source, vtkDataSet *output, vtkIdType nanId)
Instantiate and set implicit arrays.
std::string ValidPointMaskArrayName
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
list of point or cell ids
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Allocate and hold a VTK object.
Hold a reference to a vtkObjectBase instance.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)