SourceXtractorPlusPlus
0.13
Please provide a description of the project.
|
Public Member Functions | |
ImageTileImpl (ImageType image_type, int x, int y, int width, int height, std::shared_ptr< ImageSource > source) | |
virtual int | getTileMemorySize () const |
virtual void * | getDataPtr () |
template<typename U > | |
void | getValueImpl (int x, int y, U &value) const |
template<typename U > | |
void | setValueImpl (int x, int y, U value) |
virtual void | getValue (int x, int y, float &value) const |
virtual void | getValue (int x, int y, double &value) const |
virtual void | getValue (int x, int y, int &value) const |
virtual void | getValue (int x, int y, unsigned int &value) const |
virtual void | getValue (int x, int y, std::int64_t &value) const |
virtual void | setValue (int x, int y, float value) |
virtual void | setValue (int x, int y, double value) |
virtual void | setValue (int x, int y, int value) |
virtual void | setValue (int x, int y, unsigned int value) |
virtual void | setValue (int x, int y, std::int64_t value) |
![]() | |
virtual | ~ImageTile () |
bool | isPixelInTile (int x, int y) const |
int | getPosX () const |
int | getPosY () const |
int | getWidth () const |
int | getHeight () const |
template<typename T > | |
T | getValue (int x, int y) const |
template<typename T > | |
std::shared_ptr< VectorImage< T > > | getImage () const |
void | setModified (bool modified) |
bool | isModified () const |
virtual void | saveIfModified () |
ImageType | getType () const |
Additional Inherited Members | |
![]() | |
enum | ImageType { AutoType =-1, FloatImage =0, DoubleImage, IntImage, UIntImage, LongLongImage } |
![]() | |
static std::shared_ptr< ImageTile > | create (ImageType image_type, int x, int y, int width, int height, std::shared_ptr< ImageSource > source=nullptr) |
static ImageType | getTypeValue (float) |
static ImageType | getTypeValue (double) |
static ImageType | getTypeValue (int) |
static ImageType | getTypeValue (unsigned int) |
static ImageType | getTypeValue (std::int64_t) |
static size_t | getTypeSize (ImageType image_type) |
![]() | |
ImageTile (ImageType image_type, int x, int y, int width, int height, std::shared_ptr< ImageSource > source=nullptr) | |
void | createImage (ImageType image_type, int width, int height) |
![]() | |
bool | m_modified |
ImageType | m_image_type |
std::shared_ptr< ImageSource > | m_source |
int | m_x |
int | m_y |
int | m_max_x |
int | m_max_y |
std::shared_ptr< void > | m_tile_image |
Definition at line 25 of file ImageTile.cpp.
|
inline |
Definition at line 28 of file ImageTile.cpp.
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 37 of file ImageTile.cpp.
References SourceXtractor::ImageTile::m_tile_image, and std::static_pointer_cast().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 33 of file ImageTile.cpp.
References SourceXtractor::ImageTile::getHeight(), and SourceXtractor::ImageTile::getWidth().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 55 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::getValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 59 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::getValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 63 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::getValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 67 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::getValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 71 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::getValueImpl().
|
inline |
Definition at line 42 of file ImageTile.cpp.
References SourceXtractor::VectorImage< T >::getValue(), SourceXtractor::ImageTile::isPixelInTile(), SourceXtractor::ImageTile::m_tile_image, SourceXtractor::ImageTile::m_x, SourceXtractor::ImageTile::m_y, and std::static_pointer_cast().
Referenced by SourceXtractor::ImageTileImpl< T >::getValue().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 75 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::setValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 79 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::setValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 83 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::setValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 87 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::setValueImpl().
|
inlinevirtual |
Implements SourceXtractor::ImageTile.
Definition at line 91 of file ImageTile.cpp.
References SourceXtractor::ImageTileImpl< T >::setValueImpl().
|
inline |
Definition at line 49 of file ImageTile.cpp.
References SourceXtractor::ImageTile::isPixelInTile(), SourceXtractor::ImageTile::m_tile_image, SourceXtractor::ImageTile::m_x, SourceXtractor::ImageTile::m_y, SourceXtractor::VectorImage< T >::setValue(), and std::static_pointer_cast().
Referenced by SourceXtractor::ImageTileImpl< T >::setValue().