#ifndef CHROMATICREGISTRATIONEVALUATION_HPP_INCLUDED
#define CHROMATICREGISTRATIONEVALUATION_HPP_INCLUDED

#include <iostream>
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <vector>
#include <NBO/NBO/LSID_Type.h>
#include <NBO/NBO/UnitsLength_Type.h>
#include <NBO/NBO/ENBOType.h>
#include <NBO/NBOGlobal.h>
#include <NBO/Shared/Base/NBOBaseClass.h>


namespace Inscoper::NBO {

/*!
* \brief Represents the XML element ChromaticRegistrationEvaluation.
*
* According to ISO 21073:2019, co-registration accuracy measures the capacity of a microscope system to image a fluorescent object with different excitation and emission Wavelengths at the same position in the Image. Hence, the spatial distance of the Image positions of a Point-like object (i.e., Spot or Point Emitter) located in the centre of the Field of View (FOV) for different excitation and detection Wavelength bands is denoted as co-registration accuracy. The co-registration accuracy shall be calculated from the Intensity maxima or the Intensity centre of gravity of the Image of the Point-like object for the different Wavelengths. The lateral co-registration accuracy is expressed as: ∆lateral = √(xλ1 - xλ2)^2 + (yλ1 - yλ2)^2; and the axial co-registration accuracy is expressed as: ∆axial = √(zλ1 - zλ2)^2. This element refers to the results of a specific Co-registration Accuracy evaluation assay associated with this Optical Calibration procedure.
*/
class NBO_EXPORT ChromaticRegistrationEvaluation : public NBOBaseClass {

public:
	
	ChromaticRegistrationEvaluation();
	~ChromaticRegistrationEvaluation();

	/*!
	* \brief Cast a NBOBaseClass to a ChromaticRegistrationEvaluation.
	*
	* \param base The base class to cast
	* \return The casted element, or nullptr if the cast fails
	*/
	static std::shared_ptr<ChromaticRegistrationEvaluation> fromBase(NBOBaseClassPtr base);

	/*!
	* \brief Returns the class type name.
	*
	* \return The class type name
	*/
	std::string getTypeName() const override;

	/*!
	* \brief Returns the XML element name corresponding to this class.
	*
	* \return The XML element name
	*/
	std::string getXMLName() const override;

	/*!
	* \brief Returns the NBO Type corresponding to this class.
	*
	* \return The NBO Type value
	*/
	ENBOType getNBOType() const override;

	/*!
	* \brief Returns a list of all classes derived from this class.
	*
	* \return The list of derived classes
	*/
	std::vector<NBOBaseClassPtr> getChildren() const override;

	/*!
	* \brief Returns a list of all child elements contained in this class.
	*
	* \return The list of child classes
	*/
	std::vector<NBOBaseClassPtr> getSubElements() const override;

	/*!
	* \brief Populates this object from a JSON file.
	*
	* \param path The path to the JSON file
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void fromJsonFile(const std::string& path, bool validate = true);

	/*!
	* \brief Populates this object from a JSON string.
	*
	* \param json_string The JSON content as a string
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void fromJsonString(const std::string& json_string, bool validate = true);

	/*!
	* \brief Populates this object from a XML file.
	*
	* \param path The path to the XML file
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void fromXmlFile(const std::string& path, bool validate = true);

	/*!
	* \brief Populates this object from a XML string.
	*
	* \param xml_string The XML content as a string
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void fromXmlString(const std::string& xml_string, bool validate = true);

	/*!
	* \brief Serializes this object to an XML file.
	*
	* \param filename The path to the output XML file
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void toXmlFile(const std::string& filename, bool validate = true) const;

	/*!
	* \brief Serializes this object to an XML string.
	*
	* \param validate If true, validates constraints on value. Default is true.
	* \return A string containing the XML representation of this object
	*/
	std::string toXmlString(bool validate = true) const;

