Skip to content

Inscoper::NBO::CalibrationMap

Represents the XML element CalibrationMap. More...

#include <CalibrationMap.h>

Inherits from NBOBaseClass

Public Functions

Name
CalibrationMap()
~CalibrationMap()
std::string getTypeName() const override
Returns the class type name.
std::string getXMLName() const override
Returns the XML element name corresponding to this class.
ENBOType getNBOType() const override
Returns the NBO Type corresponding to this class.
std::vector< NBOBaseClassPtr > getChildren() const override
Returns a list of all classes derived from this class.
std::vector< NBOBaseClassPtr > getSubElements() const override
Returns a list of all child elements contained in this class.
void fromJsonFile(const std::string & path, bool validate =true)
Populates this object from a JSON file.
void fromJsonString(const std::string & json_string, bool validate =true)
Populates this object from a JSON string.
void fromXmlFile(const std::string & path, bool validate =true)
Populates this object from a XML file.
void fromXmlString(const std::string & xml_string, bool validate =true)
Populates this object from a XML string.
void toXmlFile(const std::string & filename, bool validate =true) const
Serializes this object to an XML file.
std::string toXmlString(bool validate =true) const
Serializes this object to an XML string.
void setMetricType(const Inscoper::NBO::MatrixTypeEnum_TypePtr & value, bool validate =true)
Sets the value of the MetricType attribute.
MatrixTypeEnum_TypePtr getMetricType() const
Returns the value of the MetricType attribute.
void resetMetricType()
Resets the MetricType attribute to an unset state.
bool hasMetricType() const
Checks whether the optional MetricType attribute is present.
void setIlluminationIntensity(const float & value, bool validate =true)
Sets the value of the IlluminationIntensity attribute.
float getIlluminationIntensity() const
Returns the value of the IlluminationIntensity attribute.
void resetIlluminationIntensity()
Resets the IlluminationIntensity attribute to an unset state.
bool hasIlluminationIntensity() const
Checks whether the IlluminationIntensity attribute is present.
void setNrOfImages(const int & value, bool validate =true)
Sets the value of the NrOfImages attribute.
int getNrOfImages() const
Returns the value of the NrOfImages attribute.
void resetNrOfImages()
Resets the NrOfImages attribute to an unset state.
bool hasNrOfImages() const
Checks whether the NrOfImages attribute is present.
void setRow_List(const std::vector< Inscoper::NBO::rowType_TypePtr > & value, bool validate =true)
Sets the list of Row elements.
std::vector< Inscoper::NBO::rowType_TypePtr > getRow_List() const
Returns the list of Row elements.
void addToRow_List(const Inscoper::NBO::rowType_TypePtr & value, bool validate =true)
Adds a new Row element to this object.
void clearRow_List()
Clear the list of Row.
void setDescription(const Inscoper::NBO::DescriptionPtr & value, bool validate =true)
Sets the value of the Description element.
Inscoper::NBO::DescriptionPtr getDescription() const
Returns the value of the Description element.
void resetDescription()
Resets the Description element to an unset state.
bool hasDescription() const
Checks whether the optional Description element is present.
std::shared_ptr< CalibrationMap > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a CalibrationMap.

Detailed Description

class Inscoper::NBO::CalibrationMap;

Represents the XML element CalibrationMap.

This element describes a 2D matrix containing values computed as a resulut of the calibration procedure. This matrix is the same size of the experimental Image this calibration refers to.

Public Functions Documentation

function CalibrationMap

function ~CalibrationMap

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function setMetricType

function getMetricType

function resetMetricType

function hasMetricType

function setIlluminationIntensity

function getIlluminationIntensity

function resetIlluminationIntensity

function hasIlluminationIntensity

function setNrOfImages

function getNrOfImages

function resetNrOfImages

function hasNrOfImages

function setRow_List

function getRow_List

function addToRow_List

function clearRow_List

function setDescription

function getDescription

function resetDescription

function hasDescription

function fromBase