Defines | Functions
contrib/tbl/vipl/vipl_with_section/accessors/vipl_accessors_section.h File Reference
#include <section/section.h>

Go to the source code of this file.

Defines

#define FILTER_IMPTR_DEC_REFCOUNT(v)   {delete (v); (v)=0;}
#define FILTER_IMPTR_INC_REFCOUNT(v)
#define FILTER_KERNPTR_DEC_REFCOUNT(v)
#define VIPL_DECLARE_ACCESSORS(T)

Functions

template<class DataType >
DataType fgetpixel (section< DataType, 2 > const &i, int x, int y, DataType)
template<class DataType >
void fsetpixel (section< DataType, 2 > &i, int x, int y, DataType e)
template<class DataType >
DataType getpixel (section< DataType, 2 > const &i, int x, int y, DataType)
template<class DataType >
void setpixel (section< DataType, 2 > &i, int x, int y, DataType e)

Define Documentation

#define FILTER_IMPTR_DEC_REFCOUNT (   v)    {delete (v); (v)=0;}

Definition at line 6 of file vipl_accessors_section.h.

#define FILTER_IMPTR_INC_REFCOUNT (   v)

Definition at line 8 of file vipl_accessors_section.h.

#define FILTER_KERNPTR_DEC_REFCOUNT (   v)

Definition at line 10 of file vipl_accessors_section.h.

#define VIPL_DECLARE_ACCESSORS (   T)
Value:
T fgetpixel(section<T,2> const& i, int x, int y, T); \
void fsetpixel(section<T,2>& i, int x, int y, T e); \
T getpixel(section<T,2> const& i, int x, int y, T); \
void setpixel(section<T,2>& i, int x, int y, T e)

Definition at line 17 of file vipl_accessors_section.h.


Function Documentation

template<class DataType >
DataType fgetpixel ( section< DataType, 2 > const &  i,
int  x,
int  y,
DataType   
)

Definition at line 8 of file vipl_accessors_section.txx.

template<class DataType >
void fsetpixel ( section< DataType, 2 > &  i,
int  x,
int  y,
DataType  e 
)

Definition at line 12 of file vipl_accessors_section.txx.

template<class DataType >
DataType getpixel ( section< DataType, 2 > const &  i,
int  x,
int  y,
DataType   
)

Definition at line 16 of file vipl_accessors_section.txx.

template<class DataType >
void setpixel ( section< DataType, 2 > &  i,
int  x,
int  y,
DataType  e 
)

Definition at line 21 of file vipl_accessors_section.txx.