cartodata
5.0.5
|
FormatWriter specialized for 4D Volume. More...
#include <cartodata/io/volumeformatwriter.h>
Public Member Functions | |
virtual | ~VolumeFormatWriter () |
virtual bool | filterProperties (carto::Object header, carto::Object options=carto::none()) |
FormatWriter derived function It removes properties that must not be written. More... | |
virtual bool | write (const carto::Volume< T > &obj, carto::rc_ptr< DataSourceInfo > dsi, carto::Object options) |
FormatWriter derived function This method understands a volume and calls appropriate ImageWriter methods. More... | |
void | attach (carto::rc_ptr< ImageWriter< T > > imw) |
Linking to a ImageWriter Allows us to declare only once the ImageWriter. More... | |
![]() | |
virtual | ~FormatWriter () |
Protected Attributes | |
carto::rc_ptr< ImageWriter< T > > | _imw |
FormatWriter specialized for 4D Volume.
A such VolumeFormatWriter needs to be linked to a specialized ImageWriter before being registered into a FormatDictionary.
It understands the Volume and detects specific cases (borders, partial reading, ...) before performing the writing through its linked ImageWriter.
Options may be given through the filename, at creation of the Reader.
Definition at line 78 of file volumeformatwriter.h.
|
virtual |
Definition at line 69 of file volumeformatwriter_d.h.
void soma::VolumeFormatWriter< T >::attach | ( | carto::rc_ptr< ImageWriter< T > > | imw | ) |
Linking to a ImageWriter Allows us to declare only once the ImageWriter.
Definition at line 348 of file volumeformatwriter_d.h.
Referenced by soma::VolumeRefFormatWriter< T >::write().
|
virtual |
FormatWriter derived function It removes properties that must not be written.
Implements soma::FormatWriter< carto::Volume< T > >.
Definition at line 77 of file volumeformatwriter_d.h.
References soma::MinfUtil::filter().
|
virtual |
FormatWriter derived function This method understands a volume and calls appropriate ImageWriter methods.
Implements soma::FormatWriter< carto::Volume< T > >.
Definition at line 90 of file volumeformatwriter_d.h.
References carto::Volume< T >::allocatorContext(), soma::AllocatorContext::allocatorType(), carto::rc_ptr< T >::get(), carto::VolumeProxy< T >::getSize(), soma::DataSourceInfo::header(), carto::Headered::header(), soma::AllocatorContext::isAllocated(), localMsg, carto::Volume< T >::posInRefVolume(), soma::AllocatorStrategy::ReadWriteMap, carto::Object::reference(), carto::Volume< T >::refVolume(), carto::toString(), soma::DataSourceInfo::url(), and carto::Object::value().
Referenced by soma::VolumeRefFormatWriter< T >::write().
|
protected |
Definition at line 100 of file volumeformatwriter.h.