SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SourceXtractor::PaddedImage< T, CoordinateInterpolation > Class Template Reference

#include <PaddedImage.h>

Inheritance diagram for SourceXtractor::PaddedImage< T, CoordinateInterpolation >:
[legend]
Collaboration diagram for SourceXtractor::PaddedImage< T, CoordinateInterpolation >:
[legend]

Public Member Functions

std::string getRepr () const override
 Get a string identifying this image in a human readable manner. More...
 
getValue (int x, int y) const override
 Returns the value of the pixel with the coordinates (x,y) 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...
 
- Public Member Functions inherited from SourceXtractor::ImageBase< T >
virtual ~ImageBase ()
 
virtual std::shared_ptr
< ImageChunk< T > > 
getChunk (int x, int y, int width, int height) const override
 
- Public Member Functions inherited from SourceXtractor::Image< T >
virtual ~Image ()=default
 Destructor. More...
 
getValue (PixelCoordinate pc) const
 
- Public Member Functions inherited from std::enable_shared_from_this< ImageBase< T > >
enable_shared_from_this (T...args)
 
operator= (T...args)
 
shared_from_this (T...args)
 
~enable_shared_from_this (T...args)
 

Static Public Member Functions

template<typename... Args>
static std::shared_ptr
< PaddedImage< T,
CoordinateInterpolation > > 
create (Args &&...args)
 

Protected Member Functions

 PaddedImage (std::shared_ptr< const Image< T >> img, int width, int height)
 

Private Attributes

std::shared_ptr< const Image< T > > m_img
 
int m_width
 
int m_height
 
int m_lpad
 
int m_tpad
 

Additional Inherited Members

- Public Types inherited from SourceXtractor::Image< T >
using PixelType = T
 

Detailed Description

template<typename T, int CoordinateInterpolation = nullptr>
class SourceXtractor::PaddedImage< T, CoordinateInterpolation >

Definition at line 74 of file PaddedImage.h.

Constructor & Destructor Documentation

template<typename T , int CoordinateInterpolation = nullptr>
SourceXtractor::PaddedImage< T, CoordinateInterpolation >::PaddedImage ( std::shared_ptr< const Image< T >>  img,
int  width,
int  height 
)
inlineprotected

Definition at line 76 of file PaddedImage.h.

Member Function Documentation

template<typename T , int CoordinateInterpolation = nullptr>
template<typename... Args>
static std::shared_ptr<PaddedImage<T, CoordinateInterpolation> > SourceXtractor::PaddedImage< T, CoordinateInterpolation >::create ( Args &&...  args)
inlinestatic
template<typename T , int CoordinateInterpolation = nullptr>
int SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getHeight ( ) const
inlineoverridevirtual

Returns the height of the image in pixels.

Implements SourceXtractor::Image< T >.

Definition at line 105 of file PaddedImage.h.

References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_height.

template<typename T , int CoordinateInterpolation = nullptr>
std::string SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getRepr ( ) const
inlineoverridevirtual

Get a string identifying this image in a human readable manner.

Implements SourceXtractor::Image< T >.

Definition at line 91 of file PaddedImage.h.

References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_img.

template<typename T , int CoordinateInterpolation = nullptr>
T SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getValue ( int  x,
int  y 
) const
inlineoverridevirtual
template<typename T , int CoordinateInterpolation = nullptr>
int SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getWidth ( ) const
inlineoverridevirtual

Returns the width of the image in pixels.

Implements SourceXtractor::Image< T >.

Definition at line 101 of file PaddedImage.h.

References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_width.

Member Data Documentation

template<typename T , int CoordinateInterpolation = nullptr>
int SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_height
private
template<typename T , int CoordinateInterpolation = nullptr>
std::shared_ptr<const Image<T> > SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_img
private
template<typename T , int CoordinateInterpolation = nullptr>
int SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_lpad
private
template<typename T , int CoordinateInterpolation = nullptr>
int SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_tpad
private
template<typename T , int CoordinateInterpolation = nullptr>
int SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_width
private

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