Skip to content

Inscoper::NBO::Objective

Represents the XML element Objective. More...

#include <Objective.h>

Inherits from Inscoper::NBO::ManufacturerSpec_Type, NBOBaseClass

Public Functions

Name
Objective()
~Objective()
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::ObjectiveID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
ObjectiveID_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 setName(const Inscoper::NBO::Denomination_TypePtr & value, bool validate =true)
Sets the value of the Name attribute.
Denomination_TypePtr getName() const
Returns the value of the Name attribute.
void resetName()
Resets the Name attribute to an unset state.
bool hasName() const
Checks whether the optional Name attribute is present.
void setMagnification(const float & value, bool validate =true)
Sets the value of the Magnification attribute.
float getMagnification() const
Returns the value of the Magnification attribute.
void resetMagnification()
Resets the Magnification attribute to an unset state.
bool hasMagnification() const
Checks whether the Magnification attribute is present.
void setLensNA(const float & value, bool validate =true)
Sets the value of the LensNA attribute.
float getLensNA() const
Returns the value of the LensNA attribute.
void resetLensNA()
Resets the LensNA attribute to an unset state.
bool hasLensNA() const
Checks whether the LensNA attribute is present.
void setCorrection(const Inscoper::NBO::ObjectiveCorrection_TypePtr & value, bool validate =true)
Sets the value of the Correction attribute.
ObjectiveCorrection_TypePtr getCorrection() const
Returns the value of the Correction attribute.
void resetCorrection()
Resets the Correction attribute to an unset state.
bool hasCorrection() const
Checks whether the optional Correction attribute is present.
void setImmersionType(const Inscoper::NBO::ImmersionTypeList_TypePtr & value, bool validate =true)
Sets the value of the ImmersionType attribute.
ImmersionTypeList_TypePtr getImmersionType() const
Returns the value of the ImmersionType attribute.
void resetImmersionType()
Resets the ImmersionType attribute to an unset state.
bool hasImmersionType() const
Checks whether the optional ImmersionType attribute is present.
void setInfinityCorrected(const bool & value, bool validate =true)
Sets the value of the InfinityCorrected attribute.
bool getInfinityCorrected() const
Returns the value of the InfinityCorrected attribute.
void resetInfinityCorrected()
Resets the InfinityCorrected attribute to an unset state.
bool hasInfinityCorrected() const
Checks whether the InfinityCorrected attribute is present.
void setContrastModulation(const Inscoper::NBO::ContrastModulationPlate_TypePtr & value, bool validate =true)
Sets the value of the ContrastModulation attribute.
ContrastModulationPlate_TypePtr getContrastModulation() const
Returns the value of the ContrastModulation attribute.
void resetContrastModulation()
Resets the ContrastModulation attribute to an unset state.
bool hasContrastModulation() const
Checks whether the optional ContrastModulation attribute is present.
void setDIC(const bool & value, bool validate =true)
Sets the value of the DIC attribute.
bool getDIC() const
Returns the value of the DIC attribute.
void resetDIC()
Resets the DIC attribute to an unset state.
bool hasDIC() const
Checks whether the DIC attribute is present.
void setLightType(const Inscoper::NBO::ObjectiveLightType_TypePtr & value, bool validate =true)
Sets the value of the LightType attribute.
ObjectiveLightType_TypePtr getLightType() const
Returns the value of the LightType attribute.
void resetLightType()
Resets the LightType attribute to an unset state.
bool hasLightType() const
Checks whether the optional LightType attribute is present.
void setDippingMedium(const Inscoper::NBO::DippingType_TypePtr & value, bool validate =true)
Sets the value of the DippingMedium attribute.
DippingType_TypePtr getDippingMedium() const
Returns the value of the DippingMedium attribute.
void resetDippingMedium()
Resets the DippingMedium attribute to an unset state.
bool hasDippingMedium() const
Checks whether the optional DippingMedium attribute is present.
void setWorkingDistance(const float & value, bool validate =true)
Sets the value of the WorkingDistance attribute.
float getWorkingDistance() const
Returns the value of the WorkingDistance attribute.
void resetWorkingDistance()
Resets the WorkingDistance attribute to an unset state.
bool hasWorkingDistance() const
Checks whether the WorkingDistance attribute is present.
void setWorkingDistanceUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the WorkingDistanceUnit attribute.
UnitsLength_TypePtr getWorkingDistanceUnit() const
Returns the value of the WorkingDistanceUnit attribute.
void resetWorkingDistanceUnit()
Resets the WorkingDistanceUnit attribute to an unset state.
bool hasWorkingDistanceUnit() const
Checks whether the optional WorkingDistanceUnit attribute is present.
void setCorrectionCollar(const bool & value, bool validate =true)
Sets the value of the CorrectionCollar attribute.
bool getCorrectionCollar() const
Returns the value of the CorrectionCollar attribute.
void resetCorrectionCollar()
Resets the CorrectionCollar attribute to an unset state.
bool hasCorrectionCollar() const
Checks whether the CorrectionCollar attribute is present.
void setCorrectionCollarType(const Inscoper::NBO::CorrectionCollarTypeList_TypePtr & value, bool validate =true)
Sets the value of the CorrectionCollarType attribute.
CorrectionCollarTypeList_TypePtr getCorrectionCollarType() const
Returns the value of the CorrectionCollarType attribute.
void resetCorrectionCollarType()
Resets the CorrectionCollarType attribute to an unset state.
bool hasCorrectionCollarType() const
Checks whether the optional CorrectionCollarType attribute is present.
void setPhaseContrastDesignation(const Inscoper::NBO::PhaseContrastDesignationType_TypePtr & value, bool validate =true)
Sets the value of the PhaseContrastDesignation attribute.
PhaseContrastDesignationType_TypePtr getPhaseContrastDesignation() const
Returns the value of the PhaseContrastDesignation attribute.
void resetPhaseContrastDesignation()
Resets the PhaseContrastDesignation attribute to an unset state.
bool hasPhaseContrastDesignation() const
Checks whether the optional PhaseContrastDesignation attribute is present.
void setCalibratedMagnification(const float & value, bool validate =true)
Sets the value of the CalibratedMagnification attribute.
float getCalibratedMagnification() const
Returns the value of the CalibratedMagnification attribute.
void resetCalibratedMagnification()
Resets the CalibratedMagnification attribute to an unset state.
bool hasCalibratedMagnification() const
Checks whether the CalibratedMagnification attribute is present.
void setIris(const bool & value, bool validate =true)
Sets the value of the Iris attribute.
bool getIris() const
Returns the value of the Iris attribute.
void resetIris()
Resets the Iris attribute to an unset state.
bool hasIris() const
Checks whether the Iris attribute is present.
void setObjectiveViewField(const float & value, bool validate =true)
Sets the value of the ObjectiveViewField attribute.
float getObjectiveViewField() const
Returns the value of the ObjectiveViewField attribute.
void resetObjectiveViewField()
Resets the ObjectiveViewField attribute to an unset state.
bool hasObjectiveViewField() const
Checks whether the ObjectiveViewField attribute is present.
void setImageDistance(const float & value, bool validate =true)
Sets the value of the ImageDistance attribute.
float getImageDistance() const
Returns the value of the ImageDistance attribute.
void resetImageDistance()
Resets the ImageDistance attribute to an unset state.
bool hasImageDistance() const
Checks whether the ImageDistance attribute is present.
void setImageDistanceUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the ImageDistanceUnit attribute.
UnitsLength_TypePtr getImageDistanceUnit() const
Returns the value of the ImageDistanceUnit attribute.
void resetImageDistanceUnit()
Resets the ImageDistanceUnit attribute to an unset state.
bool hasImageDistanceUnit() const
Checks whether the optional ImageDistanceUnit attribute is present.
void setFrontFocalLength(const float & value, bool validate =true)
Sets the value of the FrontFocalLength attribute.
float getFrontFocalLength() const
Returns the value of the FrontFocalLength attribute.
void resetFrontFocalLength()
Resets the FrontFocalLength attribute to an unset state.
bool hasFrontFocalLength() const
Checks whether the FrontFocalLength attribute is present.
void setFrontFocalLengthUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the FrontFocalLengthUnit attribute.
UnitsLength_TypePtr getFrontFocalLengthUnit() const
Returns the value of the FrontFocalLengthUnit attribute.
void resetFrontFocalLengthUnit()
Resets the FrontFocalLengthUnit attribute to an unset state.
bool hasFrontFocalLengthUnit() const
Checks whether the optional FrontFocalLengthUnit attribute is present.
void setBackFocalLength(const float & value, bool validate =true)
Sets the value of the BackFocalLength attribute.
float getBackFocalLength() const
Returns the value of the BackFocalLength attribute.
void resetBackFocalLength()
Resets the BackFocalLength attribute to an unset state.
bool hasBackFocalLength() const
Checks whether the BackFocalLength attribute is present.
void setBackFocalLengthUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the BackFocalLengthUnit attribute.
UnitsLength_TypePtr getBackFocalLengthUnit() const
Returns the value of the BackFocalLengthUnit attribute.
void resetBackFocalLengthUnit()
Resets the BackFocalLengthUnit attribute to an unset state.
bool hasBackFocalLengthUnit() const
Checks whether the optional BackFocalLengthUnit attribute is present.
void setParfocalizingDistance(const float & value, bool validate =true)
Sets the value of the ParfocalizingDistance attribute.
float getParfocalizingDistance() const
Returns the value of the ParfocalizingDistance attribute.
void resetParfocalizingDistance()
Resets the ParfocalizingDistance attribute to an unset state.
bool hasParfocalizingDistance() const
Checks whether the ParfocalizingDistance attribute is present.
void setParfocalizingDistanceUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the ParfocalizingDistanceUnit attribute.
UnitsLength_TypePtr getParfocalizingDistanceUnit() const
Returns the value of the ParfocalizingDistanceUnit attribute.
void resetParfocalizingDistanceUnit()
Resets the ParfocalizingDistanceUnit attribute to an unset state.
bool hasParfocalizingDistanceUnit() const
Checks whether the optional ParfocalizingDistanceUnit attribute is present.
void setAnnotationRef(const Inscoper::NBO::AnnotationRefPtr & value, bool validate =true)
Sets the value of the AnnotationRef element.
Inscoper::NBO::AnnotationRefPtr getAnnotationRef() const
Returns the value of the AnnotationRef element.
void resetAnnotationRef()
Resets the AnnotationRef element to an unset state.
bool hasAnnotationRef() const
Checks whether the optional AnnotationRef element is present.
std::shared_ptr< Objective > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a Objective.

