ome-xml 5.2.3

Channel.h
1 /*
2 * #%L
3 * OME-XML C++ library for working with OME-XML metadata structures.
4 * %%
5 * Copyright © 2006 - 2016 Open Microscopy Environment:
6 * - Massachusetts Institute of Technology
7 * - National Institutes of Health
8 * - University of Dundee
9 * - Board of Regents of the University of Wisconsin-Madison
10 * - Glencoe Software, Inc.
11 * %%
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions are met:
14 *
15 * 1. Redistributions of source code must retain the above copyright notice,
16 * this list of conditions and the following disclaimer.
17 * 2. Redistributions in binary form must reproduce the above copyright notice,
18 * this list of conditions and the following disclaimer in the documentation
19 * and/or other materials provided with the distribution.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
25 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 *
33 * The views and conclusions contained in the software and documentation are
34 * those of the authors and should not be interpreted as representing official
35 * policies, either expressed or implied, of any organization.
36 * #L%
37 */
38
39 /*─────────────────────────────────────────────────────────────────────────────
40 *
41 * THIS IS AUTOMATICALLY GENERATED CODE. DO NOT MODIFY.
42 *
43 *─────────────────────────────────────────────────────────────────────────────
44 */
45
46 #ifndef OME_XML_MODEL_CHANNEL_H
47 #define OME_XML_MODEL_CHANNEL_H
48
49 #include <algorithm>
50 #include <list>
51 #include <stdexcept>
52 #include <string>
53 #include <vector>
54
55 #include <ome/common/log.h>
56
57 #include <ome/common/xml/dom/Document.h>
58 #include <ome/common/xml/dom/Element.h>
59 #include <ome/common/xml/dom/Node.h>
60 #include <ome/common/xml/dom/NodeList.h>
61
62 #include <ome/xml/model/primitives/Quantity.h>
63
64 #include <ome/xml/model/DetectorSettings.h>
65 #include <ome/xml/model/FilterSet.h>
66 #include <ome/xml/model/LightPath.h>
67 #include <ome/xml/model/LightSourceSettings.h>
68 #include <ome/xml/model/Pixels.h>
69 #include <ome/xml/model/detail/OMEModelObject.h>
70 #include <ome/xml/model/enums/AcquisitionMode.h>
71 #include <ome/xml/model/enums/ContrastMethod.h>
72 #include <ome/xml/model/enums/IlluminationType.h>
73 #include <ome/xml/model/enums/UnitsLength.h>
74 #include <ome/xml/model/primitives/Color.h>
75 #include <ome/xml/model/primitives/PositiveFloat.h>
76 #include <ome/xml/model/primitives/PositiveInteger.h>
77
78 namespace ome
79 {
80 namespace xml
81 {
82 namespace model
83 {
84
85 // Forward declarations.
86 class Annotation;
87 class OMEModel;
88
92 class Channel : public detail::OMEModelObject
93 {
94 private:
95 class Impl;
97 ome::compat::shared_ptr<Impl> impl;
98
99 public:
101 Channel();
102
108 Channel (const Channel& copy);
109
111 virtual
112 ~Channel ();
113
128 static ome::compat::shared_ptr< Channel>
129 create(const common::xml::dom::Element& element,
130 ome::xml::model::OMEModel& model);
131
132 // Documented in superclass.
133 const std::string&
134 elementName() const;
135
136 // Documented in superclass.
137 bool
138 validElementName(const std::string& name) const;
139
140 private:
142 Channel&
143 operator= (const Channel&);
144
145 public:
146 // -- OMEModelObject API methods --
147
149 virtual void
150 update(const common::xml::dom::Element& element,
151 ome::xml::model::OMEModel& model);
152
153 public:
154 // -- Channel API methods --
155
157 bool
158 link (ome::compat::shared_ptr<Reference>& reference,
159 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>& object);
160
166 ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
167 getPinholeSize ();
168
174 const ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >&
175 getPinholeSize () const;
176
182 void
183 setPinholeSize (const ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength > >& pinholeSize);
184
190 ome::compat::shared_ptr<std::string>
191 getName ();
192
198 const ome::compat::shared_ptr<std::string>
199 getName () const;
200
206 void
207 setName (ome::compat::shared_ptr<std::string>& name);
208
214 ome::compat::shared_ptr<ome::xml::model::enums::AcquisitionMode>
215 getAcquisitionMode ();
216
222 const ome::compat::shared_ptr<ome::xml::model::enums::AcquisitionMode>
223 getAcquisitionMode () const;
224
230 void
231 setAcquisitionMode (ome::compat::shared_ptr<ome::xml::model::enums::AcquisitionMode>& acquisitionMode);
232
238 ome::compat::shared_ptr<ome::xml::model::primitives::Color>
239 getColor ();
240
246 const ome::compat::shared_ptr<ome::xml::model::primitives::Color>
247 getColor () const;
248
254 void
255 setColor (ome::compat::shared_ptr<ome::xml::model::primitives::Color>& color);
256
262 ome::compat::shared_ptr<ome::xml::model::enums::ContrastMethod>
263 getContrastMethod ();
264
270 const ome::compat::shared_ptr<ome::xml::model::enums::ContrastMethod>
271 getContrastMethod () const;
272
278 void
279 setContrastMethod (ome::compat::shared_ptr<ome::xml::model::enums::ContrastMethod>& contrastMethod);
280
286 ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
287 getExcitationWavelength ();
288
294 const ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
295 getExcitationWavelength () const;
296
302 void
303 setExcitationWavelength (const ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >& excitationWavelength);
304
310 ome::compat::shared_ptr<ome::xml::model::enums::IlluminationType>
311 getIlluminationType ();
312
318 const ome::compat::shared_ptr<ome::xml::model::enums::IlluminationType>
319 getIlluminationType () const;
320
326 void
327 setIlluminationType (ome::compat::shared_ptr<ome::xml::model::enums::IlluminationType>& illuminationType);
328
334 ome::compat::shared_ptr<std::string>
335 getFluor ();
336
342 const ome::compat::shared_ptr<std::string>
343 getFluor () const;
344
350 void
351 setFluor (ome::compat::shared_ptr<std::string>& fluor);
352
358 ome::compat::shared_ptr<int32_t>
359 getPockelCellSetting ();
360
366 const ome::compat::shared_ptr<int32_t>
367 getPockelCellSetting () const;
368
374 void
375 setPockelCellSetting (ome::compat::shared_ptr<int32_t>& pockelCellSetting);
376
382 ome::compat::shared_ptr<double>
383 getNDFilter ();
384
390 const ome::compat::shared_ptr<double>
391 getNDFilter () const;
392
398 void
399 setNDFilter (ome::compat::shared_ptr<double>& ndFilter);
400
406 ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
407 getEmissionWavelength ();
408
414 const ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
415 getEmissionWavelength () const;
416
422 void
423 setEmissionWavelength (const ome::compat::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >& emissionWavelength);
424
430 const std::string&
431 getID () const;
432
438 void
439 setID (const std::string& id);
440
446 ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
447 getSamplesPerPixel ();
448
454 const ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>
455 getSamplesPerPixel () const;
456
462 void
463 setSamplesPerPixel (ome::compat::shared_ptr<ome::xml::model::primitives::PositiveInteger>& samplesPerPixel);
464
470 ome::compat::shared_ptr<ome::xml::model::LightSourceSettings>
471 getLightSourceSettings ();
472
478 const ome::compat::shared_ptr<ome::xml::model::LightSourceSettings>
479 getLightSourceSettings () const;
480
486 void
487 setLightSourceSettings (ome::compat::shared_ptr<ome::xml::model::LightSourceSettings>& lightSourceSettings);
488
494 ome::compat::shared_ptr<ome::xml::model::DetectorSettings>
495 getDetectorSettings ();
496
502 const ome::compat::shared_ptr<ome::xml::model::DetectorSettings>
503 getDetectorSettings () const;
504
510 void
511 setDetectorSettings (ome::compat::shared_ptr<ome::xml::model::DetectorSettings>& detectorSettings);
512
519 ome::compat::weak_ptr<ome::xml::model::FilterSet>
520 getLinkedFilterSet ();
521
528 const ome::compat::weak_ptr<ome::xml::model::FilterSet>
529 getLinkedFilterSet () const;
530
536 void
537 linkFilterSet (ome::compat::shared_ptr<ome::xml::model::FilterSet>& filterSet);
538
548 void
549 unlinkFilterSet (ome::compat::shared_ptr<ome::xml::model::FilterSet>& filterSet);
550
556 OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type
557 sizeOfLinkedAnnotationList () const;
558
564 OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type
565 getLinkedAnnotationList () const;
566
574 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
575 getLinkedAnnotation (OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type index) const;
576
587 const ome::compat::weak_ptr<ome::xml::model::Annotation>&
588 setLinkedAnnotation (OMEModelObject::indexed_container<ome::xml::model::Annotation, ome::compat::weak_ptr>::type::size_type index,
589 const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
590
601 bool
602 linkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
603
619 bool
620 unlinkAnnotation (const ome::compat::shared_ptr<ome::xml::model::Annotation>& annotation);
621
627 ome::compat::shared_ptr<ome::xml::model::LightPath>
628 getLightPath ();
629
635 const ome::compat::shared_ptr<ome::xml::model::LightPath>
636 getLightPath () const;
637
643 void
644 setLightPath (ome::compat::shared_ptr<ome::xml::model::LightPath>& lightPath);
645
651 ome::compat::weak_ptr<ome::xml::model::Pixels>
652 getPixels ();
653
659 const ome::compat::weak_ptr<ome::xml::model::Pixels>
660 getPixels () const;
661
667 void
668 setPixels (ome::compat::weak_ptr<ome::xml::model::Pixels>& pixels_BackReference);
669
671 virtual common::xml::dom::Element
672 asXMLElement (common::xml::dom::Document& document) const;
673
674
675 protected:
676 // Documented in base class.
677 virtual common::xml::dom::Element
678 asXMLElementInternal (common::xml::dom::Document& document,
679 common::xml::dom::Element& element) const;
680
681 public:
682 // Documented in superclass.
683 const std::string&
684 getXMLNamespace() const;
685 };
686
687 }
688 }
689 }
690
691 #endif // OME_XML_MODEL_CHANNEL_H
692
693 /*
694 * Local Variables:
695 * mode:C++
696 * End:
697 */
ome::xml::model::OMEModel
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::xml::model::Channel::setDetectorSettings
void setDetectorSettings(ome::compat::shared_ptr< ome::xml::model::DetectorSettings > &detectorSettings)
Set the DetectorSettings property.
Definition: Channel.cpp:866
ome::xml::model::Channel::getFluor
ome::compat::shared_ptr< std::string > getFluor()
Get the Fluor property.
Definition: Channel.cpp:712
ome::xml::model::Channel::getLinkedAnnotationList
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList() const
Get the linked Annotation list.
Definition: Channel.cpp:908
ome::xml::model::Channel::getSamplesPerPixel
ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > getSamplesPerPixel()
Get the SamplesPerPixel property.
Definition: Channel.cpp:810
ome::xml::model::Channel::setColor
void setColor(ome::compat::shared_ptr< ome::xml::model::primitives::Color > &color)
Set the Color property.
Definition: Channel.cpp:642
ome::xml::model::Channel::getContrastMethod
ome::compat::shared_ptr< ome::xml::model::enums::ContrastMethod > getContrastMethod()
Get the ContrastMethod property.
Definition: Channel.cpp:649
ome::xml::model::Channel::Channel
Channel()
Default constructor.
Definition: Channel.cpp:259
ome::xml::model::Channel::setExcitationWavelength
void setExcitationWavelength(const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &excitationWavelength)
Set the ExcitationWavelength property.
Definition: Channel.cpp:684
ome::xml::model::Channel::linkFilterSet
void linkFilterSet(ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet)
Link FilterSet.
Definition: Channel.cpp:886
ome::xml::model::Channel::getName
ome::compat::shared_ptr< std::string > getName()
Get the Name property.
Definition: Channel.cpp:586
ome::xml::model::Channel::getExcitationWavelength
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & getExcitationWavelength()
Get the ExcitationWavelength property.
Definition: Channel.cpp:670
ome::xml::model::Channel::impl
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: Channel.h:95
ome::xml::model::Channel::update
virtual void update(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Update the object hierarchy recursively from an XML DOM tree.
Definition: Channel.cpp:303
ome::xml::model::Channel::getPixels
ome::compat::weak_ptr< ome::xml::model::Pixels > getPixels()
Get the Pixels property.
Definition: Channel.cpp:983
ome::xml::model::Channel::setSamplesPerPixel
void setSamplesPerPixel(ome::compat::shared_ptr< ome::xml::model::primitives::PositiveInteger > &samplesPerPixel)
Set the SamplesPerPixel property.
Definition: Channel.cpp:824
ome::xml::model::Channel::~Channel
virtual ~Channel()
Destructor.
Definition: Channel.cpp:274
ome::xml::model::Channel::getID
const std::string & getID() const
Get the ID property.
Definition: Channel.cpp:796
ome::common::xml::dom::Document
ome::common::xml::dom::Element
ome::xml::model::detail::OMEModelObject
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
ome::xml::model::OMEModelObject::indexed_container::type
boost::multi_index_container< Ptr< T >, boost::multi_index::indexed_by< boost::multi_index::random_access<>, boost::multi_index::ordered_unique< boost::multi_index::identity< Ptr< T > >, ome::compat::owner_less< Ptr< T > > > > > type
Multi-index container type.
Definition: OMEModelObject.h:94
ome::xml::model::Channel
Channel model object.
Definition: Channel.h:92
ome::xml::model::Channel::validElementName
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Channel.cpp:295
ome::xml::model::Channel::getXMLNamespace
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Channel.cpp:1245
ome::xml::model::Channel::setNDFilter
void setNDFilter(ome::compat::shared_ptr< double > &ndFilter)
Set the NDFilter property.
Definition: Channel.cpp:768
ome::xml::model::Channel::setFluor
void setFluor(ome::compat::shared_ptr< std::string > &fluor)
Set the Fluor property.
Definition: Channel.cpp:726
ome::xml::model::Channel::asXMLElement
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Channel.cpp:1003
ome::xml::model::Channel::setContrastMethod
void setContrastMethod(ome::compat::shared_ptr< ome::xml::model::enums::ContrastMethod > &contrastMethod)
Set the ContrastMethod property.
Definition: Channel.cpp:663
ome::xml::model::Channel::setEmissionWavelength
void setEmissionWavelength(const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &emissionWavelength)
Set the EmissionWavelength property.
Definition: Channel.cpp:789
ome::xml::model::Channel::setLightPath
void setLightPath(ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath)
Set the LightPath property.
Definition: Channel.cpp:976
ome::xml::model::Channel::operator=
Channel & operator=(const Channel &)
Assignment operator (deleted).
ome::xml::model::Channel::asXMLElementInternal
virtual common::xml::dom::Element asXMLElementInternal(common::xml::dom::Document &document, common::xml::dom::Element &element) const
Transform the object hierarchy rooted at this element to XML.
Definition: Channel.cpp:1010
ome::xml::model::OMEModelObject::indexed_container
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
ome::xml::model::Channel::linkAnnotation
bool linkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Link Annotation.
Definition: Channel.cpp:930
ome
Open Microscopy Environment C++ implementation.
ome::xml::model::Channel::elementName
const std::string & elementName() const
Get the element name of this model object.
Definition: Channel.cpp:288
ome::xml::model::Channel::getAcquisitionMode
ome::compat::shared_ptr< ome::xml::model::enums::AcquisitionMode > getAcquisitionMode()
Get the AcquisitionMode property.
Definition: Channel.cpp:607
ome::xml::model::Channel::Impl
Private implementation details of Channel model object.
Definition: Channel.cpp:94
ome::xml::model::Channel::setPinholeSize
void setPinholeSize(const ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > &pinholeSize)
Set the PinholeSize property.
Definition: Channel.cpp:579
ome::xml::model::Channel::getLightSourceSettings
ome::compat::shared_ptr< ome::xml::model::LightSourceSettings > getLightSourceSettings()
Get the LightSourceSettings property.
Definition: Channel.cpp:831
ome::xml::model::Channel::setName
void setName(ome::compat::shared_ptr< std::string > &name)
Set the Name property.
Definition: Channel.cpp:600
ome::xml::model::Channel::getNDFilter
ome::compat::shared_ptr< double > getNDFilter()
Get the NDFilter property.
Definition: Channel.cpp:754
ome::xml::model::Channel::getLinkedAnnotation
const ome::compat::weak_ptr< ome::xml::model::Annotation > & getLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index) const
Get linked Annotation.
Definition: Channel.cpp:914
ome::xml::model::Channel::setLinkedAnnotation
const ome::compat::weak_ptr< ome::xml::model::Annotation > & setLinkedAnnotation(OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Set linked Annotation.
Definition: Channel.cpp:920
ome::xml::model::Channel::getIlluminationType
ome::compat::shared_ptr< ome::xml::model::enums::IlluminationType > getIlluminationType()
Get the IlluminationType property.
Definition: Channel.cpp:691
ome::xml::model::Channel::getDetectorSettings
ome::compat::shared_ptr< ome::xml::model::DetectorSettings > getDetectorSettings()
Get the DetectorSettings property.
Definition: Channel.cpp:852
ome::xml::model::Channel::setLightSourceSettings
void setLightSourceSettings(ome::compat::shared_ptr< ome::xml::model::LightSourceSettings > &lightSourceSettings)
Set the LightSourceSettings property.
Definition: Channel.cpp:845
ome::xml::model::primitives::Quantity
A quantity of a defined unit.
Definition: Quantity.h:57
ome::xml::model::Channel::getPockelCellSetting
ome::compat::shared_ptr< int32_t > getPockelCellSetting()
Get the PockelCellSetting property.
Definition: Channel.cpp:733
ome::xml::model::Channel::getLightPath
ome::compat::shared_ptr< ome::xml::model::LightPath > getLightPath()
Get the LightPath property.
Definition: Channel.cpp:962
ome::xml::model::Channel::link
bool link(ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: Channel.cpp:523
ome::xml::model::Channel::setPockelCellSetting
void setPockelCellSetting(ome::compat::shared_ptr< int32_t > &pockelCellSetting)
Set the PockelCellSetting property.
Definition: Channel.cpp:747
ome::xml::model::Channel::unlinkFilterSet
void unlinkFilterSet(ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet)
Unlink FilterSet.
Definition: Channel.cpp:892
ome::xml::model::Channel::getEmissionWavelength
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & getEmissionWavelength()
Get the EmissionWavelength property.
Definition: Channel.cpp:775
ome::xml::model::Channel::sizeOfLinkedAnnotationList
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList() const
Get size of linked Annotation list.
Definition: Channel.cpp:902
ome::xml::model::Channel::setPixels
void setPixels(ome::compat::weak_ptr< ome::xml::model::Pixels > &pixels_BackReference)
Set the Pixels property.
Definition: Channel.cpp:997
ome::xml::model::Channel::setID
void setID(const std::string &id)
Set the ID property.
Definition: Channel.cpp:803
ome::xml::model::Channel::setIlluminationType
void setIlluminationType(ome::compat::shared_ptr< ome::xml::model::enums::IlluminationType > &illuminationType)
Set the IlluminationType property.
Definition: Channel.cpp:705
ome::xml::model::Channel::create
static ome::compat::shared_ptr< Channel > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Channel model object from DOM element.
Definition: Channel.cpp:279
ome::xml::model::Channel::getColor
ome::compat::shared_ptr< ome::xml::model::primitives::Color > getColor()
Get the Color property.
Definition: Channel.cpp:628
ome::xml::model::Channel::getPinholeSize
ome::compat::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength > > & getPinholeSize()
Get the PinholeSize property.
Definition: Channel.cpp:565
ome::xml::model::Channel::getLinkedFilterSet
ome::compat::weak_ptr< ome::xml::model::FilterSet > getLinkedFilterSet()
Get linked FilterSet.
Definition: Channel.cpp:873
log.h
ome::xml::model::Channel::unlinkAnnotation
bool unlinkAnnotation(const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
Unlink Annotation.
Definition: Channel.cpp:944
ome::xml::model::Channel::setAcquisitionMode
void setAcquisitionMode(ome::compat::shared_ptr< ome::xml::model::enums::AcquisitionMode > &acquisitionMode)
Set the AcquisitionMode property.
Definition: Channel.cpp:621