vtkPVMaterialLibrary.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkPVMaterialLibrary_h
15 #define vtkPVMaterialLibrary_h
16 
17 #include "vtkRemotingViewsModule.h" //needed for exports
18 
19 #include "vtkObject.h"
20 #include <string> //for std::string
21 
23 {
24 public:
25  static vtkPVMaterialLibrary* New();
27 
28  void PrintSelf(ostream& os, vtkIndent indent) override;
34  void ReadRelativeFile(const char* FileName);
35 
41  vtkGetStringMacro(SearchPaths);
42 
47  vtkObject* GetMaterialLibrary();
48 
52  bool ReadFile(const char* FileName);
56  const char* WriteBuffer();
57  void WriteFile(const std::string& filename);
61  bool ReadBuffer(const char*);
62 
63 protected:
65  ~vtkPVMaterialLibrary() override;
66 
67  vtkSetStringMacro(SearchPaths);
68 
69  char* SearchPaths;
70 
72 
73 private:
75  void operator=(const vtkPVMaterialLibrary&) = delete;
76 };
77 
78 #endif
#define VTKREMOTINGVIEWS_EXPORT
manages visual material definitions
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkObject * New()
void operator=(const vtkObjectBase &)