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

#include <WriteableBufferedImage.h>

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

Public Member Functions

virtual ~WriteableBufferedImage ()=default
 
virtual void setValue (int x, int y, T value) override
 
- Public Member Functions inherited from SourceXtractor::BufferedImage< T >
virtual ~BufferedImage ()=default
 
std::string getRepr () const override
 Get a string identifying this image in a human readable manner. More...
 
getValue (int x, int y) const override
 Returns the value of the pixel with the coordinates (x,y) More...
 
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...
 
std::shared_ptr< ImageChunk< T > > getChunk (int x, int y, int width, int height) const override
 
- Public Member Functions inherited from SourceXtractor::ImageBase< T >
virtual ~ImageBase ()
 
- Public Member Functions inherited from SourceXtractor::Image< T >
virtual ~Image ()=default
 Destructor. More...
 
getValue (PixelCoordinate pc) const
 
bool isInside (int x, int y) const
 Returns true if the given coordinates are inside the image bounds. More...
 
- Public Member Functions inherited from std::enable_shared_from_this< ImageBase< T > >
enable_shared_from_this (T...args)
 
operator= (T...args)
 
shared_from_this (T...args)
 
~enable_shared_from_this (T...args)
 

Static Public Member Functions

static std::shared_ptr
< WriteableBufferedImage< T > > 
create (std::shared_ptr< const ImageSource > source, std::shared_ptr< TileManager > tile_manager=TileManager::getInstance())
 
- Static Public Member Functions inherited from SourceXtractor::BufferedImage< T >
static std::shared_ptr
< BufferedImage< T > > 
create (std::shared_ptr< const ImageSource > source, std::shared_ptr< TileManager > tile_manager=TileManager::getInstance())
 

Protected Member Functions

 WriteableBufferedImage (std::shared_ptr< const ImageSource > source, std::shared_ptr< TileManager > tile_manager)
 
- Protected Member Functions inherited from SourceXtractor::BufferedImage< T >
 BufferedImage (std::shared_ptr< const ImageSource > source, std::shared_ptr< TileManager > tile_manager)
 
void copyOverlappingPixels (const ImageTileWithType< T > &tile, std::vector< T > &output, int x, int y, int w, int h, int tile_w, int tile_h) const
 

Additional Inherited Members

- Public Types inherited from SourceXtractor::Image< T >
using PixelType = T
 
- Protected Attributes inherited from SourceXtractor::BufferedImage< T >
std::shared_ptr< const
ImageSource
m_source
 
std::shared_ptr< TileManagerm_tile_manager
 
std::shared_ptr< ImageTilem_current_tile
 

Detailed Description

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

Definition at line 33 of file WriteableBufferedImage.h.

Constructor & Destructor Documentation

template<typename T >
SourceXtractor::WriteableBufferedImage< T >::WriteableBufferedImage ( std::shared_ptr< const ImageSource source,
std::shared_ptr< TileManager tile_manager 
)
inlineprotected

Definition at line 37 of file WriteableBufferedImage.h.

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

Member Function Documentation

template<typename T >
static std::shared_ptr<WriteableBufferedImage<T> > SourceXtractor::WriteableBufferedImage< T >::create ( std::shared_ptr< const ImageSource source,
std::shared_ptr< TileManager tile_manager = TileManager::getInstance() 
)
inlinestatic
template<typename T >
virtual void SourceXtractor::WriteableBufferedImage< T >::setValue ( int  x,
int  y,
value 
)
inlineoverridevirtual

Implements SourceXtractor::WriteableImage< T >.

Definition at line 51 of file WriteableBufferedImage.h.

References SourceXtractor::BufferedImage< T >::getHeight(), SourceXtractor::BufferedImage< T >::getWidth(), and SourceXtractor::BufferedImage< T >::m_current_tile.

Here is the call graph for this function:


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