SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
SourceXtractor::ImageTileImpl< T > Class Template Reference
Inheritance diagram for SourceXtractor::ImageTileImpl< T >:
[legend]
Collaboration diagram for SourceXtractor::ImageTileImpl< T >:
[legend]

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)
 
- Public Member Functions inherited from SourceXtractor::ImageTile
virtual ~ImageTile ()
 
bool isPixelInTile (int x, int y) const
 
int getPosX () const
 
int getPosY () const
 
int getWidth () const
 
int getHeight () const
 
template<typename 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

- Public Types inherited from SourceXtractor::ImageTile
enum  ImageType {
  AutoType =-1, FloatImage =0, DoubleImage, IntImage,
  UIntImage, LongLongImage
}
 
- Static Public Member Functions inherited from SourceXtractor::ImageTile
static std::shared_ptr< ImageTilecreate (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)
 
- Protected Member Functions inherited from SourceXtractor::ImageTile
 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)
 
- Protected Attributes inherited from SourceXtractor::ImageTile
bool m_modified
 
ImageType m_image_type
 
std::shared_ptr< ImageSourcem_source
 
int m_x
 
int m_y
 
int m_max_x
 
int m_max_y
 
std::shared_ptr< void > m_tile_image
 

Detailed Description

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

Definition at line 25 of file ImageTile.cpp.

Constructor & Destructor Documentation

template<typename T >
SourceXtractor::ImageTileImpl< T >::ImageTileImpl ( ImageType  image_type,
int  x,
int  y,
int  width,
int  height,
std::shared_ptr< ImageSource source 
)
inline

Definition at line 28 of file ImageTile.cpp.

Member Function Documentation

template<typename T >
virtual void* SourceXtractor::ImageTileImpl< T >::getDataPtr ( )
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 37 of file ImageTile.cpp.

References SourceXtractor::ImageTile::m_tile_image, and std::static_pointer_cast().

Here is the call graph for this function:

template<typename T >
virtual int SourceXtractor::ImageTileImpl< T >::getTileMemorySize ( ) const
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 33 of file ImageTile.cpp.

References SourceXtractor::ImageTile::getHeight(), and SourceXtractor::ImageTile::getWidth().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::getValue ( int  x,
int  y,
float &  value 
) const
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 55 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::getValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::getValue ( int  x,
int  y,
double &  value 
) const
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 59 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::getValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::getValue ( int  x,
int  y,
int &  value 
) const
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 63 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::getValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::getValue ( int  x,
int  y,
unsigned int &  value 
) const
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 67 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::getValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::getValue ( int  x,
int  y,
std::int64_t value 
) const
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 71 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::getValueImpl().

Here is the call graph for this function:

template<typename T >
template<typename U >
void SourceXtractor::ImageTileImpl< T >::getValueImpl ( int  x,
int  y,
U &  value 
) const
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().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::setValue ( int  x,
int  y,
float  value 
)
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 75 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::setValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::setValue ( int  x,
int  y,
double  value 
)
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 79 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::setValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::setValue ( int  x,
int  y,
int  value 
)
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 83 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::setValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::setValue ( int  x,
int  y,
unsigned int  value 
)
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 87 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::setValueImpl().

Here is the call graph for this function:

template<typename T >
virtual void SourceXtractor::ImageTileImpl< T >::setValue ( int  x,
int  y,
std::int64_t  value 
)
inlinevirtual

Implements SourceXtractor::ImageTile.

Definition at line 91 of file ImageTile.cpp.

References SourceXtractor::ImageTileImpl< T >::setValueImpl().

Here is the call graph for this function:

template<typename T >
template<typename U >
void SourceXtractor::ImageTileImpl< T >::setValueImpl ( int  x,
int  y,
value 
)
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().

Here is the call graph for this function:


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