vtkSMNewWidgetRepresentationProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMNewWidgetRepresentationProxy.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 =========================================================================*/
29 #ifndef vtkSMNewWidgetRepresentationProxy_h
30 #define vtkSMNewWidgetRepresentationProxy_h
31 
32 #include "vtkRemotingViewsModule.h" //needed for exports
33 #include "vtkSMProxy.h"
34 class vtkSMViewProxy;
35 class vtkSMNewWidgetRepresentationObserver;
36 class vtkAbstractWidget;
37 
38 struct vtkSMNewWidgetRepresentationInternals;
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
51  vtkGetObjectMacro(Widget, vtkAbstractWidget);
53 
55 
58  vtkGetObjectMacro(RepresentationProxy, vtkSMProxy);
60 
62 
70  bool LinkProperties(vtkSMProxy* controlledProxy, vtkSMPropertyGroup* controlledPropertyGroup);
71  bool UnlinkProperties(vtkSMProxy* controlledProxy);
73 
74 protected:
77 
82  void CreateVTKObjects() override;
83 
87  vtkSMNewWidgetRepresentationObserver* Observer;
88  vtkSMNewWidgetRepresentationInternals* Internal;
89 
90  friend class vtkSMNewWidgetRepresentationObserver;
91 
95  virtual void ExecuteEvent(unsigned long event);
96 
100  void ProcessLinkedPropertyEvent(vtkSMProperty* controlledProperty, unsigned long event);
101 
102 private:
104  void operator=(const vtkSMNewWidgetRepresentationProxy&) = delete;
105 };
106 
107 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
Superclass for all view proxies.
superclass for all SM properties
proxy for 3D widgets and their representations in ParaView.
vtkSMNewWidgetRepresentationInternals * Internal
static vtkSMProxy * New()
virtual void CreateVTKObjects()
Given a class name (by setting VTKClassName) and server ids (by setting ServerIDs), this methods instantiates the objects on the server(s)
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
void operator=(const vtkSMProxy &)=delete
vtkSMNewWidgetRepresentationObserver * Observer