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

convenience proxy for vtkMolecule More...

#include <vtkBond.h>

Collaboration diagram for vtkBond:
[legend]

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
 
vtkIdType GetId () const
 Return the Id used to identify this bond in the parent molecule.
 
vtkMoleculeGetMolecule ()
 Return the parent molecule of this bond.
 
unsigned short GetOrder ()
 Get the bond order for this bond.
 
double GetLength () const
 Get the distance between the bonded atoms.
 
vtkIdType GetBeginAtomId () const
 Get the starting / ending atom ids for this bond.
 
vtkIdType GetEndAtomId () const
 Get the starting / ending atom ids for this bond.
 
vtkAtom GetBeginAtom ()
 Get a vtkAtom object that refers to the starting / ending atom for this bond.
 
vtkAtom GetEndAtom ()
 Get a vtkAtom object that refers to the starting / ending atom for this bond.
 
vtkAtom GetBeginAtom () const
 Get a vtkAtom object that refers to the starting / ending atom for this bond.
 
vtkAtom GetEndAtom () const
 Get a vtkAtom object that refers to the starting / ending atom for this bond.
 

Protected Member Functions

 vtkBond (vtkMolecule *parent, vtkIdType id, vtkIdType beginAtomId, vtkIdType endAtomId)
 

Protected Attributes

vtkMoleculeMolecule
 
vtkIdType Id
 
vtkIdType BeginAtomId
 
vtkIdType EndAtomId
 

Friends

class vtkMolecule
 

Detailed Description

convenience proxy for vtkMolecule

Definition at line 30 of file vtkBond.h.

Constructor & Destructor Documentation

◆ vtkBond()

vtkBond::vtkBond ( vtkMolecule parent,
vtkIdType  id,
vtkIdType  beginAtomId,
vtkIdType  endAtomId 
)
protected

Member Function Documentation

◆ PrintSelf()

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

◆ GetId()

vtkIdType vtkBond::GetId ( ) const
inline

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

Definition at line 88 of file vtkBond.h.

◆ GetMolecule()

vtkMolecule * vtkBond::GetMolecule ( )
inline

Return the parent molecule of this bond.

Definition at line 93 of file vtkBond.h.

◆ GetBeginAtomId()

vtkIdType vtkBond::GetBeginAtomId ( ) const

Get the starting / ending atom ids for this bond.

◆ GetEndAtomId()

vtkIdType vtkBond::GetEndAtomId ( ) const

Get the starting / ending atom ids for this bond.

◆ GetBeginAtom() [1/2]

vtkAtom vtkBond::GetBeginAtom ( )

Get a vtkAtom object that refers to the starting / ending atom for this bond.

◆ GetEndAtom() [1/2]

vtkAtom vtkBond::GetEndAtom ( )

Get a vtkAtom object that refers to the starting / ending atom for this bond.

◆ GetBeginAtom() [2/2]

vtkAtom vtkBond::GetBeginAtom ( ) const

Get a vtkAtom object that refers to the starting / ending atom for this bond.

◆ GetEndAtom() [2/2]

vtkAtom vtkBond::GetEndAtom ( ) const

Get a vtkAtom object that refers to the starting / ending atom for this bond.

◆ GetOrder()

unsigned short vtkBond::GetOrder ( )

Get the bond order for this bond.

◆ GetLength()

double vtkBond::GetLength ( ) const

Get the distance between the bonded atoms.

Note
This function is faster than vtkMolecule::GetBondLength and should be used when possible.

Friends And Related Function Documentation

◆ vtkMolecule

friend class vtkMolecule
friend

Definition at line 78 of file vtkBond.h.

Member Data Documentation

◆ Molecule

vtkMolecule* vtkBond::Molecule
protected

Definition at line 82 of file vtkBond.h.

◆ Id

vtkIdType vtkBond::Id
protected

Definition at line 83 of file vtkBond.h.

◆ BeginAtomId

vtkIdType vtkBond::BeginAtomId
protected

Definition at line 84 of file vtkBond.h.

◆ EndAtomId

vtkIdType vtkBond::EndAtomId
protected

Definition at line 85 of file vtkBond.h.


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