SourceXtractorPlusPlus  0.15
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::ImageTileWithType< T > Class Template Referencefinal

#include <ImageTile.h>

Inheritance diagram for SourceXtractor::ImageTileWithType< T >:
[legend]
Collaboration diagram for SourceXtractor::ImageTileWithType< T >:
[legend]

Public Member Functions

 ImageTileWithType (int x, int y, int width, int height, std::shared_ptr< ImageSource > source)
 
int getTileMemorySize () const override
 
void * getDataPtr () override
 
const std::shared_ptr< VectorImage< T > > & getImage () const
 
template<typename U >
void getValueImpl (int x, int y, U &value) const
 
template<typename U >
void setValueImpl (int x, int y, U value)
 
void getValue (int x, int y, float &value) const override
 
void getValue (int x, int y, double &value) const override
 
void getValue (int x, int y, int &value) const override
 
void getValue (int x, int y, unsigned int &value) const override
 
void getValue (int x, int y, std::int64_t &value) const override
 
void setValue (int x, int y, float value) override
 
void setValue (int x, int y, double value) override
 
void setValue (int x, int y, int value) override
 
void setValue (int x, int y, unsigned int value) override
 
void setValue (int x, int y, std::int64_t value) override
 
- 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
 
void setModified (bool modified)
 
bool isModified () const
 
virtual void saveIfModified ()
 
ImageType getType () const
 

Private Attributes

std::shared_ptr< VectorImage< T > > m_tile_image
 

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)
 
 ImageTile (const ImageTile &)=delete
 
 ImageTile (ImageTile &&)=delete
 
ImageTileoperator= (const ImageTile &)=delete
 
ImageTileoperator= (ImageTile &&)=delete
 
- 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
 

Detailed Description

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

Definition at line 160 of file ImageTile.h.

Constructor & Destructor Documentation

◆ ImageTileWithType()

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

Definition at line 163 of file ImageTile.h.

References SourceXtractor::VectorImage< T >::create(), and SourceXtractor::ImageTileWithType< T >::m_tile_image.

Here is the call graph for this function:

Member Function Documentation

◆ getDataPtr()

template<typename T >
void* SourceXtractor::ImageTileWithType< T >::getDataPtr ( )
inlineoverridevirtual

◆ getImage()

template<typename T >
const std::shared_ptr<VectorImage<T> >& SourceXtractor::ImageTileWithType< T >::getImage ( ) const
inline

◆ getTileMemorySize()

template<typename T >
int SourceXtractor::ImageTileWithType< T >::getTileMemorySize ( ) const
inlineoverridevirtual

Implements SourceXtractor::ImageTile.

Definition at line 168 of file ImageTile.h.

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

Here is the call graph for this function:

◆ getValue() [1/5]

template<typename T >
void SourceXtractor::ImageTileWithType< T >::getValue ( int  x,
int  y,
double &  value 
) const
inlineoverridevirtual

Implements SourceXtractor::ImageTile.

Definition at line 196 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::getValueImpl(), x, and y.

Here is the call graph for this function:

◆ getValue() [2/5]

template<typename T >
void SourceXtractor::ImageTileWithType< T >::getValue ( int  x,
int  y,
float &  value 
) const
inlineoverridevirtual

Implements SourceXtractor::ImageTile.

Definition at line 192 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::getValueImpl(), x, and y.

Referenced by SourceXtractor::BufferedImage< T >::copyOverlappingPixels().

Here is the call graph for this function:

◆ getValue() [3/5]

template<typename T >
void SourceXtractor::ImageTileWithType< T >::getValue ( int  x,
int  y,
int &  value 
) const
inlineoverridevirtual

Implements SourceXtractor::ImageTile.

Definition at line 200 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::getValueImpl(), x, and y.

Here is the call graph for this function:

◆ getValue() [4/5]

template<typename T >
void SourceXtractor::ImageTileWithType< T >::getValue ( int  x,
int  y,
std::int64_t value 
) const
inlineoverridevirtual

Implements SourceXtractor::ImageTile.

Definition at line 208 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::getValueImpl(), x, and y.

Here is the call graph for this function:

◆ getValue() [5/5]

template<typename T >
void SourceXtractor::ImageTileWithType< T >::getValue ( int  x,
int  y,
unsigned int &  value 
) const
inlineoverridevirtual

Implements SourceXtractor::ImageTile.

Definition at line 204 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::getValueImpl(), x, and y.

Here is the call graph for this function:

◆ getValueImpl()

template<typename T >
template<typename U >
void SourceXtractor::ImageTileWithType< T >::getValueImpl ( int  x,
int  y,
U &  value 
) const
inline

Definition at line 181 of file ImageTile.h.

References SourceXtractor::ImageTile::isPixelInTile(), SourceXtractor::ImageTileWithType< T >::m_tile_image, SourceXtractor::ImageTile::m_x, SourceXtractor::ImageTile::m_y, x, and y.

Referenced by SourceXtractor::ImageTileWithType< T >::getValue().

Here is the call graph for this function:

◆ setValue() [1/5]

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

Implements SourceXtractor::ImageTile.

Definition at line 216 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::setValueImpl(), x, and y.

Here is the call graph for this function:

◆ setValue() [2/5]

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

Implements SourceXtractor::ImageTile.

Definition at line 212 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::setValueImpl(), x, and y.

Referenced by SourceXtractor::BgDFTConvolutionImageSource::generateTile().

Here is the call graph for this function:

◆ setValue() [3/5]

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

Implements SourceXtractor::ImageTile.

Definition at line 220 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::setValueImpl(), x, and y.

Here is the call graph for this function:

◆ setValue() [4/5]

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

Implements SourceXtractor::ImageTile.

Definition at line 228 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::setValueImpl(), x, and y.

Here is the call graph for this function:

◆ setValue() [5/5]

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

Implements SourceXtractor::ImageTile.

Definition at line 224 of file ImageTile.h.

References SourceXtractor::ImageTileWithType< T >::setValueImpl(), x, and y.

Here is the call graph for this function:

◆ setValueImpl()

template<typename T >
template<typename U >
void SourceXtractor::ImageTileWithType< T >::setValueImpl ( int  x,
int  y,
value 
)
inline

Definition at line 187 of file ImageTile.h.

References SourceXtractor::ImageTile::isPixelInTile(), SourceXtractor::ImageTileWithType< T >::m_tile_image, SourceXtractor::ImageTile::m_x, SourceXtractor::ImageTile::m_y, x, and y.

Referenced by SourceXtractor::ImageTileWithType< T >::setValue().

Here is the call graph for this function:

Member Data Documentation

◆ m_tile_image

template<typename T >
std::shared_ptr<VectorImage<T> > SourceXtractor::ImageTileWithType< T >::m_tile_image
private

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