org.jmol.modelset
Class MeasurementData
java.lang.Object
org.jmol.modelset.MeasurementData
- All Implemented Interfaces:
- JmolMeasurementClient
public class MeasurementData
- extends Object
- implements JmolMeasurementClient
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
private JmolMeasurementClient client
measurementStrings
private List<String> measurementStrings
atoms
private Atom[] atoms
mustBeConnected
public boolean mustBeConnected
mustNotBeConnected
public boolean mustNotBeConnected
tickInfo
public TickInfo tickInfo
tokAction
public int tokAction
points
public List<Object> points
radiusData
public RadiusData radiusData
strFormat
public String strFormat
isAll
public boolean isAll
units
private String units
intramolecular
public Boolean intramolecular
viewer
private Viewer viewer
MeasurementData
public MeasurementData(List<Object> points,
int tokAction,
RadiusData radiusData,
String strFormat,
String units,
TickInfo tickInfo,
boolean mustBeConnected,
boolean mustNotBeConnected,
Boolean intramolecular,
boolean isAll)
processNextMeasure
public void processNextMeasure(Measurement m)
- if this is the client, then this method is
called by MeasurementData when a measurement is ready
- Specified by:
processNextMeasure in interface JmolMeasurementClient
- Parameters:
m -
getMeasurements
public List<String> getMeasurements(Viewer viewer)
- if this is the client, then this method
can be called to get the result vector
- Parameters:
viewer -
- Returns:
- Vector of formatted Strings
define
public void define(JmolMeasurementClient client,
ModelSet modelSet)
- called by the client to generate a set of measurements
- Parameters:
client - or null to specify this to be our own clientmodelSet -
nextMeasure
private void nextMeasure(int thispt,
int ptLastAtom,
Measurement m,
int thisModel)
- iterator for measurements
- Parameters:
thispt - ptLastAtom - m - thisModel -