VTK
dox/IO/vtkMaterialLibrary.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkMaterialLibrary.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00024 #ifndef __vtkMaterialLibrary_h
00025 #define __vtkMaterialLibrary_h
00026 
00027 #include "vtkObject.h"
00028 
00029 class VTK_IO_EXPORT vtkMaterialLibrary : public vtkObject
00030 {
00031 public:
00032   static vtkMaterialLibrary* New();
00033   vtkTypeMacro(vtkMaterialLibrary, vtkObject);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00040   static char* GetMaterial(const char* name);
00041 
00045   static const char** GetListOfMaterialNames();
00046 
00048 
00049   static unsigned int GetNumberOfMaterials();
00050 protected:
00051   vtkMaterialLibrary();
00052   ~vtkMaterialLibrary();
00054 
00055 private:
00056   vtkMaterialLibrary(const vtkMaterialLibrary&); // Not implemented.
00057   void operator=(const vtkMaterialLibrary&); // Not implemented.
00058 };
00059 
00060 #endif
00061