Package org.jmol.modelset
Class MeasurementData
java.lang.Object
org.jmol.modelset.MeasurementData
- All Implemented Interfaces:
JmolMeasurementClient
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private Atom[]
private JmolMeasurementClient
short
float
private int
boolean
private boolean
int
private javajs.util.Lst<Float>
private javajs.util.Lst<String>
private float[]
private ModelSet
boolean
boolean
javajs.util.Lst<Object>
int
private Viewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
define
(JmolMeasurementClient client, ModelSet modelSet) called by the client to generate a set of measurementsgetMeasurements
(boolean asFloatArray, boolean asMinArray) if this is the client, then this method can be called to get the result vector, either as a string or as an array.private void
nextMeasure
(int thispt, int ptLastAtom, Measurement m, int thisModel) iterator for measurementsvoid
if this is the client, then this method is called by MeasurementData when a measurement is readyset
(int tokAction, Map<String, Integer> htMin, RadiusData radiusData, String property, String strFormat, String units, TickInfo tickInfo, boolean mustBeConnected, boolean mustNotBeConnected, Boolean intramolecular, boolean isAll, int mad, short colix, Text text, float value)
-
Field Details
-
client
-
measurementStrings
-
measurements
-
points
-
mustBeConnected
public boolean mustBeConnected -
mustNotBeConnected
public boolean mustNotBeConnected -
tickInfo
-
tokAction
public int tokAction -
radiusData
-
strFormat
-
property
-
note
-
isAll
public boolean isAll -
colix
public short colix -
intramolecular
-
mad
public int mad -
thisID
-
text
-
units
-
fixedValue
public float fixedValue -
atoms
-
minArray
private float[] minArray -
ms
-
allowSelf
private boolean allowSelf -
vwr
-
iFirstAtom
private int iFirstAtom -
justOneModel
private boolean justOneModel -
htMin
-
-
Constructor Details
-
MeasurementData
public MeasurementData()
-
-
Method Details
-
init
-
setModelSet
-
set
-
processNextMeasure
if this is the client, then this method is called by MeasurementData when a measurement is ready- Specified by:
processNextMeasure
in interfaceJmolMeasurementClient
- Parameters:
m
-
-
getMeasurements
if this is the client, then this method can be called to get the result vector, either as a string or as an array.- Parameters:
asFloatArray
-asMinArray
- array of minimum of a given atom type- Returns:
- Vector of formatted Strings or array of minimum-distance values
-
define
called by the client to generate a set of measurements- Parameters:
client
- or null to specify this to be our own clientmodelSet
-
-
nextMeasure
iterator for measurements- Parameters:
thispt
-ptLastAtom
-m
-thisModel
-
-