Skip to content

Inscoper::NBO::Instrument

Represents the XML element Instrument. More...

#include <Instrument.h>

Inherits from NBOBaseClass

Public Functions

Name
Instrument()
~Instrument()
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 fromMicroMetaAppJsonFile(const std::string & path, bool validate =true)
Populates this object from a JSON file generated by MicroMeta App.
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::InstrumentID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
InstrumentID_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 setMicroscopeStandGroup_List(const std::vector< Inscoper::NBO::MicroscopeStand_TypePtr > & value, bool validate =true)
Sets the list of MicroscopeStandGroup elements.
std::vector< Inscoper::NBO::MicroscopeStand_TypePtr > getMicroscopeStandGroup_List() const
Returns the list of MicroscopeStandGroup elements.
void addToMicroscopeStandGroup_List(const Inscoper::NBO::MicroscopeStand_TypePtr & value, bool validate =true)
Adds a new MicroscopeStandGroup element to this object.
void clearMicroscopeStandGroup_List()
Clear the list of MicroscopeStandGroup.
void setMicroscopeTable_List(const std::vector< Inscoper::NBO::MicroscopeTablePtr > & value, bool validate =true)
Sets the list of MicroscopeTable elements.
std::vector< Inscoper::NBO::MicroscopeTablePtr > getMicroscopeTable_List() const
Returns the list of MicroscopeTable elements.
void addToMicroscopeTable_List(const Inscoper::NBO::MicroscopeTablePtr & value, bool validate =true)
Adds a new MicroscopeTable element to this object.
void clearMicroscopeTable_List()
Clear the list of MicroscopeTable.
void setSoftwareGroup_List(const std::vector< Inscoper::NBO::Software_TypePtr > & value, bool validate =true)
Sets the list of SoftwareGroup elements.
std::vector< Inscoper::NBO::Software_TypePtr > getSoftwareGroup_List() const
Returns the list of SoftwareGroup elements.
void addToSoftwareGroup_List(const Inscoper::NBO::Software_TypePtr & value, bool validate =true)
Adds a new SoftwareGroup element to this object.
void clearSoftwareGroup_List()
Clear the list of SoftwareGroup.
void setEnvironmentalControlDevice_List(const std::vector< Inscoper::NBO::EnvironmentalControlDevicePtr > & value, bool validate =true)
Sets the list of EnvironmentalControlDevice elements.
std::vector< Inscoper::NBO::EnvironmentalControlDevicePtr > getEnvironmentalControlDevice_List() const
Returns the list of EnvironmentalControlDevice elements.
void addToEnvironmentalControlDevice_List(const Inscoper::NBO::EnvironmentalControlDevicePtr & value, bool validate =true)
Adds a new EnvironmentalControlDevice element to this object.
void clearEnvironmentalControlDevice_List()
Clear the list of EnvironmentalControlDevice.
void setLightSourceGroup_List(const std::vector< Inscoper::NBO::LightSource_TypePtr > & value, bool validate =true)
Sets the list of LightSourceGroup elements.
std::vector< Inscoper::NBO::LightSource_TypePtr > getLightSourceGroup_List() const
Returns the list of LightSourceGroup elements.
void addToLightSourceGroup_List(const Inscoper::NBO::LightSource_TypePtr & value, bool validate =true)
Adds a new LightSourceGroup element to this object.
void clearLightSourceGroup_List()
Clear the list of LightSourceGroup.
void setLightSourceCouplingGroup_List(const std::vector< Inscoper::NBO::LightSourceCoupling_TypePtr > & value, bool validate =true)
Sets the list of LightSourceCouplingGroup elements.
std::vector< Inscoper::NBO::LightSourceCoupling_TypePtr > getLightSourceCouplingGroup_List() const
Returns the list of LightSourceCouplingGroup elements.
void addToLightSourceCouplingGroup_List(const Inscoper::NBO::LightSourceCoupling_TypePtr & value, bool validate =true)
Adds a new LightSourceCouplingGroup element to this object.
void clearLightSourceCouplingGroup_List()
Clear the list of LightSourceCouplingGroup.
void setObjective_List(const std::vector< Inscoper::NBO::ObjectivePtr > & value, bool validate =true)
Sets the list of Objective elements.
std::vector< Inscoper::NBO::ObjectivePtr > getObjective_List() const
Returns the list of Objective elements.
void addToObjective_List(const Inscoper::NBO::ObjectivePtr & value, bool validate =true)
Adds a new Objective element to this object.
void clearObjective_List()
Clear the list of Objective.
void setOpticalAssemblyGroup_List(const std::vector< Inscoper::NBO::OpticalAssembly_TypePtr > & value, bool validate =true)
Sets the list of OpticalAssemblyGroup elements.
std::vector< Inscoper::NBO::OpticalAssembly_TypePtr > getOpticalAssemblyGroup_List() const
Returns the list of OpticalAssemblyGroup elements.
void addToOpticalAssemblyGroup_List(const Inscoper::NBO::OpticalAssembly_TypePtr & value, bool validate =true)
Adds a new OpticalAssemblyGroup element to this object.
void clearOpticalAssemblyGroup_List()
Clear the list of OpticalAssemblyGroup.
void setOpticalApertureGroup_List(const std::vector< Inscoper::NBO::OpticalAperture_TypePtr > & value, bool validate =true)
Sets the list of OpticalApertureGroup elements.
std::vector< Inscoper::NBO::OpticalAperture_TypePtr > getOpticalApertureGroup_List() const
Returns the list of OpticalApertureGroup elements.
void addToOpticalApertureGroup_List(const Inscoper::NBO::OpticalAperture_TypePtr & value, bool validate =true)
Adds a new OpticalApertureGroup element to this object.
void clearOpticalApertureGroup_List()
Clear the list of OpticalApertureGroup.
void setStageInsert_List(const std::vector< Inscoper::NBO::StageInsertPtr > & value, bool validate =true)
Sets the list of StageInsert elements.
std::vector< Inscoper::NBO::StageInsertPtr > getStageInsert_List() const
Returns the list of StageInsert elements.
void addToStageInsert_List(const Inscoper::NBO::StageInsertPtr & value, bool validate =true)
Adds a new StageInsert element to this object.
void clearStageInsert_List()
Clear the list of StageInsert.
void setSamplePositioningGroup_List(const std::vector< Inscoper::NBO::SamplePositioning_TypePtr > & value, bool validate =true)
Sets the list of SamplePositioningGroup elements.
std::vector< Inscoper::NBO::SamplePositioning_TypePtr > getSamplePositioningGroup_List() const
Returns the list of SamplePositioningGroup elements.
void addToSamplePositioningGroup_List(const Inscoper::NBO::SamplePositioning_TypePtr & value, bool validate =true)
Adds a new SamplePositioningGroup element to this object.
void clearSamplePositioningGroup_List()
Clear the list of SamplePositioningGroup.
void setFocusStabilizationDevice_List(const std::vector< Inscoper::NBO::FocusStabilizationDevicePtr > & value, bool validate =true)
Sets the list of FocusStabilizationDevice elements.
std::vector< Inscoper::NBO::FocusStabilizationDevicePtr > getFocusStabilizationDevice_List() const
Returns the list of FocusStabilizationDevice elements.
void addToFocusStabilizationDevice_List(const Inscoper::NBO::FocusStabilizationDevicePtr & value, bool validate =true)
Adds a new FocusStabilizationDevice element to this object.
void clearFocusStabilizationDevice_List()
Clear the list of FocusStabilizationDevice.
void setOpticsHolderGroup_List(const std::vector< Inscoper::NBO::OpticsHolder_TypePtr > & value, bool validate =true)
Sets the list of OpticsHolderGroup elements.
std::vector< Inscoper::NBO::OpticsHolder_TypePtr > getOpticsHolderGroup_List() const
Returns the list of OpticsHolderGroup elements.
void addToOpticsHolderGroup_List(const Inscoper::NBO::OpticsHolder_TypePtr & value, bool validate =true)
Adds a new OpticsHolderGroup element to this object.
void clearOpticsHolderGroup_List()
Clear the list of OpticsHolderGroup.
void setFilterGroup_List(const std::vector< Inscoper::NBO::Filter_TypePtr > & value, bool validate =true)
Sets the list of FilterGroup elements.
std::vector< Inscoper::NBO::Filter_TypePtr > getFilterGroup_List() const
Returns the list of FilterGroup elements.
void addToFilterGroup_List(const Inscoper::NBO::Filter_TypePtr & value, bool validate =true)
Adds a new FilterGroup element to this object.
void clearFilterGroup_List()
Clear the list of FilterGroup.
void setMirroringDeviceGroup_List(const std::vector< Inscoper::NBO::MirroringDevice_TypePtr > & value, bool validate =true)
Sets the list of MirroringDeviceGroup elements.
std::vector< Inscoper::NBO::MirroringDevice_TypePtr > getMirroringDeviceGroup_List() const
Returns the list of MirroringDeviceGroup elements.
void addToMirroringDeviceGroup_List(const Inscoper::NBO::MirroringDevice_TypePtr & value, bool validate =true)
Adds a new MirroringDeviceGroup element to this object.
void clearMirroringDeviceGroup_List()
Clear the list of MirroringDeviceGroup.
void setLensGroup_List(const std::vector< Inscoper::NBO::Lens_TypePtr > & value, bool validate =true)
Sets the list of LensGroup elements.
std::vector< Inscoper::NBO::Lens_TypePtr > getLensGroup_List() const
Returns the list of LensGroup elements.
void addToLensGroup_List(const Inscoper::NBO::Lens_TypePtr & value, bool validate =true)
Adds a new LensGroup element to this object.
void clearLensGroup_List()
Clear the list of LensGroup.
void setPrism_List(const std::vector< Inscoper::NBO::PrismPtr > & value, bool validate =true)
Sets the list of Prism elements.
std::vector< Inscoper::NBO::PrismPtr > getPrism_List() const
Returns the list of Prism elements.
void addToPrism_List(const Inscoper::NBO::PrismPtr & value, bool validate =true)
Adds a new Prism element to this object.
void clearPrism_List()
Clear the list of Prism.
void setPolarizationOptics_List(const std::vector< Inscoper::NBO::PolarizationOpticsPtr > & value, bool validate =true)
Sets the list of PolarizationOptics elements.
std::vector< Inscoper::NBO::PolarizationOpticsPtr > getPolarizationOptics_List() const
Returns the list of PolarizationOptics elements.
void addToPolarizationOptics_List(const Inscoper::NBO::PolarizationOpticsPtr & value, bool validate =true)
Adds a new PolarizationOptics element to this object.
void clearPolarizationOptics_List()
Clear the list of PolarizationOptics.
void setDetectorGroup_List(const std::vector< Inscoper::NBO::Detector_TypePtr > & value, bool validate =true)
Sets the list of DetectorGroup elements.
std::vector< Inscoper::NBO::Detector_TypePtr > getDetectorGroup_List() const
Returns the list of DetectorGroup elements.
void addToDetectorGroup_List(const Inscoper::NBO::Detector_TypePtr & value, bool validate =true)
Adds a new DetectorGroup element to this object.
void clearDetectorGroup_List()
Clear the list of DetectorGroup.
void setTIRFHardwareModule_List(const std::vector< Inscoper::NBO::TIRFHardwareModulePtr > & value, bool validate =true)
Sets the list of TIRFHardwareModule elements.
std::vector< Inscoper::NBO::TIRFHardwareModulePtr > getTIRFHardwareModule_List() const
Returns the list of TIRFHardwareModule elements.
void addToTIRFHardwareModule_List(const Inscoper::NBO::TIRFHardwareModulePtr & value, bool validate =true)
Adds a new TIRFHardwareModule element to this object.
void clearTIRFHardwareModule_List()
Clear the list of TIRFHardwareModule.
void setConfocalScannerGroup_List(const std::vector< Inscoper::NBO::ConfocalScanner_TypePtr > & value, bool validate =true)
Sets the list of ConfocalScannerGroup elements.
std::vector< Inscoper::NBO::ConfocalScanner_TypePtr > getConfocalScannerGroup_List() const
Returns the list of ConfocalScannerGroup elements.
void addToConfocalScannerGroup_List(const Inscoper::NBO::ConfocalScanner_TypePtr & value, bool validate =true)
Adds a new ConfocalScannerGroup element to this object.
void clearConfocalScannerGroup_List()
Clear the list of ConfocalScannerGroup.
void setAcoustoOpticalDeviceGroup_List(const std::vector< Inscoper::NBO::AcoustoOpticalDevice_TypePtr > & value, bool validate =true)
Sets the list of AcoustoOpticalDeviceGroup elements.
std::vector< Inscoper::NBO::AcoustoOpticalDevice_TypePtr > getAcoustoOpticalDeviceGroup_List() const
Returns the list of AcoustoOpticalDeviceGroup elements.
void addToAcoustoOpticalDeviceGroup_List(const Inscoper::NBO::AcoustoOpticalDevice_TypePtr & value, bool validate =true)
Adds a new AcoustoOpticalDeviceGroup element to this object.
void clearAcoustoOpticalDeviceGroup_List()
Clear the list of AcoustoOpticalDeviceGroup.
void setElectroOpticalDeviceGroup_List(const std::vector< Inscoper::NBO::ElectroOpticalDevice_TypePtr > & value, bool validate =true)
Sets the list of ElectroOpticalDeviceGroup elements.
std::vector< Inscoper::NBO::ElectroOpticalDevice_TypePtr > getElectroOpticalDeviceGroup_List() const
Returns the list of ElectroOpticalDeviceGroup elements.
void addToElectroOpticalDeviceGroup_List(const Inscoper::NBO::ElectroOpticalDevice_TypePtr & value, bool validate =true)
Adds a new ElectroOpticalDeviceGroup element to this object.
void clearElectroOpticalDeviceGroup_List()
Clear the list of ElectroOpticalDeviceGroup.
void setMicrolensArray_List(const std::vector< Inscoper::NBO::MicrolensArrayPtr > & value, bool validate =true)
Sets the list of MicrolensArray elements.
std::vector< Inscoper::NBO::MicrolensArrayPtr > getMicrolensArray_List() const
Returns the list of MicrolensArray elements.
void addToMicrolensArray_List(const Inscoper::NBO::MicrolensArrayPtr & value, bool validate =true)
Adds a new MicrolensArray element to this object.
void clearMicrolensArray_List()
Clear the list of MicrolensArray.
void setIntensityCalibrationTool_List(const std::vector< Inscoper::NBO::IntensityCalibrationToolPtr > & value, bool validate =true)
Sets the list of IntensityCalibrationTool elements.
std::vector< Inscoper::NBO::IntensityCalibrationToolPtr > getIntensityCalibrationTool_List() const
Returns the list of IntensityCalibrationTool elements.
void addToIntensityCalibrationTool_List(const Inscoper::NBO::IntensityCalibrationToolPtr & value, bool validate =true)
Adds a new IntensityCalibrationTool element to this object.
void clearIntensityCalibrationTool_List()
Clear the list of IntensityCalibrationTool.
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< Instrument > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a Instrument.

