SourceXtractorPlusPlus  0.12
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::ImageBase< T > Class Template Reference

#include <ImageBase.h>

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

Public Member Functions

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...
 
virtual std::string getRepr () const =0
 Get a string identifying this image in a human readable manner. More...
 
virtual T getValue (int x, int y) const =0
 Returns the value of the pixel with the coordinates (x,y) More...
 
getValue (PixelCoordinate pc) const
 
virtual int getWidth () const =0
 Returns the width of the image in pixels. More...
 
virtual int getHeight () const =0
 Returns the height of the image in pixels. More...
 
bool isInside (int x, int y) const
 Returns true if the given coordinates are inside the image bounds. More...
 
- 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)
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 35 of file ImageBase.h.

Constructor & Destructor Documentation

template<typename T >
virtual SourceXtractor::ImageBase< T >::~ImageBase ( )
inlinevirtual

Definition at line 38 of file ImageBase.h.

Member Function Documentation

template<typename T >
virtual std::shared_ptr<ImageChunk<T> > SourceXtractor::ImageBase< T >::getChunk ( int  x,
int  y,
int  width,
int  height 
) const
inlineoverridevirtual

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