vtkSMNewWidgetRepresentationProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkSMNewWidgetRepresentationProxy_h
18 #define vtkSMNewWidgetRepresentationProxy_h
19 
20 #include "vtkRemotingViewsModule.h" //needed for exports
22 class vtkSMViewProxy;
23 class vtkAbstractWidget;
24 
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
37  vtkGetObjectMacro(Widget, vtkAbstractWidget);
39 
41 
44  vtkGetObjectMacro(RepresentationProxy, vtkSMProxy);
46 
47 protected:
50 
55  void CreateVTKObjects() override;
56 
57  vtkSMProxy* RepresentationProxy = nullptr;
58  vtkSMProxy* WidgetProxy = nullptr;
59  vtkAbstractWidget* Widget = nullptr;
60 
64  void ExecuteEvent(unsigned long event) override;
65 
66 private:
68  void operator=(const vtkSMNewWidgetRepresentationProxy&) = delete;
69 };
70 
71 #endif
#define VTKREMOTINGVIEWS_EXPORT
virtual void ExecuteEvent(unsigned long event)=0
Called every time the user interacts with the widget.
Superclass for all view proxies.
proxy for 3D widgets and their representations in ParaView.
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)
void PrintSelf(ostream &os, vtkIndent indent) override
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
Abstract class for proxies for 2D and 3D widgets.