Detailed Description

class Inscoper::NBO::Instrument;

Represents the XML element Instrument.

This element describes the Instrument used to capture the Image. It is primarily a container referring to the list of hardware components included in a given Microscope. The list consists of the Microscope Stand, Microscope Table, Light Source, Light Source Coupling, Sample Holder, Focusing, Objective, Filter, Dichroic, Additional Lens (including a commonly used Magnification Changer, also known as Optovar), Additional Mirroring Device, Polarization Optics, Prism, Optical Aperture, Optical Device, Detector and Calibration Tool. The Filter element can be either composed of separate Excitation, Emission filters, and Dichroic mirrors or a single Filter Set. An Instrument might have multiple Light Sources, Detectors, Objectives, and Filters, etc. Each of these has its own ID attribute, which can be referred to from the Image, Plane or more commonly Channel elements associated with a given Image Acquisition session. It is understood that the Light Path configuration can be different for each Channel, but cannot be different for each timepoint or each Plane of an XYZ stack.

Public Functions Documentation

function Instrument

function ~Instrument

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromMicroMetaAppJsonFile

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 setMicroscopeStandGroup_List

function getMicroscopeStandGroup_List

function addToMicroscopeStandGroup_List

function clearMicroscopeStandGroup_List

function setMicroscopeTable_List

