VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Chemistry
vtkPeriodicTable.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPeriodicTable.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
=========================================================================*/
28
#ifndef __vtkPeriodicTable_h
29
#define __vtkPeriodicTable_h
30
31
#include "
vtkObject.h
"
32
#include "
vtkNew.h
"
33
34
class
vtkBlueObeliskData
;
35
class
vtkColor3f
;
36
class
vtkLookupTable
;
37
class
vtkStdString
;
38
39
class
VTK_CHEMISTRY_EXPORT
vtkPeriodicTable
:
public
vtkObject
40
{
41
public
:
42
vtkTypeMacro(
vtkPeriodicTable
,
vtkObject
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
static
vtkPeriodicTable
*
New
();
45
47
49
vtkGetNewMacro(BlueObeliskData,
vtkBlueObeliskData
);
51
53
unsigned
short
GetNumberOfElements();
54
57
const
char
* GetSymbol(
const
unsigned
short
atomicNum);
58
60
const
char
* GetElementName(
const
unsigned
short
atomicNum);
61
63
65
unsigned
short
GetAtomicNumber(
const
vtkStdString
&str);
66
unsigned
short
GetAtomicNumber(
const
char
*str);
68
70
float
GetCovalentRadius(
const
unsigned
short
atomicNum);
71
73
float
GetVDWRadius(
const
unsigned
short
atomicNum);
74
77
void
GetDefaultLUT(
vtkLookupTable
*);
78
81
void
GetDefaultRGBTuple(
unsigned
short
atomicNum,
float
rgb[3]);
82
85
vtkColor3f
GetDefaultRGBTuple(
unsigned
short
atomicNum);
86
87
protected
:
88
vtkPeriodicTable
();
89
~
vtkPeriodicTable
();
90
91
static
vtkNew<vtkBlueObeliskData>
BlueObeliskData
;
92
93
private
:
94
vtkPeriodicTable
(
const
vtkPeriodicTable
&);
// Not implemented
95
void
operator=(
const
vtkPeriodicTable
&);
// Not implemented
96
};
97
98
#endif
Generated on Tue Jan 8 2013 05:45:23 for VTK by
1.8.1.2