vtkSelectionConverter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSelectionConverter.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
33 #ifndef vtkSelectionConverter_h
34 #define vtkSelectionConverter_h
35 
36 #include "vtkObject.h"
37 #include "vtkPVVTKExtensionsFiltersRenderingModule.h" // needed for export macro
38 
39 class vtkSelection;
40 class vtkSelectionNode;
42 class vtkDataSet;
43 
45 {
46 public:
47  static vtkSelectionConverter* New();
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
58  void Convert(vtkSelection* input, vtkSelection* output, int global_ids);
59 
60 protected:
62  ~vtkSelectionConverter() override;
63 
64  void Convert(vtkSelectionNode* input, vtkSelection* output, int global_ids);
65 
66  vtkDataSet* LocateDataSet(vtkCompositeDataIterator* iter, unsigned int index);
67 
68 private:
70  void operator=(const vtkSelectionConverter&) = delete;
71 
72  class vtkKeyType;
73 };
74 
75 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
converts one selection type to another
#define VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)