Additional inherited members

Public Functions inherited from Inscoper::NBO::ManufacturerSpec_Type

Name
ManufacturerSpec_Type()
~ManufacturerSpec_Type()
void setManufacturer(const std::string & value, bool validate =true)
Sets the value of the Manufacturer attribute.
std::string getManufacturer() const
Returns the value of the Manufacturer attribute.
void resetManufacturer()
Resets the Manufacturer attribute to an unset state.
bool hasManufacturer() const
Checks whether the Manufacturer attribute is present.
void setModel(const std::string & value, bool validate =true)
Sets the value of the Model attribute.
std::string getModel() const
Returns the value of the Model attribute.
void resetModel()
Resets the Model attribute to an unset state.
bool hasModel() const
Checks whether the Model attribute is present.
void setCatalogNumber(const std::string & value, bool validate =true)
Sets the value of the CatalogNumber attribute.
std::string getCatalogNumber() const
Returns the value of the CatalogNumber attribute.
void resetCatalogNumber()
Resets the CatalogNumber attribute to an unset state.
bool hasCatalogNumber() const
Checks whether the CatalogNumber attribute is present.
void setLotNumber(const std::string & value, bool validate =true)
Sets the value of the LotNumber attribute.
std::string getLotNumber() const
Returns the value of the LotNumber attribute.
void resetLotNumber()
Resets the LotNumber attribute to an unset state.
bool hasLotNumber() const
Checks whether the LotNumber attribute is present.
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 setSpecsFile(const Inscoper::NBO::FileAnnotation_TypePtr & value, bool validate =true)
Sets the value of the SpecsFile element.
Inscoper::NBO::FileAnnotation_TypePtr getSpecsFile() const
Returns the value of the SpecsFile element.
void resetSpecsFile()
Resets the SpecsFile element to an unset state.
bool hasSpecsFile() const
Checks whether the optional SpecsFile element is present.
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.
const std::set< std::string > & getManufacturerAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getModelAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getCatalogNumberAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getLotNumberAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::Objective;

