VTK
vtkMaterialLibrary.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMaterialLibrary.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
24 #ifndef __vtkMaterialLibrary_h
25 #define __vtkMaterialLibrary_h
26 
27 #include "vtkObject.h"
28 
30 {
31 public:
32  static vtkMaterialLibrary* New();
33  vtkTypeMacro(vtkMaterialLibrary, vtkObject);
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
40  static char* GetMaterial(const char* name);
41 
45  static const char** GetListOfMaterialNames();
46 
48 
49  static unsigned int GetNumberOfMaterials();
50 protected:
54 
55 private:
56  vtkMaterialLibrary(const vtkMaterialLibrary&); // Not implemented.
57  void operator=(const vtkMaterialLibrary&); // Not implemented.
58 };
59 
60 #endif
61