SourceXtractorPlusPlus  0.10
Please provide a description of the project.
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
 
virtual std::shared_ptr< ImageTile< T > > getImageTile (int x, int y, int width, int height) const override
 
virtual void saveTile (ImageTile< T > &) override
 
virtual int getWidth () const override
 Returns the width of the image in pixels. More...
 
virtual 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 (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

◆ ProcessingImageSource()

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

Definition at line 36 of file ProcessingImageSource.h.

◆ ~ProcessingImageSource()

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

Member Function Documentation

◆ generateTile()

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

◆ getHeight()

template<typename T >
virtual 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.

◆ getImageRepr()

template<typename T >
std::string SourceXtractor::ProcessingImageSource< T >::getImageRepr ( ) const
inlineprotected

◆ getImageTile()

template<typename T >
virtual 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.

◆ getWidth()

template<typename T >
virtual 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.

◆ saveTile()

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

Implements SourceXtractor::ImageSource< T >.

Definition at line 48 of file ProcessingImageSource.h.

Member Data Documentation

◆ m_image

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: