VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkBlueObeliskData Class Reference

Contains chemical data from the Blue Obelisk Data Repository. More...

#include <vtkBlueObeliskData.h>

Inheritance diagram for vtkBlueObeliskData:
Inheritance graph
[legend]
Collaboration diagram for vtkBlueObeliskData:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Initialize ()
bool IsInitialized ()
 vtkGetNewMacro (Masses, vtkFloatArray)
 vtkGetNewMacro (ExactMasses, vtkFloatArray)
 vtkGetNewMacro (IonizationEnergies, vtkFloatArray)
 vtkGetNewMacro (ElectronAffinities, vtkFloatArray)
 vtkGetNewMacro (PaulingElectronegativities, vtkFloatArray)
 vtkGetNewMacro (CovalentRadii, vtkFloatArray)
 vtkGetNewMacro (VDWRadii, vtkFloatArray)
 vtkGetNewMacro (DefaultColors, vtkFloatArray)
 vtkGetNewMacro (BoilingPoints, vtkFloatArray)
 vtkGetNewMacro (MeltingPoints, vtkFloatArray)
 vtkGetNewMacro (Periods, vtkUnsignedShortArray)
 vtkGetNewMacro (Groups, vtkUnsignedShortArray)
virtual vtkSimpleMutexLockGetWriteMutex ()
virtual unsigned short GetNumberOfElements ()
 vtkGetNewMacro (Symbols, vtkStringArray)
 vtkGetNewMacro (LowerSymbols, vtkStringArray)
 vtkGetNewMacro (Names, vtkStringArray)
 vtkGetNewMacro (LowerNames, vtkStringArray)
 vtkGetNewMacro (PeriodicTableBlocks, vtkStringArray)
 vtkGetNewMacro (ElectronicConfigurations, vtkStringArray)
 vtkGetNewMacro (Families, vtkStringArray)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkBlueObeliskDataSafeDownCast (vtkObject *o)
static vtkBlueObeliskDataNew ()

Protected Member Functions

 vtkBlueObeliskData ()
 ~vtkBlueObeliskData ()
virtual int Allocate (vtkIdType sz, vtkIdType ext=1000)
virtual void Reset ()
virtual void Squeeze ()
void PrintSelfIfExists (const char *, vtkObject *, ostream &, vtkIndent)

Protected Attributes

vtkSimpleMutexLockWriteMutex
bool Initialized
unsigned short NumberOfElements
MyStdVectorOfVtkAbstractArrays * Arrays
vtkNew< vtkStringArraySymbols
vtkNew< vtkStringArrayLowerSymbols
vtkNew< vtkStringArrayNames
vtkNew< vtkStringArrayLowerNames
vtkNew< vtkStringArrayPeriodicTableBlocks
vtkNew< vtkStringArrayElectronicConfigurations
vtkNew< vtkStringArrayFamilies
vtkNew< vtkFloatArrayMasses
vtkNew< vtkFloatArrayExactMasses
vtkNew< vtkFloatArrayIonizationEnergies
vtkNew< vtkFloatArrayElectronAffinities
vtkNew< vtkFloatArrayPaulingElectronegativities
vtkNew< vtkFloatArrayCovalentRadii
vtkNew< vtkFloatArrayVDWRadii
vtkNew< vtkFloatArrayDefaultColors
vtkNew< vtkFloatArrayBoilingPoints
vtkNew< vtkFloatArrayMeltingPoints
vtkNew< vtkUnsignedShortArrayPeriods
vtkNew< vtkUnsignedShortArrayGroups

Friends

class vtkBlueObeliskDataParser

Detailed Description

Contains chemical data from the Blue Obelisk Data Repository.

The Blue Obelisk Data Repository is a free, open repository of chemical information. This class is a container for this information.

Note:
This class contains only the raw arrays parsed from the BODR. For more convenient access to this data, use the vtkPeriodicTable class.
If you must use this class directly, consider using the static vtkBlueObeliskData object accessible through vtkPeriodicTable::GetBlueObeliskData(). This object is automatically populated on the first instantiation of vtkPeriodicTable.

Definition at line 50 of file vtkBlueObeliskData.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 53 of file vtkBlueObeliskData.h.


Constructor & Destructor Documentation

vtkBlueObeliskData::vtkBlueObeliskData ( ) [protected]
vtkBlueObeliskData::~vtkBlueObeliskData ( ) [protected]

Member Function Documentation

virtual const char* vtkBlueObeliskData::GetClassName ( ) [virtual]

Reimplemented from vtkObject.

static int vtkBlueObeliskData::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkBlueObeliskData::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

static vtkBlueObeliskData* vtkBlueObeliskData::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkObject.

void vtkBlueObeliskData::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

static vtkBlueObeliskData* vtkBlueObeliskData::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

void vtkBlueObeliskData::Initialize ( )

