Public Types | Public Member Functions | Protected Attributes | List of all members
Tray< T > Class Template Reference

Set of images, usable for general calls of type traverseFrame(src, dst) . More...

#include <ImageTray.h>

Inheritance diagram for Tray< T >:
Inheritance graph
[legend]
Collaboration diagram for Tray< T >:
Collaboration graph
[legend]

Public Types

typedef T image_t
 
typedef std::map< size_t, image_t & > map_t
 

Public Member Functions

 Tray (const Tray< image_t > &t)
 
const image_t & get (size_t i=0) const
 Returns the i'th image.
 
image_t & get (size_t i=0)
 Returns the i'th image.
 
void set (image_t &img, size_t i=0)
 Replace image in position i.
 
virtual void appendImage (image_t &img)
 Add image to the end.
 
template<class T2 >
void copy (const Tray< T2 > &t)
 Add image sequence. Replaces old values.
 
template<class T2 >
void copyVector (std::vector< T2 > &v)
 Add image sequence.
 
virtual const GeometrygetGeometry () const
 Returns the geometry of the first frame.
 
virtual bool checkGeometry (const Geometry &g) const
 Returns true, if all the frames have the same width and height.
 
bool checkGeometry () const
 Returns true, if all the frames have the same width and height.
 
template<class T2 >
void putPixel (const Point2D< int > &p, const std::vector< T2 > &v)
 Put intensity vector.
 
template<class T2 >
void getPixel (const Point2D< int > &p, std::vector< T2 > &v) const
 Get intensity vector.
 
template<class T2 >
bool hasOverlap (const Tray< T2 > &tray) const
 
void toOStr (std::ostream &ostr) const
 
void createVector (std::vector< Image > &v) const
 

Protected Attributes

Geometry geometry
 

Detailed Description

template<class T>
class drain::image::Tray< T >

Set of images, usable for general calls of type traverseFrame(src, dst) .

Template Parameters
T- ImageFrame or Image, const or non-const.

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