VTK  9.3.20240327
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 23 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 67 of file vtkAtom.h.

◆ GetMolecule()

vtkMolecule * vtkAtom::GetMolecule ( )
inline

Return the parent molecule of this atom.

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

Member Data Documentation

◆ Molecule

vtkMolecule* vtkAtom::Molecule
protected

Definition at line 63 of file vtkAtom.h.

◆ Id

vtkIdType vtkAtom::Id
protected

Definition at line 64 of file vtkAtom.h.


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