Represents the XML element Objective.

The Microscope's Objective lens consists of a lens, its mount, and any associated parts. It is the part of the imaging system, which forms a primary image of the object, either alone or in conjunction with a tube lens. The Objective typically consists of a compound lens consisting of along a common axis.

Public Functions Documentation

function Objective

function ~Objective

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 setName

function getName

function resetName

function hasName

function setMagnification

function getMagnification

function resetMagnification

function hasMagnification

function setLensNA

function getLensNA

function resetLensNA

function hasLensNA

function setCorrection

function getCorrection

function resetCorrection

function hasCorrection

function setImmersionType

function getImmersionType

function resetImmersionType

function hasImmersionType

function setInfinityCorrected

function getInfinityCorrected

function resetInfinityCorrected

function hasInfinityCorrected

function setContrastModulation

function getContrastModulation

function resetContrastModulation

function hasContrastModulation

function setDIC

function getDIC

function resetDIC

function hasDIC

function setLightType

function getLightType

function resetLightType

function hasLightType

function setDippingMedium

function getDippingMedium

function resetDippingMedium

function hasDippingMedium

function setWorkingDistance

function getWorkingDistance

function resetWorkingDistance

function hasWorkingDistance

function setWorkingDistanceUnit

function getWorkingDistanceUnit

