VTK  9.1.0
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.
 
vtkMoleculeGetMolecule ()
 Return the parent molecule of this atom.
 
unsigned short GetAtomicNumber () const
 Get/Set the atomic number of this atom.
 
void SetAtomicNumber (unsigned short atomicNum)
 Get/Set the atomic number of this atom.
 
void GetPosition (float pos[3]) const
 Get/Set the position of this atom.
 
void GetPosition (double pos[3]) const
 Get/Set the position of this atom.
 
void SetPosition (const float pos[3])
 Get/Set the position of this atom.
 
void SetPosition (float x, float y, float z)
 Get/Set the position of this atom.
 
vtkVector3f GetPosition () const
 Get/Set the position of this atom.
 
void SetPosition (const vtkVector3f &pos)
 Get/Set the position of this atom.
 

Protected Member Functions

 vtkAtom (vtkMolecule *parent, vtkIdType id)
 

Protected Attributes

vtkMoleculeMolecule
 
vtkIdType Id
 

Friends

class vtkMolecule
 

Detailed Description

convenience proxy for vtkMolecule

Definition at line 31 of file vtkAtom.h.

Constructor & Destructor Documentation

◆ vtkAtom()

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

Member Function Documentation

◆ PrintSelf()

void vtkAtom::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ GetId()

vtkIdType vtkAtom::GetId ( ) const
inline

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

Definition at line 75 of file vtkAtom.h.

◆ GetMolecule()

vtkMolecule * vtkAtom::GetMolecule ( )
inline

Return the parent molecule of this atom.

Definition at line 80 of file vtkAtom.h.

◆ GetAtomicNumber()

unsigned short vtkAtom::GetAtomicNumber ( ) const

Get/Set the atomic number of this atom.

◆ SetAtomicNumber()

void vtkAtom::SetAtomicNumber ( unsigned short  atomicNum)

Get/Set the atomic number of this atom.

◆ GetPosition() [1/3]

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

Get/Set the position of this atom.

◆ GetPosition() [2/3]

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

Get/Set the position of this atom.

◆ SetPosition() [1/3]

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

Get/Set the position of this atom.

◆ SetPosition() [2/3]

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

Get/Set the position of this atom.

◆ GetPosition() [3/3]

vtkVector3f vtkAtom::GetPosition ( ) const

Get/Set the position of this atom.

◆ SetPosition() [3/3]

void vtkAtom::SetPosition ( const vtkVector3f pos)

Get/Set the position of this atom.

Friends And Related Function Documentation

◆ vtkMolecule

friend class vtkMolecule
friend

Definition at line 67 of file vtkAtom.h.

Member Data Documentation

◆ Molecule

vtkMolecule* vtkAtom::Molecule
protected

Definition at line 71 of file vtkAtom.h.

◆ Id

vtkIdType vtkAtom::Id
protected

Definition at line 72 of file vtkAtom.h.


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