function getMicroscopeTable_List

function addToMicroscopeTable_List

function clearMicroscopeTable_List

function setSoftwareGroup_List

function getSoftwareGroup_List

function addToSoftwareGroup_List

function clearSoftwareGroup_List

function setEnvironmentalControlDevice_List

function getEnvironmentalControlDevice_List

function addToEnvironmentalControlDevice_List

function clearEnvironmentalControlDevice_List

function setLightSourceGroup_List

function getLightSourceGroup_List

function addToLightSourceGroup_List

function clearLightSourceGroup_List

function setLightSourceCouplingGroup_List

function getLightSourceCouplingGroup_List

function addToLightSourceCouplingGroup_List

function clearLightSourceCouplingGroup_List

function setObjective_List

function getObjective_List

function addToObjective_List

function clearObjective_List

function setOpticalAssemblyGroup_List

function getOpticalAssemblyGroup_List

function addToOpticalAssemblyGroup_List

function clearOpticalAssemblyGroup_List

function setOpticalApertureGroup_List

function getOpticalApertureGroup_List

function addToOpticalApertureGroup_List

function clearOpticalApertureGroup_List

function setStageInsert_List

function getStageInsert_List

function addToStageInsert_List

function clearStageInsert_List

function setSamplePositioningGroup_List

