cartodata
5.0.5
|
FormatReader specialized for reference to 4D Volume. More...
#include <cartodata/io/volumeformatreader.h>
Public Member Functions | |
virtual | ~VolumeRefFormatReader () |
virtual void | read (carto::VolumeRef< T > &obj, carto::rc_ptr< DataSourceInfo > dsi, const AllocatorContext &context, carto::Object options=carto::none()) |
FormatReader derived function This method understands a volume and calls read( buffer ) with appropriate arguments. More... | |
void | attach (carto::rc_ptr< ImageReader< T > > imr) |
Linking to a ImageReader Allows us to declare only once the ImageReader. More... | |
virtual VolumeRef< T > * | createAndRead (carto::rc_ptr< DataSourceInfo > dsi, const AllocatorContext &context, carto::Object options) |
Factory mode: creates an object and reads it. More... | |
virtual void | setupAndRead (VolumeRef< T > &obj, carto::rc_ptr< DataSourceInfo > dsi, const AllocatorContext &context, carto::Object options) |
Full reading procedure, for an already existing object. More... | |
virtual FormatReader< carto::VolumeRef< T > > * | clone () const |
virtual std::string | formatID () const |
![]() | |
virtual | ~FormatReader () |
virtual void | setupAndRead (carto::VolumeRef< T > &obj, carto::rc_ptr< DataSourceInfo > dsi, const AllocatorContext &context, carto::Object options) |
virtual carto::rc_ptr< DataSourceInfo > | checkDataSourceInfo (carto::rc_ptr< DataSourceInfo > dsi, carto::Object options) |
virtual carto::VolumeRef< T > * | create (carto::Object header, const AllocatorContext &context, carto::Object options) |
virtual void | setup (carto::VolumeRef< T > &obj, carto::Object header, const AllocatorContext &context, carto::Object options) |
Protected Attributes | |
carto::rc_ptr< ImageReader< T > > | _imr |
FormatReader specialized for reference to 4D Volume.
Definition at line 129 of file volumeformatreader.h.
|
virtual |
Definition at line 535 of file volumeformatreader_d.h.
void soma::VolumeRefFormatReader< T >::attach | ( | carto::rc_ptr< ImageReader< T > > | imr | ) |
Linking to a ImageReader Allows us to declare only once the ImageReader.
Definition at line 630 of file volumeformatreader_d.h.
Referenced by soma::VolumeRefFormatReader< T >::clone().
|
virtual |
Implements soma::FormatReader< carto::VolumeRef< T > >.
Definition at line 638 of file volumeformatreader_d.h.
References soma::VolumeRefFormatReader< T >::attach().
|
virtual |
Factory mode: creates an object and reads it.
The returned object belongs to the calling layer and may be deleted by the standard delete
Reimplemented from soma::FormatReader< carto::VolumeRef< T > >.
Definition at line 598 of file volumeformatreader_d.h.
References soma::VolumeFormatReader< T >::attach(), and soma::VolumeFormatReader< T >::createAndRead().
|
virtual |
Implements soma::FormatReader< carto::VolumeRef< T > >.
Definition at line 647 of file volumeformatreader_d.h.
|
virtual |
FormatReader derived function This method understands a volume and calls read( buffer ) with appropriate arguments.
Reimplemented from soma::FormatReader< carto::VolumeRef< T > >.
Definition at line 616 of file volumeformatreader_d.h.
References soma::VolumeFormatReader< T >::attach(), and soma::VolumeFormatReader< T >::read().
|
virtual |
Full reading procedure, for an already existing object.
Definition at line 546 of file volumeformatreader_d.h.
References soma::VolumeFormatReader< T >::attach(), soma::DataSourceList::dataSource(), rc_ptr< GenericObject >::get(), soma::DataSourceInfo::list(), soma::VolumeUtilIO< T >::listReadProperties(), carto::Object::reference(), soma::VolumeFormatReader< T >::setupAndRead(), carto::Carto2AimsHeaderTranslator::translate(), and carto::Object::value().
|
protected |
Definition at line 166 of file volumeformatreader.h.