	/*!
	* \brief Sets the value of the ID attribute.
	*
	* A Unique Identifier for this component.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setID(const Inscoper::NBO::LSID_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the ID attribute.
	*
	* A Unique Identifier for this component.
	*
	* \return The value of the attribute
	*/
	LSID_TypePtr getID() const;

	/*!
	* \brief Resets the ID attribute to an unset state.
	*
	* A Unique Identifier for this component.
	*/
	void resetID();

	/*!
	* \brief Checks whether the optional ID attribute is present.
	*
	* A Unique Identifier for this component.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasID() const;

	/*!
	* \brief Sets the value of the ReferenceWavelength attribute.
	*
	* This field captures the Wavelength of the Reference Channel against which the Chromatic Registration Accuracy is being calculated in this procedure.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setReferenceWavelength(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the ReferenceWavelength attribute.
	*
	* This field captures the Wavelength of the Reference Channel against which the Chromatic Registration Accuracy is being calculated in this procedure.
	*
	* \return The value of the attribute
	*/
	float getReferenceWavelength() const;

	/*!
	* \brief Resets the ReferenceWavelength attribute to an unset state.
	*
	* This field captures the Wavelength of the Reference Channel against which the Chromatic Registration Accuracy is being calculated in this procedure.
	*/
	void resetReferenceWavelength();

	/*!
	* \brief Checks whether the ReferenceWavelength attribute is present.
	*
	* This field captures the Wavelength of the Reference Channel against which the Chromatic Registration Accuracy is being calculated in this procedure.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasReferenceWavelength() const;

	/*!
	* \brief Sets the value of the ReferenceWavelengthUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setReferenceWavelengthUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the ReferenceWavelengthUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getReferenceWavelengthUnit() const;

	/*!
	* \brief Resets the ReferenceWavelengthUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetReferenceWavelengthUnit();

	/*!
	* \brief Checks whether the optional ReferenceWavelengthUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasReferenceWavelengthUnit() const;

	/*!
	* \brief Sets the value of the TestWavelength attribute.
	*
	* This field captures the Wavelength of the Test Channel whose Chromatic Registration Accuracy is being calculated in this procedure.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setTestWavelength(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the TestWavelength attribute.
	*
	* This field captures the Wavelength of the Test Channel whose Chromatic Registration Accuracy is being calculated in this procedure.
	*
	* \return The value of the attribute
	*/
	float getTestWavelength() const;

	/*!
	* \brief Resets the TestWavelength attribute to an unset state.
	*
	* This field captures the Wavelength of the Test Channel whose Chromatic Registration Accuracy is being calculated in this procedure.
	*/
	void resetTestWavelength();

	/*!
	* \brief Checks whether the TestWavelength attribute is present.
	*
	* This field captures the Wavelength of the Test Channel whose Chromatic Registration Accuracy is being calculated in this procedure.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasTestWavelength() const;

	/*!
	* \brief Sets the value of the TestWavelengthUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setTestWavelengthUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the TestWavelengthUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getTestWavelengthUnit() const;

	/*!
	* \brief Resets the TestWavelengthUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetTestWavelengthUnit();

	/*!
	* \brief Checks whether the optional TestWavelengthUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasTestWavelengthUnit() const;

	/*!
	* \brief Sets the value of the XChromaticShift_RT attribute.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setXChromaticShift_RT(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the XChromaticShift_RT attribute.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return The value of the attribute
	*/
	float getXChromaticShift_RT() const;

	/*!
	* \brief Resets the XChromaticShift_RT attribute to an unset state.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*/
	void resetXChromaticShift_RT();

	/*!
	* \brief Checks whether the XChromaticShift_RT attribute is present.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasXChromaticShift_RT() const;

	/*!
	* \brief Sets the value of the XChromaticShift_RTUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setXChromaticShift_RTUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the XChromaticShift_RTUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getXChromaticShift_RTUnit() const;

	/*!
	* \brief Resets the XChromaticShift_RTUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetXChromaticShift_RTUnit();

	/*!
	* \brief Checks whether the optional XChromaticShift_RTUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasXChromaticShift_RTUnit() const;

	/*!
	* \brief Sets the value of the YChromaticShift_RT attribute.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setYChromaticShift_RT(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the YChromaticShift_RT attribute.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return The value of the attribute
	*/
	float getYChromaticShift_RT() const;