function getSamplePositioningGroup_List

function addToSamplePositioningGroup_List

function clearSamplePositioningGroup_List

function setFocusStabilizationDevice_List

function getFocusStabilizationDevice_List

function addToFocusStabilizationDevice_List

function clearFocusStabilizationDevice_List

function setOpticsHolderGroup_List

function getOpticsHolderGroup_List

function addToOpticsHolderGroup_List

function clearOpticsHolderGroup_List

function setFilterGroup_List

function getFilterGroup_List

function addToFilterGroup_List

function clearFilterGroup_List

function setMirroringDeviceGroup_List

function getMirroringDeviceGroup_List

function addToMirroringDeviceGroup_List

function clearMirroringDeviceGroup_List

function setLensGroup_List

function getLensGroup_List

function addToLensGroup_List

function clearLensGroup_List

function setPrism_List

function getPrism_List

function addToPrism_List

function clearPrism_List

function setPolarizationOptics_List

function getPolarizationOptics_List

function addToPolarizationOptics_List

function clearPolarizationOptics_List

function setDetectorGroup_List

function getDetectorGroup_List

function addToDetectorGroup_List

function clearDetectorGroup_List

function setTIRFHardwareModule_List

function getTIRFHardwareModule_List

function addToTIRFHardwareModule_List

function clearTIRFHardwareModule_List

function setConfocalScannerGroup_List

function getConfocalScannerGroup_List

function addToConfocalScannerGroup_List

function clearConfocalScannerGroup_List

function setAcoustoOpticalDeviceGroup_List

function getAcoustoOpticalDeviceGroup_List

function addToAcoustoOpticalDeviceGroup_List

function clearAcoustoOpticalDeviceGroup_List

function setElectroOpticalDeviceGroup_List

function getElectroOpticalDeviceGroup_List

function addToElectroOpticalDeviceGroup_List

function clearElectroOpticalDeviceGroup_List

function setMicrolensArray_List

function getMicrolensArray_List

function addToMicrolensArray_List

function clearMicrolensArray_List

function setIntensityCalibrationTool_List

function getIntensityCalibrationTool_List

function addToIntensityCalibrationTool_List

function clearIntensityCalibrationTool_List

function setAnnotationRef

function getAnnotationRef

function resetAnnotationRef

function hasAnnotationRef

function fromBase