Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ImageLike Class Reference

A base class for images. More...

#include <ImageLike.h>

Inheritance diagram for ImageLike:
Inheritance graph
[legend]
Collaboration diagram for ImageLike:
Collaboration graph
[legend]

Public Member Functions

 ImageLike (const ImageLike &image)
 
const std::type_info & getType () const
 Get the storage type.
 
bool typeIsSet () const
 
virtual const GeometrygetGeometry () const
 
size_t getWidth () const
 
size_t getHeight () const
 
size_t getArea () const
 
size_t getChannelCount () const
 
const size_t getImageChannelCount () const
 
const size_t getAlphaChannelCount () const
 
bool hasAlphaChannel () const
 
size_t getVolume () const
 
bool isEmpty () const
 
 operator bool () const
 Return true, if image has width and height.
 
const CoordinatePolicygetCoordinatePolicy () const
 Coord policy.
 
CoordinatePolicygetCoordinatePolicy ()
 Coord policy.
 
template<class T >
void setCoordinatePolicy (const T &policy)
 
void setCoordinatePolicy (EdgePolicy::index_t xUnderFlowPolicy, EdgePolicy::index_t yUnderFlowPolicy, EdgePolicy::index_t xOverFlowPolicy, EdgePolicy::index_t yOverFlowPolicy)
 
virtual const drain::ValueScalinggetScaling () const
 
virtual drain::ValueScalinggetScaling ()
 
virtual void setScaling (const drain::ValueScaling &scaling)
 
virtual void setScaling (double scale, double offset)
 
template<class T >
drain::typeLimiter< T >::value_t getLimiter () const
 

Protected Attributes

ImageConf conf
 

Detailed Description

A base class for images.

Generally, an ImageLike does not have to have memory. It may be a two-dimensional function, for example geti,j) may return sinusoidal field or random noise.


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