31 #ifndef vtkKdTreeSelector_h 32 #define vtkKdTreeSelector_h 34 #include "vtkFiltersSelectionModule.h" 62 vtkSetVector6Macro(SelectionBounds,
double);
63 vtkGetVector6Macro(SelectionBounds,
double);
73 vtkSetStringMacro(SelectionFieldName);
74 vtkGetStringMacro(SelectionFieldName);
86 vtkSetMacro(SelectionAttribute,
int);
87 vtkGetMacro(SelectionAttribute,
int);
97 vtkSetMacro(SingleSelection,
bool);
98 vtkGetMacro(SingleSelection,
bool);
99 vtkBooleanMacro(SingleSelection,
bool);
109 vtkSetMacro(SingleSelectionThreshold,
double);
110 vtkGetMacro(SingleSelectionThreshold,
double);
120 double SelectionBounds[6];
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTypeUInt32 vtkMTimeType
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkSelectionAlgorithm * New()
a simple class to control print indentation
Selects point ids using a kd-tree.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Superclass for algorithms that produce only Selection as output.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a Kd-tree spatial decomposition of a set of points
bool BuildKdTreeFromInput
double SingleSelectionThreshold
char * SelectionFieldName