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
 
vtkMoleculeGetMolecule ()
 
unsigned short GetAtomicNumber () const
 
void SetAtomicNumber (unsigned short atomicNum)
 
void GetPosition (float pos[3]) const
 
void GetPosition (double pos[3]) const
 
void SetPosition (const float pos[3])
 
void SetPosition (float x, float y, float z)
 
vtkVector3f GetPosition () const
 
void SetPosition (const vtkVector3f &pos)
 

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 33 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 69 of file vtkAtom.h.

vtkMolecule * vtkAtom::GetMolecule ( )
inline

Return the parent molecule of this atom.

Definition at line 74 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 61 of file vtkAtom.h.

Member Data Documentation

vtkMolecule* vtkAtom::Molecule
protected

Definition at line 65 of file vtkAtom.h.

vtkIdType vtkAtom::Id
protected

Definition at line 66 of file vtkAtom.h.


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