Defines | Functions
contrib/tbl/vipl/accessors/vipl_accessors_vcl_vector.h File Reference
#include <vcl_vector.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_1D_ACCESSORS(T)

Functions

template<class DataType >
DataType fgetpixel (vcl_vector< DataType > const &i, int x, int y, DataType)
template<class DataType >
void fsetpixel (vcl_vector< DataType > &i, int x, int y, DataType e)
template<class DataType >
DataType getpixel (vcl_vector< DataType > const &i, int x, int y, DataType)
template<class DataType >
void setpixel (vcl_vector< DataType > &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_vcl_vector.h.

#define FILTER_IMPTR_INC_REFCOUNT (   v)

Definition at line 8 of file vipl_accessors_vcl_vector.h.

#define FILTER_KERNPTR_DEC_REFCOUNT (   v)

Definition at line 10 of file vipl_accessors_vcl_vector.h.

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

Definition at line 17 of file vipl_accessors_vcl_vector.h.


Function Documentation

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

Definition at line 9 of file vipl_accessors_vcl_vector.txx.

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

Definition at line 15 of file vipl_accessors_vcl_vector.txx.

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

Definition at line 20 of file vipl_accessors_vcl_vector.txx.

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

Definition at line 25 of file vipl_accessors_vcl_vector.txx.