Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

GeometryBond Class Reference

GeometryMol subclass to measure and display bond lengths and distances. More...

#include <GeometryBond.h>

Inheritance diagram for GeometryBond:

GeometryMol Displayable Pickable List of all members.

Public Methods

 GeometryBond (int *, int *, const int *cell, MoleculeList *, CommandQueue *, Displayable *)
 constructor: molecule id's, atom indices, molecule list. More...

virtual float calculate (void)
 recalc bond length/distance and return it. More...

virtual void create_cmd_list ()
 draw the geometry marker. More...

virtual void set_pick (void)
 use the TCL variables. More...


Detailed Description

GeometryMol subclass to measure and display bond lengths and distances.

Definition at line 29 of file GeometryBond.h.


Constructor & Destructor Documentation

GeometryBond::GeometryBond int *   ,
int *   ,
const int *    cell,
MoleculeList  ,
CommandQueue  ,
Displayable  
 

constructor: molecule id's, atom indices, molecule list.

Definition at line 33 of file GeometryBond.C.


Member Function Documentation

float GeometryBond::calculate void    [virtual]
 

recalc bond length/distance and return it.

Reimplemented from GeometryMol.

Definition at line 38 of file GeometryBond.C.

References GeometryMol::geomValue, norm, GeometryMol::normal_atom_coord, and vec_sub.

void GeometryBond::create_cmd_list   [virtual]
 

draw the geometry marker.

Implements GeometryMol.

Definition at line 53 of file GeometryBond.C.

References Displayable::append, Displayable::cmdList, DASHEDLINE, GeometryMol::display_line, GeometryMol::display_string, DMATERIALOFF, GeometryMol::geomValue, midpoint, GeometryMol::my_color, DispCmdLineWidth::putdata, DispCmdLineType::putdata, DispCmdColorIndex::putdata, Displayable::reset_disp_list, GeometryMol::transformed_atom_coord, and GeometryMol::valuePos.

void GeometryBond::set_pick void    [virtual]
 

use the TCL variables.

Reimplemented from GeometryMol.

Definition at line 88 of file GeometryBond.C.

References GeometryMol::comIndex, GeometryMol::geomValue, GeometryMol::objIndex, GeometryMol::set_pick_selection, and GeometryMol::set_pick_value.


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 02:47:04 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002