public class MeasurementData extends java.lang.Object implements JmolMeasurementClient
| Modifier and Type | Field and Description |
|---|---|
private Atom[] |
atoms |
private JmolMeasurementClient |
client |
boolean |
isAll |
private java.util.List |
measurementStrings |
boolean |
mustBeConnected |
boolean |
mustNotBeConnected |
java.util.List |
points |
float[] |
rangeMinMax |
java.lang.String |
strFormat |
TickInfo |
tickInfo |
int |
tokAction |
private java.lang.String |
units |
private Viewer |
viewer |
| Constructor and Description |
|---|
MeasurementData(java.util.List points,
int tokAction,
float[] rangeMinMax,
java.lang.String strFormat,
java.lang.String units,
TickInfo tickInfo,
boolean mustBeConnected,
boolean mustNotBeConnected,
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 |
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 measurementStrings
private Atom[] atoms
public boolean mustBeConnected
public boolean mustNotBeConnected
public TickInfo tickInfo
public int tokAction
public java.util.List points
public float[] rangeMinMax
public java.lang.String strFormat
public boolean isAll
private java.lang.String units
private Viewer viewer
public MeasurementData(java.util.List points,
int tokAction,
float[] rangeMinMax,
java.lang.String strFormat,
java.lang.String units,
TickInfo tickInfo,
boolean mustBeConnected,
boolean mustNotBeConnected,
boolean isAll)
public void processNextMeasure(Measurement m)
processNextMeasure in interface JmolMeasurementClientm - public java.util.List 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 -