Fill this object using an internal vtkBlueObeliskDataParser instance. Check that the vtkSimpleMutexLock GetWriteMutex() is locked before calling this method on a static instance in a multithreaded environment.

bool vtkBlueObeliskData::IsInitialized ( ) [inline]

Check if this object has been initialized yet.

Definition at line 64 of file vtkBlueObeliskData.h.

virtual vtkSimpleMutexLock* vtkBlueObeliskData::GetWriteMutex ( ) [virtual]

Access the mutex that protects the arrays during a call to Initialize()

virtual unsigned short vtkBlueObeliskData::GetNumberOfElements ( ) [virtual]

Return the number of elements for which this vtkBlueObeliskData instance contains information.

vtkBlueObeliskData::vtkGetNewMacro ( Symbols  ,
vtkStringArray   
)

Access the raw arrays stored in this vtkBlueObeliskData.

vtkBlueObeliskData::vtkGetNewMacro ( LowerSymbols  ,
vtkStringArray   
)

Access the raw arrays stored in this vtkBlueObeliskData.

vtkBlueObeliskData::vtkGetNewMacro ( Names  ,
vtkStringArray   
)

Access the raw arrays stored in this vtkBlueObeliskData.

vtkBlueObeliskData::vtkGetNewMacro ( LowerNames  ,
vtkStringArray   
)

Access the raw arrays stored in this vtkBlueObeliskData.

vtkBlueObeliskData::vtkGetNewMacro ( PeriodicTableBlocks  ,
vtkStringArray   
)

Access the raw arrays stored in this vtkBlueObeliskData.

vtkBlueObeliskData::vtkGetNewMacro ( ElectronicConfigurations  ,
vtkStringArray   
)

Access the raw arrays stored in this vtkBlueObeliskData.

vtkBlueObeliskData::vtkGetNewMacro ( Families  ,
vtkStringArray   
)

Access the raw arrays stored in this vtkBlueObeliskData.

vtkBlueObeliskData::vtkGetNewMacro ( Masses  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( ExactMasses  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( IonizationEnergies  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( ElectronAffinities  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( PaulingElectronegativities  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( CovalentRadii  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( VDWRadii  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( DefaultColors  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( BoilingPoints  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( MeltingPoints  ,
vtkFloatArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( Periods  ,
vtkUnsignedShortArray   
)
vtkBlueObeliskData::vtkGetNewMacro ( Groups  ,
vtkUnsignedShortArray   
)
virtual int vtkBlueObeliskData::Allocate ( vtkIdType  sz,
vtkIdType  ext = 1000 
) [protected, virtual]

Allocate enough memory in each array for sz elements. ext is not used.

virtual void vtkBlueObeliskData::Reset ( ) [protected, virtual]

Reset each array.

virtual void vtkBlueObeliskData::Squeeze ( ) [protected, virtual]

Free any unused memory in the member arrays

void vtkBlueObeliskData::PrintSelfIfExists ( const char *  ,
vtkObject ,
ostream &  ,
vtkIndent   
) [protected]

Friends And Related Function Documentation

friend class vtkBlueObeliskDataParser [friend]

Definition at line 104 of file vtkBlueObeliskData.h.


Member Data Documentation

Definition at line 109 of file vtkBlueObeliskData.h.

Definition at line 110 of file vtkBlueObeliskData.h.

unsigned short vtkBlueObeliskData::NumberOfElements [protected]

Definition at line 122 of file vtkBlueObeliskData.h.

MyStdVectorOfVtkAbstractArrays* vtkBlueObeliskData::Arrays [protected]

Definition at line 125 of file vtkBlueObeliskData.h.

Definition at line 128 of file vtkBlueObeliskData.h.

Definition at line 129 of file vtkBlueObeliskData.h.

Definition at line 132 of file vtkBlueObeliskData.h.

Definition at line 133 of file vtkBlueObeliskData.h.

Definition at line 136 of file vtkBlueObeliskData.h.

Definition at line 137 of file vtkBlueObeliskData.h.

Definition at line 138 of file vtkBlueObeliskData.h.

Definition at line 141 of file vtkBlueObeliskData.h.

Definition at line 142 of file vtkBlueObeliskData.h.

Definition at line 143 of file vtkBlueObeliskData.h.

Definition at line 144 of file vtkBlueObeliskData.h.

Definition at line 145 of file vtkBlueObeliskData.h.

Definition at line 146 of file vtkBlueObeliskData.h.

Definition at line 147 of file vtkBlueObeliskData.h.

Definition at line 148 of file vtkBlueObeliskData.h.

Definition at line 149 of file vtkBlueObeliskData.h.

Definition at line 150 of file vtkBlueObeliskData.h.

Definition at line 151 of file vtkBlueObeliskData.h.

Definition at line 152 of file vtkBlueObeliskData.h.


The documentation for this class was generated from the following file: