Main Page   Class Overview   Pixels   Images   Geometry   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 
00017 template<class DstValT, class SrcsValT>
00018 class HxMpoVec3
00019 {
00020 public:
00021     HxMpoVec3(HxTagList& tags) {}
00022 
00023     DstValT         doIt(SrcsValT const *x)
00024                         { return DstValT(x[0].getValue(1), x[1].getValue(1),
00025                             x[2].getValue(1)); }
00026 
00027     static HxString className()
00028                         { return HxString("vector3d"); }
00029 
00030 };
00031 
00032 #endif
00033 

Generated on Tue Jan 8 13:59:15 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001