SMIL  1.0.4
Useful Basic Types

Some useful data types when handling images. More...

Detailed Description

Some useful data types when handling images.

+ Collaboration diagram for Useful Basic Types:

Classes

struct  map_comp_value_less
 
class  Point< T >
 Struct Point. More...
 
struct  Rectangle
 Rectangle. More...
 
class  ImageBox
 ImageBox. More...
 

Macros

#define VERBOSE   1
 
#define MESSAGE(msg)
 
#define SMIL_UNUSED
 
#define INLINE   inline
 
#define IMAGEFILEHANDLER_TEMP_SPEC(FORMAT, PIXELTYPE)
 
#define SMART_POINTER(T)   boost::shared_ptr<T>
 
#define SMART_IMAGE(T)   SMART_POINTER(D_Image<T>)
 
#define D_DEFAULT_IMAGE_WIDTH   512
 
#define D_DEFAULT_IMAGE_HEIGHT   512
 
#define D_DEFAULT_IMAGE_DEPTH   1
 
#define D_DEFAULT_OUT_PIXEL_VAL   0
 
#define PI   3.141592653589793
 
#define MIN(a, b)   ((a) < (b) ? (a) : (b))
 
#define MAX(a, b)   ((a) > (b) ? (a) : (b))
 
#define ABS(a)   ((a) >= 0 ? (a) : -(a))
 

Typedefs

typedef Point< double > DoublePoint
 DoublePoint. More...
 
typedef Point< int > IntPoint
 IntPoint. More...
 
typedef Point< UINT > UintPoint
 UintPoint. More...
 
typedef vector< double > Vector_double
 Vector_double. More...
 
typedef vector< Vector_doubleMatrix_double
 Matrix_double. More...
 
typedef vector< UINT > Vector_UINT
 Vector_UINT. More...
 
typedef vector< size_t > Vector_size_t
 Vector_size_t. More...
 
typedef vector< off_t > Vector_off_t
 Vector_off_t. More...
 

Macro Definition Documentation

◆ IMAGEFILEHANDLER_TEMP_SPEC

#define IMAGEFILEHANDLER_TEMP_SPEC (   FORMAT,
  PIXELTYPE 
)
Value:
template <> \
class FORMAT##ImageFileHandler<PIXELTYPE> \
: public ImageFileHandler<PIXELTYPE> \
{ \
public: \
FORMAT##ImageFileHandler() : ImageFileHandler<PIXELTYPE>(#FORMAT) \
{ \
} \
RES_T read(const char *filename, Image<PIXELTYPE> &image); \
RES_T write(const Image<PIXELTYPE> &image, const char *filename); \
};
RES_T write(const Image< T > &image, const char *filename)
Write image into file.
Definition: DImageIO.hxx:184
RES_T read(const char *filename, Image< T > &image)
Read image file.
Definition: DImageIO.hxx:107

Typedef Documentation

◆ DoublePoint

typedef Point<double> DoublePoint

DoublePoint.

Point coordinates defined as double values

◆ IntPoint

typedef Point<int> IntPoint

IntPoint.

Point coordinates defined as int values

◆ UintPoint

typedef Point<UINT> UintPoint

UintPoint.

Point coordinates defined as UINT (unsigned int) values

◆ Vector_double

typedef vector<double> Vector_double

Vector_double.

A vector of double values

◆ Matrix_double

typedef vector<Vector_double> Matrix_double

Matrix_double.

A Matrix of double values implemented as a vector of vectors

◆ Vector_UINT

typedef vector<UINT> Vector_UINT

Vector_UINT.

A vector of UINT (unsigned int) values

◆ Vector_size_t

typedef vector<size_t> Vector_size_t

Vector_size_t.

A vector of size_t values (natural - non negative values)

◆ Vector_off_t

typedef vector<off_t> Vector_off_t

Vector_off_t.

A vector of off_t values (integer - positive and negative values)