SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <WriteableBufferedImage.h>
Public Member Functions | |
virtual | ~WriteableBufferedImage ()=default |
void | setValue (int x, int y, T value) override |
![]() | |
virtual | ~BufferedImage ()=default |
std::string | getRepr () const override |
Get a string identifying this image in a human readable manner. 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 |
![]() | |
virtual | ~Image ()=default |
Destructor. More... | |
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. More... | |
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 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) | |
![]() | |
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< ImageTile > | m_current_tile |
Additional Inherited Members | |
![]() | |
using | PixelType = T |
![]() | |
std::mutex | m_write_mutex |
![]() | |
std::shared_ptr< const ImageSource > | m_source |
std::shared_ptr< TileManager > | m_tile_manager |
Definition at line 33 of file WriteableBufferedImage.h.
|
inlineprotected |
Definition at line 37 of file WriteableBufferedImage.h.
|
virtualdefault |
|
inlinestatic |
Definition at line 44 of file WriteableBufferedImage.h.
Referenced by TestImage::mainMethod(), SourceXtractor::FitsWriter::newImage(), and SourceXtractor::FitsWriter::newTemporaryImage().
|
inlineoverridevirtual |
Implements SourceXtractor::WriteableImage< T >.
Definition at line 49 of file WriteableBufferedImage.h.
References SourceXtractor::BufferedImage< T >::getHeight(), SourceXtractor::BufferedImage< T >::getWidth(), SourceXtractor::WriteableBufferedImage< T >::m_current_tile, x, and y.
|
mutableprivate |
Definition at line 63 of file WriteableBufferedImage.h.
Referenced by SourceXtractor::WriteableBufferedImage< T >::setValue().