vtkSMMaterialLibraryProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkSMMaterialLibraryProxy_h
13 #define vtkSMMaterialLibraryProxy_h
14 
15 #include "vtkPVSession.h"
16 #include "vtkRemotingViewsModule.h" //needed for exports
17 #include "vtkSMProxy.h"
18 
19 class VTKREMOTINGVIEWS_EXPORT vtkSMMaterialLibraryProxy : public vtkSMProxy
20 {
21 public:
24 
31 
35  void LoadDefaultMaterials();
36 
40  void LoadMaterials(const char*);
41 
45  void UpdateVTKObjects() override;
46 
47 protected:
48  vtkSMMaterialLibraryProxy() = default;
49  ~vtkSMMaterialLibraryProxy() override = default;
50 
51 private:
53  void operator=(const vtkSMMaterialLibraryProxy&) = delete;
54  bool DefaultMaterialsLoaded = false;
55 };
56 
57 #endif
vtkSMProxy::New
static vtkSMProxy * New()
vtkSMMaterialLibraryProxy
proxy for a camera.
Definition: vtkSMMaterialLibraryProxy.h:19
vtkSMProxy::UpdateVTKObjects
virtual void UpdateVTKObjects()
Update the VTK object on the server by pushing the values of all modified properties (un-modified pro...
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
vtkPVSession::ServerFlags
ServerFlags
Definition: vtkPVSession.h:29
vtkSMProxy::operator=
void operator=(const vtkSMProxy &)=delete
vtkPVSession.h
vtkPVSession::CLIENT
@ CLIENT
Definition: vtkPVSession.h:37
vtkPVSession::RENDER_SERVER_ROOT
@ RENDER_SERVER_ROOT
Definition: vtkPVSession.h:35
vtkSMProxy.h