vtkSMNew2DWidgetRepresentationProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtkSMNew2DWidgetRepresentationProxy_h
4 #define vtkSMNew2DWidgetRepresentationProxy_h
5 
6 #include "vtkRemotingViewsModule.h" //needed for exports
8 
18 class vtkContextItem;
19 
22 {
23 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
31  vtkGetObjectMacro(ContextItemProxy, vtkSMProxy);
32 
33 protected:
36 
40  void ExecuteEvent(unsigned long event) override;
41 
46  void CreateVTKObjects() override;
47 
49  vtkSMProxy* ContextItemProxy = nullptr;
50 
51 private:
53  void operator=(const vtkSMNew2DWidgetRepresentationProxy&) = delete;
54 };
55 
56 #endif
#define VTKREMOTINGVIEWS_EXPORT
virtual void ExecuteEvent(unsigned long event)=0
Called every time the user interacts with the widget.
proxy for 2D 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.