Skip to content

Inscoper::NBO::LightSourceSettings

Represents the XML element LightSourceSettings. More...

#include <LightSourceSettings.h>

Inherits from Inscoper::NBO::Settings_Type, Inscoper::NBO::Reference_Type, NBOBaseClass

Public Functions

Name
LightSourceSettings()
~LightSourceSettings()
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 setID(const Inscoper::NBO::LightSourceID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
LightSourceID_TypePtr getID() const
Returns the value of the ID attribute.
void resetID()
Resets the ID attribute to an unset state.
bool hasID() const
Checks whether the optional ID attribute is present.
void setIlluminationPowerSettings(const float & value, bool validate =true)
Sets the value of the IlluminationPowerSettings attribute.
float getIlluminationPowerSettings() const
Returns the value of the IlluminationPowerSettings attribute.
void resetIlluminationPowerSettings()
Resets the IlluminationPowerSettings attribute to an unset state.
bool hasIlluminationPowerSettings() const
Checks whether the IlluminationPowerSettings attribute is present.
void setlluminationPowerSettingsUnit(const Inscoper::NBO::UnitsPower_TypePtr & value, bool validate =true)
Sets the value of the lluminationPowerSettingsUnit attribute.
UnitsPower_TypePtr getlluminationPowerSettingsUnit() const
Returns the value of the lluminationPowerSettingsUnit attribute.
void resetlluminationPowerSettingsUnit()
Resets the lluminationPowerSettingsUnit attribute to an unset state.
bool haslluminationPowerSettingsUnit() const
Checks whether the optional lluminationPowerSettingsUnit attribute is present.
void setAttenuation(const Inscoper::NBO::PercentFraction_TypePtr & value, bool validate =true)
Sets the value of the Attenuation attribute.
PercentFraction_TypePtr getAttenuation() const
Returns the value of the Attenuation attribute.
void resetAttenuation()
Resets the Attenuation attribute to an unset state.
bool hasAttenuation() const
Checks whether the optional Attenuation attribute is present.
void setAttenuationMethod(const std::string & value, bool validate =true)
Sets the value of the AttenuationMethod attribute.
std::string getAttenuationMethod() const
Returns the value of the AttenuationMethod attribute.
void resetAttenuationMethod()
Resets the AttenuationMethod attribute to an unset state.
bool hasAttenuationMethod() const
Checks whether the AttenuationMethod attribute is present.
void setUsedAcoustoOpticalDevice(const bool & value, bool validate =true)
Sets the value of the UsedAcoustoOpticalDevice attribute.
bool getUsedAcoustoOpticalDevice() const
Returns the value of the UsedAcoustoOpticalDevice attribute.
void resetUsedAcoustoOpticalDevice()
Resets the UsedAcoustoOpticalDevice attribute to an unset state.
bool hasUsedAcoustoOpticalDevice() const
Checks whether the UsedAcoustoOpticalDevice attribute is present.
std::shared_ptr< LightSourceSettings > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a LightSourceSettings.
const std::set< std::string > & getAttenuationMethodAllowedValues()
Returns the allowed values for this attribut.

Additional inherited members

Public Functions inherited from Inscoper::NBO::Settings_Type

Name
Settings_Type()
~Settings_Type()
void setMapAnnotation_List(const std::vector< Inscoper::NBO::MapAnnotationPtr > & value, bool validate =true)
Sets the list of MapAnnotation elements.
std::vector< Inscoper::NBO::MapAnnotationPtr > getMapAnnotation_List() const
Returns the list of MapAnnotation elements.
void addToMapAnnotation_List(const Inscoper::NBO::MapAnnotationPtr & value, bool validate =true)
Adds a new MapAnnotation element to this object.
void clearMapAnnotation_List()
Clear the list of MapAnnotation.
void setAdditionalVendorInformation_List(const std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > & value, bool validate =true)
Sets the list of AdditionalVendorInformation elements.
std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > getAdditionalVendorInformation_List() const
Returns the list of AdditionalVendorInformation elements.
void addToAdditionalVendorInformation_List(const Inscoper::NBO::AdditionalVendorInformationPtr & value, bool validate =true)
Adds a new AdditionalVendorInformation element to this object.
void clearAdditionalVendorInformation_List()
Clear the list of AdditionalVendorInformation.

Public Functions inherited from Inscoper::NBO::Reference_Type

Name
Reference_Type()
~Reference_Type()

Detailed Description

class Inscoper::NBO::LightSourceSettings;

Represents the XML element LightSourceSettings.

This element holds the Setting applied to a Light Source used in the Light Path during the acquisition of this Channel as well as a reference to the LightSource (the ID attribute) in question.

Public Functions Documentation

function LightSourceSettings

function ~LightSourceSettings

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function setID

function getID

function resetID

function hasID

function setIlluminationPowerSettings

function getIlluminationPowerSettings

function resetIlluminationPowerSettings

function hasIlluminationPowerSettings

function setlluminationPowerSettingsUnit

function getlluminationPowerSettingsUnit

function resetlluminationPowerSettingsUnit

function haslluminationPowerSettingsUnit

function setAttenuation

function getAttenuation

function resetAttenuation

function hasAttenuation

function setAttenuationMethod

function getAttenuationMethod

function resetAttenuationMethod

function hasAttenuationMethod

function setUsedAcoustoOpticalDevice

function getUsedAcoustoOpticalDevice

function resetUsedAcoustoOpticalDevice

function hasUsedAcoustoOpticalDevice

function fromBase

function getAttenuationMethodAllowedValues