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 
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
#define VTKREMOTINGVIEWS_EXPORT
virtual void UpdateVTKObjects()
Update the VTK object on the server by pushing the values of all modified properties (un-modified pro...
static vtkSMProxy * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
void operator=(const vtkSMProxy &)=delete