public class MeasurementData extends java.lang.Object implements JmolMeasurementClient
| Modifier and Type | Field and Description |
|---|---|
private Atom[] |
atoms |
private JmolMeasurementClient |
client |
java.lang.Boolean |
intramolecular |
boolean |
isAll |
private java.util.List<java.lang.String> |
measurementStrings |
boolean |
mustBeConnected |
boolean |
mustNotBeConnected |
java.util.List<java.lang.Object> |
points |
RadiusData |
radiusData |
java.lang.String |
strFormat |
TickInfo |
tickInfo |
int |
tokAction |
private java.lang.String |
units |
private Viewer |
viewer |
| Constructor and Description |
|---|
MeasurementData(java.util.List<java.lang.Object> points,
int tokAction,
RadiusData radiusData,
java.lang.String strFormat,
java.lang.String units,
TickInfo tickInfo,
boolean mustBeConnected,
boolean mustNotBeConnected,
java.lang.Boolean intramolecular,
boolean isAll) |
| Modifier and Type | Method and Description |
|---|---|
void |
define(JmolMeasurementClient client,
ModelSet modelSet)
called by the client to generate a set of measurements
|
java.util.List<java.lang.String> |
getMeasurements(Viewer viewer)
if this is the client, then this method
can be called to get the result vector
|
private void |
nextMeasure(int thispt,
int ptLastAtom,
Measurement m,
int thisModel)
iterator for measurements
|
void |
processNextMeasure(Measurement m)
if this is the client, then this method is
called by MeasurementData when a measurement is ready
|
private JmolMeasurementClient client
private java.util.List<java.lang.String> measurementStrings
private Atom[] atoms
public boolean mustBeConnected
public boolean mustNotBeConnected
public TickInfo tickInfo
public int tokAction
public java.util.List<java.lang.Object> points
public RadiusData radiusData
public java.lang.String strFormat
public boolean isAll
private java.lang.String units
public java.lang.Boolean intramolecular
private Viewer viewer
public MeasurementData(java.util.List<java.lang.Object> points,
int tokAction,
RadiusData radiusData,
java.lang.String strFormat,
java.lang.String units,
TickInfo tickInfo,
boolean mustBeConnected,
boolean mustNotBeConnected,
java.lang.Boolean intramolecular,
boolean isAll)
public void processNextMeasure(Measurement m)
processNextMeasure in interface JmolMeasurementClientm - public java.util.List<java.lang.String> getMeasurements(Viewer viewer)
viewer - public void define(JmolMeasurementClient client, ModelSet modelSet)
client - or null to specify this to be our own clientmodelSet - private void nextMeasure(int thispt,
int ptLastAtom,
Measurement m,
int thisModel)
thispt - ptLastAtom - m - thisModel -