function resetWorkingDistanceUnit

function hasWorkingDistanceUnit

function setCorrectionCollar

function getCorrectionCollar

function resetCorrectionCollar

function hasCorrectionCollar

function setCorrectionCollarType

function getCorrectionCollarType

function resetCorrectionCollarType

function hasCorrectionCollarType

function setPhaseContrastDesignation

function getPhaseContrastDesignation

function resetPhaseContrastDesignation

function hasPhaseContrastDesignation

function setCalibratedMagnification

function getCalibratedMagnification

function resetCalibratedMagnification

function hasCalibratedMagnification

function setIris

function getIris

function resetIris

function hasIris

function setObjectiveViewField

function getObjectiveViewField

function resetObjectiveViewField

function hasObjectiveViewField

function setImageDistance

function getImageDistance

function resetImageDistance

function hasImageDistance

function setImageDistanceUnit

function getImageDistanceUnit

function resetImageDistanceUnit

function hasImageDistanceUnit

function setFrontFocalLength

function getFrontFocalLength

function resetFrontFocalLength

function hasFrontFocalLength

function setFrontFocalLengthUnit

function getFrontFocalLengthUnit

function resetFrontFocalLengthUnit

function hasFrontFocalLengthUnit

function setBackFocalLength

function getBackFocalLength

function resetBackFocalLength

function hasBackFocalLength

function setBackFocalLengthUnit

function getBackFocalLengthUnit

function resetBackFocalLengthUnit

function hasBackFocalLengthUnit

function setParfocalizingDistance

function getParfocalizingDistance

function resetParfocalizingDistance

function hasParfocalizingDistance

function setParfocalizingDistanceUnit

function getParfocalizingDistanceUnit

function resetParfocalizingDistanceUnit

function hasParfocalizingDistanceUnit

function setAnnotationRef

function getAnnotationRef

function resetAnnotationRef

function hasAnnotationRef

function fromBase