Sirius  0.0.0
Public Member Functions | Public Attributes | List of all members
sirius::gdal::StreamBlock Struct Reference

Stream block. More...

#include <sirius/gdal/stream_block.h>

Public Member Functions

 StreamBlock ()=default
 
 StreamBlock (Image &&i_block_image, int i_row_idx, int i_col_idx, const Padding &i_padding)
 Instanciate a stream block from its block image and its position in the input image. More...
 
 ~StreamBlock ()=default
 
 StreamBlock (const StreamBlock &)=default
 
StreamBlockoperator= (const StreamBlock &)=default
 
 StreamBlock (StreamBlock &&)=default
 
StreamBlockoperator= (StreamBlock &&)=default
 

Public Attributes

Image buffer {}
 
int row_idx = 0
 
int col_idx = 0
 
Padding padding {}
 
bool is_initialized = false
 

Detailed Description

Stream block.

Constructor & Destructor Documentation

◆ StreamBlock() [1/4]

sirius::gdal::StreamBlock::StreamBlock ( )
default

◆ StreamBlock() [2/4]

sirius::gdal::StreamBlock::StreamBlock ( Image &&  i_block_image,
int  i_row_idx,
int  i_col_idx,
const Padding i_padding 
)
inline

Instanciate a stream block from its block image and its position in the input image.

Parameters
block_imageimage buffer of this block
row_idxrow index of the top left corner in the input image
col_idxcol index of the top left corner in the input image
paddingrequired filter padding

◆ ~StreamBlock()

sirius::gdal::StreamBlock::~StreamBlock ( )
default

◆ StreamBlock() [3/4]

sirius::gdal::StreamBlock::StreamBlock ( const StreamBlock )
default

◆ StreamBlock() [4/4]

sirius::gdal::StreamBlock::StreamBlock ( StreamBlock &&  )
default

Member Function Documentation

◆ operator=() [1/2]

StreamBlock& sirius::gdal::StreamBlock::operator= ( const StreamBlock )
default

◆ operator=() [2/2]

StreamBlock& sirius::gdal::StreamBlock::operator= ( StreamBlock &&  )
default

Member Data Documentation

◆ buffer

Image sirius::gdal::StreamBlock::buffer {}

◆ col_idx

int sirius::gdal::StreamBlock::col_idx = 0

◆ is_initialized

bool sirius::gdal::StreamBlock::is_initialized = false

◆ padding

Padding sirius::gdal::StreamBlock::padding {}

◆ row_idx

int sirius::gdal::StreamBlock::row_idx = 0

The documentation for this struct was generated from the following file: