VTK
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkAtom Class Reference

convenience proxy for vtkMolecule More...

#include <vtkAtom.h>

Collaboration diagram for vtkAtom:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~vtkAtom ()
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 71 of file vtkAtom.h.

Return the parent molecule of this atom.

Definition at line 76 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

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


Member Data Documentation

Definition at line 67 of file vtkAtom.h.

vtkIdType vtkAtom::Id [protected]

Definition at line 68 of file vtkAtom.h.


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