PixelsInst.H File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PIX_INST(CLASS, TYPE)
 Instantiate classes with pixel types.
#define PIX_INST_ALL(CLASS, TYPE)
 Instantiate classes with ALL known pixel types.

Detailed Description

Macros for instantiating classes with pixel types

Definition in file PixelsInst.H.


Define Documentation

#define PIX_INST ( CLASS,
TYPE   ) 
Value:
template class CLASS< TYPE >;                   \
template class CLASS< PixRGB<TYPE> >;

Instantiate classes with pixel types.

PIX_INST only includes the "common" pixel types. To also instantiate a class for less-common pixel types, use the PIX_INST_ALL macro instead (see below). See bottom of Image.C, ImageCache.C and ImageSet.C for usage.

NOTE: if you move a pixel type from PIX_INST to PIX_INST_ALL, or vice versa, you'll probably need to make a corresponding change in the extract_templates.tcl script.

Definition at line 62 of file PixelsInst.H.

#define PIX_INST_ALL ( CLASS,
TYPE   ) 
Value:
template class CLASS< PixH2SV1<TYPE> >;         \
template class CLASS< PixH2SV2<TYPE> >;         \
template class CLASS< PixYIQ<TYPE> >;           \
template class CLASS< PixJpegYUV<TYPE> >;       \
template class CLASS< PixVideoYUV<TYPE> >;      \
template class CLASS< PixHSV<TYPE> >;           \
template class CLASS< PixH2SV3<TYPE> >;         \
template class CLASS< PixHyper<TYPE,3> >;       \
template class CLASS< PixHyper<TYPE,4> >;

Instantiate classes with ALL known pixel types.

To instantiate a class with only "common" pixel types, use PIX_INST (see above) instead of PIX_INST_ALL.

NOTE: if you move a pixel type from PIX_INST to PIX_INST_ALL, or vice versa, you'll probably need to make a corresponding change in the extract_templates.tcl script.

Definition at line 77 of file PixelsInst.H.

Generated on Sun May 8 08:12:54 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3