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 
23 class VTKREMOTINGVIEWS_EXPORT vtkPVSelectionInformation : public vtkPVInformation
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
vtkPVInformation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVSelectionInformation::Selection
vtkSelection * Selection
Definition: vtkPVSelectionInformation.h:61
vtkObject::New
static vtkObject * New()
vtkClientServerStream
Store messages for the interpreter.
Definition: vtkClientServerStream.h:23
vtkPVInformation.h
vtkObject
vtkPVSelectionInformation
Used to gather selection information.
Definition: vtkPVSelectionInformation.h:23
vtkSelection
vtkPVInformation::operator=
void operator=(const vtkPVInformation &)=delete
vtkPVInformation::AddInformation
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
vtkIndent
vtkPVInformation::CopyFromObject
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23
vtkPVInformation
Superclass for information objects.
Definition: vtkPVInformation.h:19
vtkPVInformation::CopyToStream
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
vtkPVInformation::CopyFromStream
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.