Go to the documentation of this file.00001
00002 #ifndef vipl_filter_abs_h_
00003 #define vipl_filter_abs_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef FILTER_IMPTR_DEC_REFCOUNT
00021 #define FILTER_IMPTR_DEC_REFCOUNT(v) ((v)->dec_refcount(),(v)=0)
00022 #endif
00023 #ifndef FILTER_IMPTR_INC_REFCOUNT
00024 #define FILTER_IMPTR_INC_REFCOUNT(v) ((v)->inc_refcount())
00025 #endif
00026 #ifndef FILTER_KERNPTR_DEC_REFCOUNT
00027 #define FILTER_KERNPTR_DEC_REFCOUNT(v) ((v)->dec_refcount())
00028 #endif
00029
00030 class vipl_filter_abs
00031 {
00032 public:
00033
00034 #ifdef USE_COMPOSE_WITH
00035
00036
00037
00038
00039 virtual bool compose_with(vipl_filter_abs& to) = 0;
00040 #endif
00041
00042
00043 inline static int X_Axis() { return 0; }
00044
00045 inline static int Y_Axis() { return 1; }
00046
00047 inline static int Z_Axis() { return 2; }
00048
00049 inline static int T_Axis() { return 3; }
00050 };
00051
00052 #endif // vipl_filter_abs_h_