SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::WriteableBufferedImage< T > Class Template Reference

#include <WriteableBufferedImage.h>

Inheritance diagram for SourceXtractor::WriteableBufferedImage< T >:
Collaboration diagram for SourceXtractor::WriteableBufferedImage< T >:

Public Member Functions

virtual ~WriteableBufferedImage ()=default
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.
int getWidth () const override
 Returns the width of the image in pixels.
int getHeight () const override
 Returns the height of the image in pixels.
std::shared_ptr< ImageChunk< T > > getChunk (int x, int y, int width, int height) const override
Public Member Functions inherited from SourceXtractor::Image< T >
virtual ~Image ()=default
 Destructor.
std::shared_ptr< ImageChunk< T > > getChunk (const PixelCoordinate &start, const PixelCoordinate &end) const
bool isInside (int x, int y) const
 Returns true if the given coordinates are inside the image bounds.

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

Private Attributes

std::shared_ptr< ImageTilem_current_tile

Additional Inherited Members

Public Types inherited from SourceXtractor::Image< T >
using PixelType = T
Public Attributes inherited from SourceXtractor::WriteableImage< T >
std::mutex m_write_mutex
Protected Attributes inherited from SourceXtractor::BufferedImage< T >
std::shared_ptr< const ImageSourcem_source
std::shared_ptr< TileManagerm_tile_manager

Detailed Description

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

Definition at line 33 of file WriteableBufferedImage.h.

Constructor & Destructor Documentation

◆ WriteableBufferedImage()

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.

References SourceXtractor::BufferedImage< T >::BufferedImage().

Referenced by create().

Here is the call graph for this function:

◆ ~WriteableBufferedImage()

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

Member Function Documentation

◆ create()

◆ setValue()

template<typename T>
void SourceXtractor::WriteableBufferedImage< T >::setValue ( int x,
int y,
T value )
inlineoverridevirtual

Member Data Documentation

◆ m_current_tile

template<typename T>
std::shared_ptr<ImageTile> SourceXtractor::WriteableBufferedImage< T >::m_current_tile
mutableprivate

Definition at line 63 of file WriteableBufferedImage.h.

Referenced by setValue().


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