vtkPVMaterialLibrary.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVMaterialLibrary.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 =========================================================================*/
23 #ifndef vtkPVMaterialLibrary_h
24 #define vtkPVMaterialLibrary_h
25 
26 #include "vtkRemotingViewsModule.h" //needed for exports
27 
28 #include "vtkObject.h"
30 {
31 public:
32  static vtkPVMaterialLibrary* New();
34 
35  void PrintSelf(ostream& os, vtkIndent indent) override;
41  void ReadRelativeFile(const char* FileName);
42 
48  vtkGetStringMacro(SearchPaths);
49 
54  vtkObject* GetMaterialLibrary();
55 
59  bool ReadFile(const char* FileName);
63  const char* WriteBuffer();
67  bool ReadBuffer(const char*);
68 
69 protected:
71  ~vtkPVMaterialLibrary() override;
72 
73  vtkSetStringMacro(SearchPaths);
74 
75  char* SearchPaths;
76 
78 
79 private:
81  void operator=(const vtkPVMaterialLibrary&) = delete;
82 };
83 
84 #endif
#define VTKREMOTINGVIEWS_EXPORT
manages visual material definitions
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkObject * New()
void operator=(const vtkObjectBase &)