Class MeasurementParameters
java.lang.Object
com.flir.thermalsdk.image.measurements.MeasurementParameters
Defines a common set of measurement parameters. THese parameters overwrite the parameters defined
by the image. It allows more detailed adjustments and can provide more accurate results.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks, if local parameters should be used for the givenMeasurementShape
.void
enableCustomObjectParameters
(boolean enable) Sets, if local parameters should be used for the givenMeasurementShape
.double
Gets the distance to the object for theMeasurementShape
.double
Gets object's emissivity for theMeasurementShape
.double
Gets the object's reflected temperature for theMeasurementShape
.void
setDistance
(double distance) Sets the distance to the object for theMeasurementShape
.void
setEmissivity
(double emissivity) Sets the object's emissivity for theMeasurementShape
.void
setReflectedTemperature
(double reflectedTemperature) Sets the object's reflected temperature for theMeasurementShape
.
-
Method Details
-
getDistance
public double getDistance()Gets the distance to the object for theMeasurementShape
.- Returns:
- the distance to the object.
-
setDistance
public void setDistance(double distance) Sets the distance to the object for theMeasurementShape
.- Parameters:
distance
- the distance for the object.
-
getEmissivity
public double getEmissivity()Gets object's emissivity for theMeasurementShape
.- Returns:
- the object's emissivity.
-
setEmissivity
public void setEmissivity(double emissivity) Sets the object's emissivity for theMeasurementShape
.- Parameters:
emissivity
- the emissivity to set.
-
getReflectedTemperature
public double getReflectedTemperature()Gets the object's reflected temperature for theMeasurementShape
.- Returns:
- the object's reflected temperature.
-
setReflectedTemperature
public void setReflectedTemperature(double reflectedTemperature) Sets the object's reflected temperature for theMeasurementShape
.- Parameters:
reflectedTemperature
- the reflected temperature to set.
-
areCustomObjectParametersEnabled
public boolean areCustomObjectParametersEnabled()Checks, if local parameters should be used for the givenMeasurementShape
. If local parameters are used, they replace the same values associated with the image. This allows better measurement of the object's temperature.- Returns:
true
, if local parameters should be used,false
if the image parameters should be used.
-
enableCustomObjectParameters
public void enableCustomObjectParameters(boolean enable) Sets, if local parameters should be used for the givenMeasurementShape
. If local parameters are used, they replace the same values associated with the image. This allows better measurement of the object's temperature.- Parameters:
enable
-true
, if local parameters should be used,false
if the image parameters should be used.
-