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 =========================================================================*/
26 #ifndef vtkPVMaterialLibrary_h
27 #define vtkPVMaterialLibrary_h
28 
29 #include "vtkRemotingViewsModule.h" //needed for exports
30 
31 #include "vtkObject.h"
32 
34 {
35 public:
36  static vtkPVMaterialLibrary* New();
38 
39  void PrintSelf(ostream& os, vtkIndent indent) override;
45  void ReadRelativeFile(const char* FileName);
46 
52  vtkGetStringMacro(SearchPaths);
53 
58  vtkObject* GetMaterialLibrary();
59 
63  bool ReadFile(const char* FileName);
67  const char* WriteBuffer();
71  bool ReadBuffer(const char*);
72 
73 protected:
75  ~vtkPVMaterialLibrary() override;
76 
77  vtkSetStringMacro(SearchPaths);
78 
79  char* SearchPaths;
80 
82 
83 private:
85  void operator=(const vtkPVMaterialLibrary&) = delete;
86 };
87 
88 #endif
#define VTKREMOTINGVIEWS_EXPORT
manages visual material definitions
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkObject * New()
void operator=(const vtkObjectBase &)