VTK  9.3.20240425
vtkLocationSelector.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
11#ifndef vtkLocationSelector_h
12#define vtkLocationSelector_h
13
14#include "vtkSelector.h"
15
16#include <memory> // unique_ptr
17
18VTK_ABI_NAMESPACE_BEGIN
19class VTKFILTERSEXTRACTION_EXPORT vtkLocationSelector : public vtkSelector
20{
21public:
24 void PrintSelf(ostream& os, vtkIndent indent) override;
25
26 void Initialize(vtkSelectionNode* node) override;
27 void Finalize() override;
28
29protected:
32
33 bool ComputeSelectedElements(vtkDataObject* input, vtkSignedCharArray* insidednessArray) override;
34
35private:
37 void operator=(const vtkLocationSelector&) = delete;
38
39 class vtkInternals;
40 class vtkInternalsForPoints;
41 class vtkInternalsForCells;
42 std::unique_ptr<vtkInternals> Internals;
43};
44
45VTK_ABI_NAMESPACE_END
46#endif
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:108
selects cells containing or points near chosen point locations.
~vtkLocationSelector() override
void Finalize() override
Does any cleanup of objects created in Initialize.
static vtkLocationSelector * New()
void Initialize(vtkSelectionNode *node) override
Sets the vtkSelectionNode used by this selection operator and initializes the data structures in the ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool ComputeSelectedElements(vtkDataObject *input, vtkSignedCharArray *insidednessArray) override
This method computes whether or not each element in the dataset is inside the selection and populates...
a node in a vtkSelection the defines the selection criteria.
dynamic, self-adjusting array of signed char