Defines | Functions
contrib/tbl/vipl/vipl_with_vnl_matrix/accessors/vipl_accessors_vnl_vector.h File Reference
#include <vnl/vnl_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 (vnl_vector< DataType > const &i, int x, int y, DataType)
template<class DataType >
void fsetpixel (vnl_vector< DataType > &i, int x, int y, DataType e)
template<class DataType >
DataType getpixel (vnl_vector< DataType > const &i, int x, int y, DataType)
template<class DataType >
void setpixel (vnl_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_vnl_vector.h.

#define FILTER_IMPTR_INC_REFCOUNT (   v)

Definition at line 8 of file vipl_accessors_vnl_vector.h.

#define FILTER_KERNPTR_DEC_REFCOUNT (   v)

Definition at line 10 of file vipl_accessors_vnl_vector.h.

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

Definition at line 17 of file vipl_accessors_vnl_vector.h.


Function Documentation

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

Definition at line 9 of file vipl_accessors_vnl_vector.txx.

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

Definition at line 15 of file vipl_accessors_vnl_vector.txx.

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

Definition at line 20 of file vipl_accessors_vnl_vector.txx.

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

Definition at line 25 of file vipl_accessors_vnl_vector.txx.