Package org.jmol.modelset
Class MeasurementData
java.lang.Object
org.jmol.modelset.MeasurementData
- All Implemented Interfaces:
JmolMeasurementClient
-
Field Summary
FieldsModifier and TypeFieldDescriptionshort
float
boolean
int
boolean
boolean
int
-
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.void
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, BS bsSelected)
-
Field Details
-
bsSelected
-
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 -
htMin
-
-
Constructor Details
-
MeasurementData
public MeasurementData()
-
-
Method Details
-
init
-
setModelSet
-
set
public MeasurementData set(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, BS bsSelected) -
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
-
-