Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

SetPart.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_SetPart_h
00002 #define Impala_Core_Array_SetPart_h
00003 
00004 #include "Core/Array/Pattern/PatSet.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Core
00009 {
00010 namespace Array
00011 {
00012 
00013 
00014 template<class DstArrayT, class SrcArrayT>
00015 inline void
00016 SetPart(DstArrayT*& dst, SrcArrayT* src, int dstX, int dstY)
00017 {
00018     Pattern::PatSet(dst, src, 0, 0, src->CW(), src->CH(), dstX, dstY);
00019 }
00020 
00021 template<class DstArrayT, class SrcArrayT>
00022 inline void
00023 SetPart(DstArrayT*& dst, SrcArrayT* src, int srcX, int srcY,
00024         int width, int height, int dstX, int dstY)
00025 {
00026     Pattern::PatSet(dst, src, srcX, srcY, width, height, dstX, dstY);
00027 }
00028 
00029 } // namespace Array
00030 } // namespace Core
00031 } // namespace Impala
00032 
00033 #endif

Generated on Fri Mar 19 09:30:53 2010 for ImpalaSrc by  doxygen 1.5.1