vtkPVSelectionInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkPVSelectionInformation_h
14 #define vtkPVSelectionInformation_h
15 
16 #include "vtkPVInformation.h"
17 #include "vtkRemotingViewsModule.h" //needed for exports
18 
20 class vtkPVXMLElement;
21 class vtkSelection;
22 
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
33  void CopyFromObject(vtkObject*) override;
34 
38  void AddInformation(vtkPVInformation*) override;
39 
41 
44  void CopyToStream(vtkClientServerStream*) override;
45  void CopyFromStream(const vtkClientServerStream*) override;
47 
49 
53  vtkGetObjectMacro(Selection, vtkSelection);
55 
56 protected:
58  ~vtkPVSelectionInformation() override;
59 
60  void Initialize();
62 
63 private:
65  void operator=(const vtkPVSelectionInformation&) = delete;
66 };
67 
68 #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.