Ignore:
Timestamp:
Jul 25, 2013 2:07:37 PM (11 years ago)
Author:
ldelgass
Message:

Add automatic bond generation to VTK molecules: if no bonds are specified (as
lines in VTK file), computes simple single bonds based only on covalent radii.
DataSets? must include the element array for bonds to be computed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/Molecule.h

    r3795 r3839  
    190190    static void addRadiusArray(vtkDataSet *dataSet, AtomScaling scaling, double scaleFactor);
    191191
     192    static int computeBonds(vtkDataSet *dataSet, float tolerance = 0.45f);
     193
    192194    float _bondColor[3];
    193195    double _radiusScale;
Note: See TracChangeset for help on using the changeset viewer.