	/*!
	* \brief Resets the YChromaticShift_RT attribute to an unset state.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*/
	void resetYChromaticShift_RT();

	/*!
	* \brief Checks whether the YChromaticShift_RT attribute is present.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(xλT - xλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasYChromaticShift_RT() const;

	/*!
	* \brief Sets the value of the YChromaticShift_RTUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setYChromaticShift_RTUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the YChromaticShift_RTUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getYChromaticShift_RTUnit() const;

	/*!
	* \brief Resets the YChromaticShift_RTUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetYChromaticShift_RTUnit();

	/*!
	* \brief Checks whether the optional YChromaticShift_RTUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasYChromaticShift_RTUnit() const;

	/*!
	* \brief Sets the value of the XChromaticShift_TR attribute.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setXChromaticShift_TR(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the XChromaticShift_TR attribute.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return The value of the attribute
	*/
	float getXChromaticShift_TR() const;

	/*!
	* \brief Resets the XChromaticShift_TR attribute to an unset state.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*/
	void resetXChromaticShift_TR();

	/*!
	* \brief Checks whether the XChromaticShift_TR attribute is present.
	*
	* This field captures the offset in the the observed X-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasXChromaticShift_TR() const;

	/*!
	* \brief Sets the value of the XChromaticShift_TRUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setXChromaticShift_TRUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the XChromaticShift_TRUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getXChromaticShift_TRUnit() const;

	/*!
	* \brief Resets the XChromaticShift_TRUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetXChromaticShift_TRUnit();

	/*!
	* \brief Checks whether the optional XChromaticShift_TRUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasXChromaticShift_TRUnit() const;

	/*!
	* \brief Sets the value of the YChromaticShift_TR attribute.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setYChromaticShift_TR(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the YChromaticShift_TR attribute.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return The value of the attribute
	*/
	float getYChromaticShift_TR() const;

	/*!
	* \brief Resets the YChromaticShift_TR attribute to an unset state.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*/
	void resetYChromaticShift_TR();

	/*!
	* \brief Checks whether the YChromaticShift_TR attribute is present.
	*
	* This field captures the offset in the the observed Y-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(xλR - xλT)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasYChromaticShift_TR() const;

	/*!
	* \brief Sets the value of the YChromaticShift_TRUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setYChromaticShift_TRUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the YChromaticShift_TRUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getYChromaticShift_TRUnit() const;

	/*!
	* \brief Resets the YChromaticShift_TRUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetYChromaticShift_TRUnit();

	/*!
	* \brief Checks whether the optional YChromaticShift_TRUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasYChromaticShift_TRUnit() const;

	/*!
	* \brief Sets the value of the AxialChromaticShift_RT attribute.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setAxialChromaticShift_RT(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the AxialChromaticShift_RT attribute.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return The value of the attribute
	*/
	float getAxialChromaticShift_RT() const;

	/*!
	* \brief Resets the AxialChromaticShift_RT attribute to an unset state.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*/
	void resetAxialChromaticShift_RT();

	/*!
	* \brief Checks whether the AxialChromaticShift_RT attribute is present.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Reference vs. the Test Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasAxialChromaticShift_RT() const;

	/*!
	* \brief Sets the value of the AxialChromaticShift_RTUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setAxialChromaticShift_RTUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the AxialChromaticShift_RTUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getAxialChromaticShift_RTUnit() const;

	/*!
	* \brief Resets the AxialChromaticShift_RTUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetAxialChromaticShift_RTUnit();

	/*!
	* \brief Checks whether the optional AxialChromaticShift_RTUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasAxialChromaticShift_RTUnit() const;

	/*!
	* \brief Sets the value of the AxialChromaticShift_TR attribute.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setAxialChromaticShift_TR(const float& value, bool validate = true);

	/*!
	* \brief Returns the value of the AxialChromaticShift_TR attribute.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return The value of the attribute
	*/
	float getAxialChromaticShift_TR() const;

