SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
FitsTemporaryImageSource wraps FitsImageSource, generating the filename and acquiring its ownership. More...
#include <TemporaryFitsImageSource.h>
Public Member Functions | |
TemporaryFitsImageSource (const std::string &pattern, int width, int height, ImageTile::ImageType image_type) | |
TemporaryFitsImageSource (int width, int height, ImageTile::ImageType image_type) | |
virtual | ~TemporaryFitsImageSource ()=default |
std::string | getFullPath () const |
virtual std::string | getRepr () const override |
Human readable representation of this source. More... | |
virtual std::shared_ptr< ImageTile > | getImageTile (int x, int y, int width, int height) const override |
virtual void | saveTile (ImageTile &tile) 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... | |
ImageTile::ImageType | getType () const override |
![]() | |
ImageSource () | |
virtual | ~ImageSource ()=default |
virtual const std::map< std::string, MetadataEntry > | getMetadata () const |
virtual void | setMetadata (std::string, MetadataEntry) |
![]() | |
T | enable_shared_from_this (T... args) |
T | operator= (T... args) |
T | shared_from_this (T... args) |
T | ~enable_shared_from_this (T... args) |
Private Attributes | |
Elements::TempFile | m_temp_file |
std::shared_ptr< FitsImageSource > | m_image_source |
FitsTemporaryImageSource wraps FitsImageSource, generating the filename and acquiring its ownership.
Definition at line 35 of file TemporaryFitsImageSource.h.
|
inline |
Definition at line 37 of file TemporaryFitsImageSource.h.
|
inline |
Definition at line 42 of file TemporaryFitsImageSource.h.
|
virtualdefault |
|
inline |
Definition at line 49 of file TemporaryFitsImageSource.h.
References m_temp_file, and Elements::TempPath::path().
Referenced by getRepr().
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::ImageSource.
Definition at line 69 of file TemporaryFitsImageSource.h.
References m_image_source.
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource.
Definition at line 57 of file TemporaryFitsImageSource.h.
References m_image_source, x, and y.
|
inlineoverridevirtual |
Human readable representation of this source.
Implements SourceXtractor::ImageSource.
Definition at line 53 of file TemporaryFitsImageSource.h.
References getFullPath().
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource.
Definition at line 73 of file TemporaryFitsImageSource.h.
References m_image_source.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::ImageSource.
Definition at line 65 of file TemporaryFitsImageSource.h.
References m_image_source.
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource.
Definition at line 61 of file TemporaryFitsImageSource.h.
References m_image_source.
|
private |
Definition at line 79 of file TemporaryFitsImageSource.h.
Referenced by getHeight(), getImageTile(), getType(), getWidth(), and saveTile().
|
private |
Definition at line 78 of file TemporaryFitsImageSource.h.
Referenced by getFullPath().