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