ome-xml
5.6.0
|
#include <ome/xml/model/Pixels.h>
Classes | |
class | Impl |
Private implementation details of Pixels model object. More... | |
Public Member Functions | |
Pixels () | |
Default constructor. | |
Pixels (const Pixels ©) | |
Copy constructor. More... | |
virtual | ~Pixels () |
Destructor. | |
const std::string & | elementName () const |
Get the element name of this model object. More... | |
bool | validElementName (const std::string &name) const |
Check if a given element name is valid for processing by this model object. More... | |
virtual SKIP void | update (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
bool | link (std::shared_ptr< Reference > &reference, std::shared_ptr< ome::xml::model::OMEModelObject > &object) |
Link a given OME model object to this model object. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeT () const |
Get the SizeT property. More... | |
void | setSizeT (const ome::xml::model::primitives::PositiveInteger &sizeT) |
Set the SizeT property. More... | |
ome::xml::model::enums::DimensionOrder & | getDimensionOrder () |
Get the DimensionOrder property. More... | |
const ome::xml::model::enums::DimensionOrder & | getDimensionOrder () const |
Get the DimensionOrder property. More... | |
void | setDimensionOrder (const ome::xml::model::enums::DimensionOrder &dimensionOrder) |
Set the DimensionOrder property. More... | |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeZ () |
Get the PhysicalSizeZ property. More... | |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeZ () const |
Get the PhysicalSizeZ property. More... | |
void | setPhysicalSizeZ (const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &physicalSizeZ) |
Set the PhysicalSizeZ property. More... | |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeY () |
Get the PhysicalSizeY property. More... | |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeY () const |
Get the PhysicalSizeY property. More... | |
void | setPhysicalSizeY (const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &physicalSizeY) |
Set the PhysicalSizeY property. More... | |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeX () |
Get the PhysicalSizeX property. More... | |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | getPhysicalSizeX () const |
Get the PhysicalSizeX property. More... | |
void | setPhysicalSizeX (const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &physicalSizeX) |
Set the PhysicalSizeX property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeX () const |
Get the SizeX property. More... | |
void | setSizeX (const ome::xml::model::primitives::PositiveInteger &sizeX) |
Set the SizeX property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeY () const |
Get the SizeY property. More... | |
void | setSizeY (const ome::xml::model::primitives::PositiveInteger &sizeY) |
Set the SizeY property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeZ () const |
Get the SizeZ property. More... | |
void | setSizeZ (const ome::xml::model::primitives::PositiveInteger &sizeZ) |
Set the SizeZ property. More... | |
std::shared_ptr< bool > | getBigEndian () |
Get the BigEndian property. More... | |
const std::shared_ptr< bool > | getBigEndian () const |
Get the BigEndian property. More... | |
void | setBigEndian (std::shared_ptr< bool > &bigEndian) |
Set the BigEndian property. More... | |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & | getTimeIncrement () |
Get the TimeIncrement property. More... | |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & | getTimeIncrement () const |
Get the TimeIncrement property. More... | |
void | setTimeIncrement (const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > &timeIncrement) |
Set the TimeIncrement property. More... | |
std::shared_ptr< ome::xml::model::primitives::PositiveInteger > | getSignificantBits () |
Get the SignificantBits property. More... | |
const std::shared_ptr< ome::xml::model::primitives::PositiveInteger > | getSignificantBits () const |
Get the SignificantBits property. More... | |
void | setSignificantBits (std::shared_ptr< ome::xml::model::primitives::PositiveInteger > &significantBits) |
Set the SignificantBits property. More... | |
const ome::xml::model::primitives::PositiveInteger & | getSizeC () const |
Get the SizeC property. More... | |
void | setSizeC (const ome::xml::model::primitives::PositiveInteger &sizeC) |
Set the SizeC property. More... | |
ome::xml::model::enums::PixelType & | getType () |
Get the Type property. More... | |
const ome::xml::model::enums::PixelType & | getType () const |
Get the Type property. More... | |
void | setType (const ome::xml::model::enums::PixelType &type) |
Set the Type property. More... | |
const std::string & | getID () const |
Get the ID property. More... | |
void | setID (const std::string &id) |
Set the ID property. More... | |
std::shared_ptr< bool > | getInterleaved () |
Get the Interleaved property. More... | |
const std::shared_ptr< bool > | getInterleaved () const |
Get the Interleaved property. More... | |
void | setInterleaved (std::shared_ptr< bool > &interleaved) |
Set the Interleaved property. More... | |
std::vector< std::shared_ptr< ome::xml::model::Channel > >::size_type | sizeOfChannelList () const |
Get size of linked Channel list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Channel > > & | getChannelList () |
Get the Channel list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Channel > > & | getChannelList () const |
Get the Channel list. More... | |
std::shared_ptr< ome::xml::model::Channel > & | getChannel (std::vector< std::shared_ptr< ome::xml::model::Channel >>::size_type index) |
Get Channel. More... | |
const std::shared_ptr< ome::xml::model::Channel > & | getChannel (std::vector< std::shared_ptr< ome::xml::model::Channel >>::size_type index) const |
Get Channel. More... | |
void | setChannel (std::vector< std::shared_ptr< ome::xml::model::Channel >>::size_type index, std::shared_ptr< ome::xml::model::Channel > &channel) |
Set Channel. More... | |
void | addChannel (std::shared_ptr< ome::xml::model::Channel > &channel) |
Add Channel. More... | |
void | removeChannel (std::shared_ptr< ome::xml::model::Channel > &channel) |
Remove Channel. More... | |
std::vector< std::shared_ptr< ome::xml::model::BinData > >::size_type | sizeOfBinDataList () const |
Get size of linked BinData list. More... | |
std::vector< std::shared_ptr< ome::xml::model::BinData > > & | getBinDataList () |
Get the BinData list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::BinData > > & | getBinDataList () const |
Get the BinData list. More... | |
std::shared_ptr< ome::xml::model::BinData > & | getBinData (std::vector< std::shared_ptr< ome::xml::model::BinData >>::size_type index) |
Get BinData. More... | |
const std::shared_ptr< ome::xml::model::BinData > & | getBinData (std::vector< std::shared_ptr< ome::xml::model::BinData >>::size_type index) const |
Get BinData. More... | |
void | setBinData (std::vector< std::shared_ptr< ome::xml::model::BinData >>::size_type index, std::shared_ptr< ome::xml::model::BinData > &binData) |
Set BinData. More... | |
void | addBinData (std::shared_ptr< ome::xml::model::BinData > &binData) |
Add BinData. More... | |
void | removeBinData (std::shared_ptr< ome::xml::model::BinData > &binData) |
Remove BinData. More... | |
std::vector< std::shared_ptr< ome::xml::model::TiffData > >::size_type | sizeOfTiffDataList () const |
Get size of linked TiffData list. More... | |
std::vector< std::shared_ptr< ome::xml::model::TiffData > > & | getTiffDataList () |
Get the TiffData list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::TiffData > > & | getTiffDataList () const |
Get the TiffData list. More... | |
std::shared_ptr< ome::xml::model::TiffData > & | getTiffData (std::vector< std::shared_ptr< ome::xml::model::TiffData >>::size_type index) |
Get TiffData. More... | |
const std::shared_ptr< ome::xml::model::TiffData > & | getTiffData (std::vector< std::shared_ptr< ome::xml::model::TiffData >>::size_type index) const |
Get TiffData. More... | |
void | setTiffData (std::vector< std::shared_ptr< ome::xml::model::TiffData >>::size_type index, std::shared_ptr< ome::xml::model::TiffData > &tiffData) |
Set TiffData. More... | |
void | addTiffData (std::shared_ptr< ome::xml::model::TiffData > &tiffData) |
Add TiffData. More... | |
void | removeTiffData (std::shared_ptr< ome::xml::model::TiffData > &tiffData) |
Remove TiffData. More... | |
std::shared_ptr< ome::xml::model::MetadataOnly > | getMetadataOnly () |
Get the MetadataOnly property. More... | |
const std::shared_ptr< ome::xml::model::MetadataOnly > | getMetadataOnly () const |
Get the MetadataOnly property. More... | |
void | setMetadataOnly (std::shared_ptr< ome::xml::model::MetadataOnly > &metadataOnly) |
Set the MetadataOnly property. More... | |
std::vector< std::shared_ptr< ome::xml::model::Plane > >::size_type | sizeOfPlaneList () const |
Get size of linked Plane list. More... | |
std::vector< std::shared_ptr< ome::xml::model::Plane > > & | getPlaneList () |
Get the Plane list. More... | |
const std::vector< std::shared_ptr< ome::xml::model::Plane > > & | getPlaneList () const |
Get the Plane list. More... | |
std::shared_ptr< ome::xml::model::Plane > & | getPlane (std::vector< std::shared_ptr< ome::xml::model::Plane >>::size_type index) |
Get Plane. More... | |
const std::shared_ptr< ome::xml::model::Plane > & | getPlane (std::vector< std::shared_ptr< ome::xml::model::Plane >>::size_type index) const |
Get Plane. More... | |
void | setPlane (std::vector< std::shared_ptr< ome::xml::model::Plane >>::size_type index, std::shared_ptr< ome::xml::model::Plane > &plane) |
Set Plane. More... | |
void | addPlane (std::shared_ptr< ome::xml::model::Plane > &plane) |
Add Plane. More... | |
void | removePlane (std::shared_ptr< ome::xml::model::Plane > &plane) |
Remove Plane. More... | |
const std::string & | getXMLNamespace () const |
Get the XML namespace for this model object. More... | |
Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
virtual | ~OMEModelObject () |
Destructor. | |
virtual common::xml::dom::Element | asXMLElement (common::xml::dom::Document &document) const |
Transform the object hierarchy rooted at this element to XML. More... | |
virtual void | asXMLElement (common::xml::dom::Document &document, common::xml::dom::Element &element) const |
Transform the object hierarchy rooted at this element to XML. More... | |
virtual void | update (const common::xml::dom::Element &element, ::ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
virtual bool | link (std::shared_ptr< Reference > &reference, std::shared_ptr<::ome::xml::model::OMEModelObject > &object) |
Link a given OME model object to this model object. More... | |
Public Member Functions inherited from ome::xml::model::OMEModelObject | |
virtual bool | link (std::shared_ptr< Reference > &reference, std::shared_ptr< OMEModelObject > &object)=0 |
Link a given OME model object to this model object. More... | |
Static Public Member Functions | |
static std::shared_ptr< Pixels > | create (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model) |
Create a Pixels model object from DOM element. More... | |
Static Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
static std::vector< common::xml::dom::Element > | getChildrenByTagName (const common::xml::dom::Element &parent, const std::string &name) |
Retrieve all the children of an element that have a given tag name. More... | |
static std::string | stripNamespacePrefix (const std::string &value) |
Strip the namespace prefix from a tag name. More... | |
Protected Member Functions | |
virtual void | asXMLElementInternal (common::xml::dom::Document &document, common::xml::dom::Element &element) const |
Transform the object hierarchy rooted at this element to XML. More... | |
Protected Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
OMEModelObject (const std::string &objectType="OMEModelObject") | |
Constructor. More... | |
OMEModelObject (const OMEModelObject ©) | |
Copy constructor. More... | |
template<class C , typename T > | |
bool | contains (const C &container, const std::shared_ptr< T > &element) |
Check if a container contains a particular element. More... | |
Protected Member Functions inherited from ome::xml::model::OMEModelObject | |
OMEModelObject () | |
Constructor. | |
Private Attributes | |
std::shared_ptr< Impl > | impl |
Private implementation details. | |
Additional Inherited Members | |
Protected Attributes inherited from ome::xml::model::detail::OMEModelObject | |
ome::common::Logger | logger |
Message logger. | |
Pixels model object.
ome::xml::model::Pixels::Pixels | ( | const Pixels & | copy | ) |
Copy constructor.
copy | the Pixels to copy. |
void ome::xml::model::Pixels::addBinData | ( | std::shared_ptr< ome::xml::model::BinData > & | binData | ) |
void ome::xml::model::Pixels::addChannel | ( | std::shared_ptr< ome::xml::model::Channel > & | channel | ) |
void ome::xml::model::Pixels::addPlane | ( | std::shared_ptr< ome::xml::model::Plane > & | plane | ) |
void ome::xml::model::Pixels::addTiffData | ( | std::shared_ptr< ome::xml::model::TiffData > & | tiffData | ) |
|
protectedvirtual |
Transform the object hierarchy rooted at this element to XML.
This internal implementation of asXMLelement also requires an XML element, which must not be null, or may be instantiated and passed from superclasses.
Concrete model object implementations should override this method.
document | XML document for element creation. |
element | XML element for setting model data. |
Implements ome::xml::model::detail::OMEModelObject.
References ome::common::xml::dom::Node::appendChild(), ome::xml::model::detail::OMEModelObject::asXMLElementInternal(), ome::common::xml::dom::Document::createElementNS(), getXMLNamespace(), impl, and ome::common::xml::dom::Element::setAttribute().
|
static |
Create a Pixels model object from DOM element.
element | root of the XML DOM tree to from which to construct the model object graph. |
model | handler for the OME model used to track instances and references seen during the update. |
EnumerationException | if there is an error instantiating an enumeration during model object creation, or ModelException if there are any consistency or validity errors found during processing. |
Referenced by ome::xml::model::Image::update().
|
virtual |
Get the element name of this model object.
This will be the most-derived class name.
Implements ome::xml::model::OMEModelObject.
std::shared_ptr< bool > ome::xml::model::Pixels::getBigEndian | ( | ) |
const std::shared_ptr< bool > ome::xml::model::Pixels::getBigEndian | ( | ) | const |
std::shared_ptr< ome::xml::model::BinData > & ome::xml::model::Pixels::getBinData | ( | std::vector< std::shared_ptr< ome::xml::model::BinData >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::BinData > & ome::xml::model::Pixels::getBinData | ( | std::vector< std::shared_ptr< ome::xml::model::BinData >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::BinData > > & ome::xml::model::Pixels::getBinDataList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::BinData > > & ome::xml::model::Pixels::getBinDataList | ( | ) | const |
std::shared_ptr< ome::xml::model::Channel > & ome::xml::model::Pixels::getChannel | ( | std::vector< std::shared_ptr< ome::xml::model::Channel >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Channel > & ome::xml::model::Pixels::getChannel | ( | std::vector< std::shared_ptr< ome::xml::model::Channel >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Channel > > & ome::xml::model::Pixels::getChannelList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Channel > > & ome::xml::model::Pixels::getChannelList | ( | ) | const |
ome::xml::model::enums::DimensionOrder & ome::xml::model::Pixels::getDimensionOrder | ( | ) |
const ome::xml::model::enums::DimensionOrder & ome::xml::model::Pixels::getDimensionOrder | ( | ) | const |
const std::string & ome::xml::model::Pixels::getID | ( | ) | const |
std::shared_ptr< bool > ome::xml::model::Pixels::getInterleaved | ( | ) |
const std::shared_ptr< bool > ome::xml::model::Pixels::getInterleaved | ( | ) | const |
std::shared_ptr< ome::xml::model::MetadataOnly > ome::xml::model::Pixels::getMetadataOnly | ( | ) |
const std::shared_ptr< ome::xml::model::MetadataOnly > ome::xml::model::Pixels::getMetadataOnly | ( | ) | const |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeX | ( | ) |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeX | ( | ) | const |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeY | ( | ) |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeY | ( | ) | const |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeZ | ( | ) |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & ome::xml::model::Pixels::getPhysicalSizeZ | ( | ) | const |
std::shared_ptr< ome::xml::model::Plane > & ome::xml::model::Pixels::getPlane | ( | std::vector< std::shared_ptr< ome::xml::model::Plane >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::Plane > & ome::xml::model::Pixels::getPlane | ( | std::vector< std::shared_ptr< ome::xml::model::Plane >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Plane > > & ome::xml::model::Pixels::getPlaneList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::Plane > > & ome::xml::model::Pixels::getPlaneList | ( | ) | const |
std::shared_ptr< ome::xml::model::primitives::PositiveInteger > ome::xml::model::Pixels::getSignificantBits | ( | ) |
const std::shared_ptr< ome::xml::model::primitives::PositiveInteger > ome::xml::model::Pixels::getSignificantBits | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeC | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeT | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeX | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeY | ( | ) | const |
const ome::xml::model::primitives::PositiveInteger & ome::xml::model::Pixels::getSizeZ | ( | ) | const |
std::shared_ptr< ome::xml::model::TiffData > & ome::xml::model::Pixels::getTiffData | ( | std::vector< std::shared_ptr< ome::xml::model::TiffData >>::size_type | index | ) |
const std::shared_ptr< ome::xml::model::TiffData > & ome::xml::model::Pixels::getTiffData | ( | std::vector< std::shared_ptr< ome::xml::model::TiffData >>::size_type | index | ) | const |
std::vector< std::shared_ptr< ome::xml::model::TiffData > > & ome::xml::model::Pixels::getTiffDataList | ( | ) |
const std::vector< std::shared_ptr< ome::xml::model::TiffData > > & ome::xml::model::Pixels::getTiffDataList | ( | ) | const |
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & ome::xml::model::Pixels::getTimeIncrement | ( | ) |
const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & ome::xml::model::Pixels::getTimeIncrement | ( | ) | const |
ome::xml::model::enums::PixelType & ome::xml::model::Pixels::getType | ( | ) |
const ome::xml::model::enums::PixelType & ome::xml::model::Pixels::getType | ( | ) | const |
|
virtual |
Get the XML namespace for this model object.
Implements ome::xml::model::OMEModelObject.
Referenced by asXMLElementInternal().
bool ome::xml::model::Pixels::link | ( | std::shared_ptr< Reference > & | reference, |
std::shared_ptr< ome::xml::model::OMEModelObject > & | object | ||
) |
Link a given OME model object to this model object.
reference | type qualifier for the reference. This should be the corresponding reference type for object. If, for example, object is of type Image, reference must be of type ImageRef. |
object | Model object to link to. |
true
if this model object was able to handle the reference, otherwise false
.References ome::xml::model::detail::OMEModelObject::link(), and ome::xml::model::detail::OMEModelObject::logger.
void ome::xml::model::Pixels::removeBinData | ( | std::shared_ptr< ome::xml::model::BinData > & | binData | ) |
void ome::xml::model::Pixels::removeChannel | ( | std::shared_ptr< ome::xml::model::Channel > & | channel | ) |
void ome::xml::model::Pixels::removePlane | ( | std::shared_ptr< ome::xml::model::Plane > & | plane | ) |
void ome::xml::model::Pixels::removeTiffData | ( | std::shared_ptr< ome::xml::model::TiffData > & | tiffData | ) |
void ome::xml::model::Pixels::setBigEndian | ( | std::shared_ptr< bool > & | bigEndian | ) |
void ome::xml::model::Pixels::setBinData | ( | std::vector< std::shared_ptr< ome::xml::model::BinData >>::size_type | index, |
std::shared_ptr< ome::xml::model::BinData > & | binData | ||
) |
void ome::xml::model::Pixels::setChannel | ( | std::vector< std::shared_ptr< ome::xml::model::Channel >>::size_type | index, |
std::shared_ptr< ome::xml::model::Channel > & | channel | ||
) |
void ome::xml::model::Pixels::setDimensionOrder | ( | const ome::xml::model::enums::DimensionOrder & | dimensionOrder | ) |
void ome::xml::model::Pixels::setID | ( | const std::string & | id | ) |
void ome::xml::model::Pixels::setInterleaved | ( | std::shared_ptr< bool > & | interleaved | ) |
void ome::xml::model::Pixels::setMetadataOnly | ( | std::shared_ptr< ome::xml::model::MetadataOnly > & | metadataOnly | ) |
Set the MetadataOnly property.
metadataOnly | the value to set. |
References impl.
Referenced by update().
void ome::xml::model::Pixels::setPhysicalSizeX | ( | const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | physicalSizeX | ) |
void ome::xml::model::Pixels::setPhysicalSizeY | ( | const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | physicalSizeY | ) |
void ome::xml::model::Pixels::setPhysicalSizeZ | ( | const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & | physicalSizeZ | ) |
void ome::xml::model::Pixels::setPlane | ( | std::vector< std::shared_ptr< ome::xml::model::Plane >>::size_type | index, |
std::shared_ptr< ome::xml::model::Plane > & | plane | ||
) |
void ome::xml::model::Pixels::setSignificantBits | ( | std::shared_ptr< ome::xml::model::primitives::PositiveInteger > & | significantBits | ) |
void ome::xml::model::Pixels::setSizeC | ( | const ome::xml::model::primitives::PositiveInteger & | sizeC | ) |
void ome::xml::model::Pixels::setSizeT | ( | const ome::xml::model::primitives::PositiveInteger & | sizeT | ) |
void ome::xml::model::Pixels::setSizeX | ( | const ome::xml::model::primitives::PositiveInteger & | sizeX | ) |
void ome::xml::model::Pixels::setSizeY | ( | const ome::xml::model::primitives::PositiveInteger & | sizeY | ) |
void ome::xml::model::Pixels::setSizeZ | ( | const ome::xml::model::primitives::PositiveInteger & | sizeZ | ) |
void ome::xml::model::Pixels::setTiffData | ( | std::vector< std::shared_ptr< ome::xml::model::TiffData >>::size_type | index, |
std::shared_ptr< ome::xml::model::TiffData > & | tiffData | ||
) |
void ome::xml::model::Pixels::setTimeIncrement | ( | const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsTime > > & | timeIncrement | ) |
void ome::xml::model::Pixels::setType | ( | const ome::xml::model::enums::PixelType & | type | ) |
std::vector< std::shared_ptr< ome::xml::model::BinData > >::size_type ome::xml::model::Pixels::sizeOfBinDataList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Channel > >::size_type ome::xml::model::Pixels::sizeOfChannelList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::Plane > >::size_type ome::xml::model::Pixels::sizeOfPlaneList | ( | ) | const |
std::vector< std::shared_ptr< ome::xml::model::TiffData > >::size_type ome::xml::model::Pixels::sizeOfTiffDataList | ( | ) | const |
|
virtual |
Update the object hierarchy recursively from an XML DOM tree.
element | root of the XML DOM tree to from which to construct the model object graph. |
model | handler for the OME model used to track instances and references seen during the update. |
EnumerationException | if there is an error instantiating an enumeration during model object creation, or ModelException if there are any consistency or validity errors found during processing. |
Implements ome::xml::model::OMEModelObject.
References addBinData(), addChannel(), ome::xml::model::OMEModel::addModelObject(), addPlane(), addTiffData(), ome::xml::model::MetadataOnly::create(), ome::xml::model::BinData::create(), ome::xml::model::TiffData::create(), ome::xml::model::Plane::create(), ome::xml::model::Channel::create(), ome::common::xml::dom::Element::getAttribute(), ome::xml::model::detail::OMEModelObject::getChildrenByTagName(), getID(), ome::common::xml::dom::Element::getTagName(), ome::common::xml::dom::Element::hasAttribute(), ome::xml::model::detail::OMEModelObject::logger, setBigEndian(), setDimensionOrder(), setID(), setInterleaved(), setMetadataOnly(), setPhysicalSizeX(), setPhysicalSizeY(), setPhysicalSizeZ(), setSignificantBits(), setSizeC(), setSizeT(), setSizeX(), setSizeY(), setSizeZ(), setTimeIncrement(), setType(), ome::xml::model::detail::OMEModelObject::update(), and validElementName().
|
virtual |
Check if a given element name is valid for processing by this model object.
Used for processing nodes when interitance is involved.
name | the element name to check. |
true
if valid, false
if invalid. Implements ome::xml::model::detail::OMEModelObject.
Referenced by update().