vtkPVSelectionInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVSelectionInformation.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 =========================================================================*/
25 #ifndef vtkPVSelectionInformation_h
26 #define vtkPVSelectionInformation_h
27 
28 #include "vtkPVInformation.h"
29 #include "vtkRemotingViewsModule.h" //needed for exports
30 
32 class vtkPVXMLElement;
33 class vtkSelection;
34 
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
45  void CopyFromObject(vtkObject*) override;
46 
50  void AddInformation(vtkPVInformation*) override;
51 
53 
56  void CopyToStream(vtkClientServerStream*) override;
57  void CopyFromStream(const vtkClientServerStream*) override;
59 
61 
65  vtkGetObjectMacro(Selection, vtkSelection);
67 
68 protected:
70  ~vtkPVSelectionInformation() override;
71 
72  void Initialize();
74 
75 private:
77  void operator=(const vtkPVSelectionInformation&) = delete;
78 };
79 
80 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
#define VTKREMOTINGVIEWS_EXPORT
Used to gather selection information.
void PrintSelf(ostream &os, vtkIndent indent) override
Store messages for the interpreter.
void operator=(const vtkPVInformation &)=delete
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
static vtkObject * New()
Superclass for information objects.