VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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
29
class
VTK_IO_EXPORT
vtkMaterialLibrary
:
public
vtkObject
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
:
51
vtkMaterialLibrary
();
52
~
vtkMaterialLibrary
();
54
55
private
:
56
vtkMaterialLibrary
(
const
vtkMaterialLibrary
&);
// Not implemented.
57
void
operator=(
const
vtkMaterialLibrary
&);
// Not implemented.
58
};
59
60
#endif
61
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:60
vtkX3D::name
Definition:
vtkX3D.h:219
vtkObject::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkMaterialLibrary
Library for Materials.
Definition:
vtkMaterialLibrary.h:29
VTK_IO_EXPORT
#define VTK_IO_EXPORT
Definition:
vtkWin32Header.h:277
vtkObject::New
static vtkObject * New()
vtkObject.h
Generated by
1.8.9.1