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 int IsA (const char *type)
vtkBlueObeliskDataNewInstance () const
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 (vtkObjectBase *o)
static vtkBlueObeliskDataNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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 51 of file vtkBlueObeliskData.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 54 of file vtkBlueObeliskData.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkBlueObeliskData::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

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.

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

Reimplemented from vtkObject.

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.

Check if this object has been initialized yet.

Definition at line 65 of file vtkBlueObeliskData.h.

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.

Access the raw arrays stored in this vtkBlueObeliskData.

Access the raw arrays stored in this vtkBlueObeliskData.

Access the raw arrays stored in this vtkBlueObeliskData.

Access the raw arrays stored in this vtkBlueObeliskData.

Access the raw arrays stored in this vtkBlueObeliskData.

Access the raw arrays stored in this vtkBlueObeliskData.

Access the raw arrays stored in this vtkBlueObeliskData.

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 105 of file vtkBlueObeliskData.h.


Member Data Documentation

Definition at line 110 of file vtkBlueObeliskData.h.

Definition at line 111 of file vtkBlueObeliskData.h.

unsigned short vtkBlueObeliskData::NumberOfElements [protected]

Definition at line 123 of file vtkBlueObeliskData.h.

MyStdVectorOfVtkAbstractArrays* vtkBlueObeliskData::Arrays [protected]

Definition at line 126 of file vtkBlueObeliskData.h.

Definition at line 129 of file vtkBlueObeliskData.h.

Definition at line 130 of file vtkBlueObeliskData.h.

Definition at line 133 of file vtkBlueObeliskData.h.

Definition at line 134 of file vtkBlueObeliskData.h.

Definition at line 137 of file vtkBlueObeliskData.h.

Definition at line 138 of file vtkBlueObeliskData.h.

Definition at line 139 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.

Definition at line 153 of file vtkBlueObeliskData.h.


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