	/*!
	* \brief Resets the AxialChromaticShift_TR attribute to an unset state.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*/
	void resetAxialChromaticShift_TR();

	/*!
	* \brief Checks whether the AxialChromaticShift_TR attribute is present.
	*
	* This field captures the offset in the the observed Z-coordinate of the Intensity maxima or the Intensity centre of gravity of the Image of a Point-like object (i.e., Spot or Point Emitter) when comparing the Test vs. the Reference Wavelengths. This shall be calculates as: √(zλT - zλR)^2, where This offset could be reported either in number of Pixels or in physical Distance, when a sub-Pixel offset needs to be calculated.
	*
	* \return true if the attribute has been set, false otherwise
	*/
	bool hasAxialChromaticShift_TR() const;

	/*!
	* \brief Sets the value of the AxialChromaticShift_TRUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \param value The value to set
	* \param validate If true, validates constraints on value. Default is true.
	*/
	void setAxialChromaticShift_TRUnit(const Inscoper::NBO::UnitsLength_TypePtr& value, bool validate = true);

	/*!
	* \brief Returns the value of the AxialChromaticShift_TRUnit attribute.
	*
	* No description available in the XSD standard.
	*
	* \return The value of the attribute
	*/
	UnitsLength_TypePtr getAxialChromaticShift_TRUnit() const;

	/*!
	* \brief Resets the AxialChromaticShift_TRUnit attribute to an unset state.
	*
	* No description available in the XSD standard.
	*/
	void resetAxialChromaticShift_TRUnit();

	/*!
	* \brief Checks whether the optional AxialChromaticShift_TRUnit attribute is present.
	*
	* No description available in the XSD standard.
	*
	* \return true if the optional attribute has been set, false otherwise
	*/
	bool hasAxialChromaticShift_TRUnit() const;


private:
	class Impl;
	std::unique_ptr<Impl> pImpl;

	LSID_TypePtr ID = nullptr; // Required attribute
    std::optional<float> ReferenceWavelength; // Required attribute
	UnitsLength_TypePtr ReferenceWavelengthUnit = nullptr; // Optional attribute
    std::optional<float> TestWavelength; // Required attribute
	UnitsLength_TypePtr TestWavelengthUnit = nullptr; // Optional attribute
    std::optional<float> XChromaticShift_RT; // Optional attribute
	UnitsLength_TypePtr XChromaticShift_RTUnit = nullptr; // Optional attribute
    std::optional<float> YChromaticShift_RT; // Optional attribute
	UnitsLength_TypePtr YChromaticShift_RTUnit = nullptr; // Optional attribute
    std::optional<float> XChromaticShift_TR; // Optional attribute
	UnitsLength_TypePtr XChromaticShift_TRUnit = nullptr; // Optional attribute
    std::optional<float> YChromaticShift_TR; // Optional attribute
	UnitsLength_TypePtr YChromaticShift_TRUnit = nullptr; // Optional attribute
    std::optional<float> AxialChromaticShift_RT; // Optional attribute
	UnitsLength_TypePtr AxialChromaticShift_RTUnit = nullptr; // Optional attribute
    std::optional<float> AxialChromaticShift_TR; // Optional attribute
	UnitsLength_TypePtr AxialChromaticShift_TRUnit = nullptr; // Optional attribute
};

/*! Shared pointer for ChromaticRegistrationEvaluation*/
typedef std::shared_ptr<ChromaticRegistrationEvaluation> ChromaticRegistrationEvaluationPtr;

} // namespace Inscoper::NBO

#endif // CHROMATICREGISTRATIONEVALUATION_HPP_INCLUDED