34 mitkReThrow(e) <<
"Cannot access image data while constructing US image";
USImage()
This constructor creates an empty USImage. The Metadata are set to default.
void Initialize() override
DataCollection - Class to facilitate loading/accessing structured data.
void SetMetadata(mitk::USImageMetadata::Pointer metadata)
Writes the information of the metadata object into the image's properties.
#define mitkReThrow(mitkexception)
void SetProperty(const std::string &propertyKey, BaseProperty *property, const std::string &contextName="", bool fallBackOnDefaultContext=false) override
Add new or change existent property.
virtual bool SetVolume(const void *data, int t=0, int n=0)
Set data as volume at time t in channel n. It is in the responsibility of the caller to ensure that t...
An object of this class represents an exception of MITK. Please don't instantiate exceptions manually...
Image class for storing images.
mitk::Image::Pointer image
mitk::USImageMetadata::Pointer GetMetadata() const
Reads out this image's Metadata set from the properties and returns a corresponding USImageMetadata o...
mitk::BaseProperty::Pointer GetProperty(const char *propertyKey) const
Get the property (instance of BaseProperty) with key propertyKey from the PropertyList, and set it to this, respectively;.
ImageReadAccessor class to get locked read access for a particular image part.