VTK  9.2.6
vtkValueSelector.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkValueSelector.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
39
40#ifndef vtkValueSelector_h
41#define vtkValueSelector_h
42
43#include "vtkSelector.h"
44
45#include <memory> // unique_ptr
46
48
49class VTKFILTERSEXTRACTION_EXPORT vtkValueSelector : public vtkSelector
50{
51private:
52 friend class vtkConvertSelection;
53
54public:
57 void PrintSelf(ostream& os, vtkIndent indent) override;
58
59 void Initialize(vtkSelectionNode* node) override;
60 void Finalize() override;
61
62protected:
65
66 bool ComputeSelectedElements(vtkDataObject* input, vtkSignedCharArray* insidednessArray) override;
67
68private:
69 vtkValueSelector(const vtkValueSelector&) = delete;
70 void operator=(const vtkValueSelector&) = delete;
71
72 class vtkInternals;
73 std::unique_ptr<vtkInternals> Internals;
74};
75
76#endif
Convert a selection from one type to another.
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:34
a node in a vtkSelection the defines the selection criteria.
dynamic, self-adjusting array of signed char
friend class vtkConvertSelection
void Initialize(vtkSelectionNode *node) override
Sets the vtkSelectionNode used by this selection operator and initializes the data structures in the ...
void Finalize() override
Does any cleanup of objects created in Initialize.
~vtkValueSelector() override
static vtkValueSelector * New()
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...