34 #ifndef SOMAIO_IMAGE_IMAGEWRITER_D_H 
   35 #define SOMAIO_IMAGE_IMAGEWRITER_D_H 
   85                               const std::vector<int> & ,
 
   86                               const std::vector<int> & ,
 
   87                               const std::vector<long> & ,
 
   92                                        ds ? ds->url() : 
"" );
 
   99     const std::vector<int> & ,
 
  100     const std::vector<int> & ,
 
  101     const std::vector<long> & ,
 
  106                                        ds ? ds->url() : 
"" );
 
Informative object used by IO system.
const DataSourceList & list() const
const carto::rc_ptr< DataSource > & dataSource(const std::string &s="default", int i=0) const
Accessing an element of the list If keyword doesn't exist, or is empty, or coordinate is undefined,...
virtual void resetParams()
Abstract : empty specialized ImageWriter's parameters.
virtual void updateParams(DataSourceInfo &dsi)
Abstract : set specialized ImageWriter's parameters.
virtual void write(const T *source, DataSourceInfo &dsi, const std::vector< int > &pos, const std::vector< int > &size, const std::vector< long > &strides, carto::Object options=carto::none())
Reading a region of a Image/Volume at a given resolution to a pre-allocated buffer.
virtual DataSourceInfo writeHeader(DataSourceInfo &dsi, const T *source, const std::vector< int > &pos, const std::vector< int > &size, const std::vector< long > &strides, carto::Object options=carto::none())
This function is called before the actual writing by a FormatWriter.