SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SourceXtractor::ProcessingImageSource< T > Class Template Referenceabstract

#include <ProcessingImageSource.h>

Inheritance diagram for SourceXtractor::ProcessingImageSource< T >:
[legend]
Collaboration diagram for SourceXtractor::ProcessingImageSource< T >:
[legend]

Public Member Functions

 ProcessingImageSource (std::shared_ptr< Image< T >> image)
 
virtual ~ProcessingImageSource ()=default
 
std::shared_ptr< ImageTile< T > > getImageTile (int x, int y, int width, int height) const override
 
void saveTile (ImageTile< T > &) override
 
int getWidth () const override
 Returns the width of the image in pixels. More...
 
int getHeight () const override
 Returns the height of the image in pixels. More...
 
- Public Member Functions inherited from SourceXtractor::ImageSource< T >
 ImageSource ()
 
virtual ~ImageSource ()=default
 
- Public Member Functions inherited from SourceXtractor::ImageSourceBase
virtual ~ImageSourceBase ()=default
 
virtual std::string getRepr () const =0
 Human readable representation of this source. More...
 
- Public Member Functions inherited from std::enable_shared_from_this< ImageSource< T > >
enable_shared_from_this (T...args)
 
operator= (T...args)
 
shared_from_this (T...args)
 
~enable_shared_from_this (T...args)
 

Protected Member Functions

virtual void generateTile (const std::shared_ptr< Image< T >> &image, ImageTile< T > &tile, int x, int y, int width, int height) const =0
 
std::string getImageRepr () const
 

Private Attributes

std::shared_ptr< Image< T > > m_image
 

Detailed Description

template<typename T>
class SourceXtractor::ProcessingImageSource< T >

Definition at line 33 of file ProcessingImageSource.h.

Constructor & Destructor Documentation

template<typename T>
SourceXtractor::ProcessingImageSource< T >::ProcessingImageSource ( std::shared_ptr< Image< T >>  image)
inline

Definition at line 36 of file ProcessingImageSource.h.

template<typename T>
virtual SourceXtractor::ProcessingImageSource< T >::~ProcessingImageSource ( )
virtualdefault

Member Function Documentation

template<typename T>
virtual void SourceXtractor::ProcessingImageSource< T >::generateTile ( const std::shared_ptr< Image< T >> &  image,
ImageTile< T > &  tile,
int  x,
int  y,
int  width,
int  height 
) const
protectedpure virtual
template<typename T>
int SourceXtractor::ProcessingImageSource< T >::getHeight ( ) const
inlineoverridevirtual

Returns the height of the image in pixels.

Implements SourceXtractor::ImageSource< T >.

Definition at line 58 of file ProcessingImageSource.h.

template<typename T>
std::string SourceXtractor::ProcessingImageSource< T >::getImageRepr ( ) const
inlineprotected
template<typename T>
std::shared_ptr<ImageTile<T> > SourceXtractor::ProcessingImageSource< T >::getImageTile ( int  x,
int  y,
int  width,
int  height 
) const
inlineoverridevirtual

Implements SourceXtractor::ImageSource< T >.

Definition at line 40 of file ProcessingImageSource.h.

template<typename T>
int SourceXtractor::ProcessingImageSource< T >::getWidth ( ) const
inlineoverridevirtual

Returns the width of the image in pixels.

Implements SourceXtractor::ImageSource< T >.

Definition at line 53 of file ProcessingImageSource.h.

template<typename T>
void SourceXtractor::ProcessingImageSource< T >::saveTile ( ImageTile< T > &  )
inlineoverridevirtual

Implements SourceXtractor::ImageSource< T >.

Definition at line 48 of file ProcessingImageSource.h.

Member Data Documentation

template<typename T>
std::shared_ptr<Image<T> > SourceXtractor::ProcessingImageSource< T >::m_image
private

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