vtkSMLightProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMLightProxy.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 =========================================================================*/
22 #ifndef vtkSMLightProxy_h
23 #define vtkSMLightProxy_h
24 
25 #include "vtkRemotingViewsModule.h" //needed for exports
26 #include "vtkSMProxy.h"
27 
28 class vtkSMLightObserver;
29 
31 {
32 public:
33  static vtkSMLightProxy* New();
34  vtkTypeMacro(vtkSMLightProxy, vtkSMProxy);
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37 protected:
39  ~vtkSMLightProxy() override;
40 
41  void CreateVTKObjects() override;
42 
43  void PropertyChanged();
44  friend class vtkSMLightObserver;
45  vtkSMLightObserver* Observer;
46 
47 private:
48  vtkSMLightProxy(const vtkSMLightProxy&) = delete;
49  void operator=(const vtkSMLightProxy&) = delete;
50 };
51 
52 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
a configurable light proxy.
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)
vtkSMLightObserver * Observer
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
void operator=(const vtkSMProxy &)=delete