VTK
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkAtom Class Reference

convenience proxy for vtkMolecule More...

#include <vtkAtom.h>

Collaboration diagram for vtkAtom:
[legend]

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
 
vtkIdType GetId () const
 Return the Id used to identify this atom in the parent molecule. More...
 
vtkMoleculeGetMolecule ()
 Return the parent molecule of this atom. More...
 
unsigned short GetAtomicNumber () const
 Get/Set the atomic number of this atom. More...
 
void SetAtomicNumber (unsigned short atomicNum)
 Get/Set the atomic number of this atom. More...
 
void GetPosition (float pos[3]) const
 Get/Set the position of this atom. More...
 
void GetPosition (double pos[3]) const
 Get/Set the position of this atom. More...
 
void SetPosition (const float pos[3])
 Get/Set the position of this atom. More...
 
void SetPosition (float x, float y, float z)
 Get/Set the position of this atom. More...
 
vtkVector3f GetPosition () const
 Get/Set the position of this atom. More...
 
void SetPosition (const vtkVector3f &pos)
 Get/Set the position of this atom. More...
 

Protected Member Functions

 vtkAtom (vtkMolecule *parent, vtkIdType id)
 

Protected Attributes

vtkMoleculeMolecule
 
vtkIdType Id
 

Friends

class vtkMolecule
 

Detailed Description

convenience proxy for vtkMolecule

Tests:
vtkAtom (Tests)

Definition at line 34 of file vtkAtom.h.

Constructor & Destructor Documentation

vtkAtom::vtkAtom ( vtkMolecule parent,
vtkIdType  id 
)
protected

Member Function Documentation

void vtkAtom::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
vtkIdType vtkAtom::GetId ( ) const
inline

Return the Id used to identify this atom in the parent molecule.

Definition at line 78 of file vtkAtom.h.

vtkMolecule * vtkAtom::GetMolecule ( )
inline

Return the parent molecule of this atom.

Definition at line 83 of file vtkAtom.h.

unsigned short vtkAtom::GetAtomicNumber ( ) const

Get/Set the atomic number of this atom.

void vtkAtom::SetAtomicNumber ( unsigned short  atomicNum)

Get/Set the atomic number of this atom.

void vtkAtom::GetPosition ( float  pos[3]) const

Get/Set the position of this atom.

void vtkAtom::GetPosition ( double  pos[3]) const

Get/Set the position of this atom.

void vtkAtom::SetPosition ( const float  pos[3])

Get/Set the position of this atom.

void vtkAtom::SetPosition ( float  x,
float  y,
float  z 
)

Get/Set the position of this atom.

vtkVector3f vtkAtom::GetPosition ( ) const

Get/Set the position of this atom.

void vtkAtom::SetPosition ( const vtkVector3f pos)

Get/Set the position of this atom.

Friends And Related Function Documentation

friend class vtkMolecule
friend

Definition at line 70 of file vtkAtom.h.

Member Data Documentation

vtkMolecule* vtkAtom::Molecule
protected

Definition at line 74 of file vtkAtom.h.

vtkIdType vtkAtom::Id
protected

Definition at line 75 of file vtkAtom.h.


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