Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxMpoVec3.h

00001 /*
00002  *  Copyright (c) 2000, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Jan-Mark Geusebroek (mark@wins.uva.nl)
00007  *
00008  */
00009 
00010 #ifndef HxMpoVec3_h
00011 #define HxMpoVec3_h
00012 
00013 #include "HxTagList.h"
00014 #include "HxClassName.h"
00015 #include "HxDataPtrArray.h"
00016 #include "HxCategories.h"
00017 
00018 template<class DstValT, class SrcsValT>
00019 class HxMpoVec3
00020 {
00021 public:
00022     typedef HxTagTransInVar     TransVarianceCategory;
00023 
00024                     HxMpoVec3(HxTagList& tags) {}
00025 
00026     DstValT         doIt(SrcsValT const *x)
00027                         { return DstValT(x[0].getValue(1), x[1].getValue(1),
00028                             x[2].getValue(1)); }
00029 
00030     static HxString className()
00031                         { return HxString("vector3d"); }
00032 
00033 };
00034 
00035 #endif
00036 

Generated on Tue Feb 3 14:18:40 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001