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

E1ToVec3Real64.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_Element_E1ToVec3Real64_h
00002 #define Impala_Core_Array_Element_E1ToVec3Real64_h
00003 
00004 #include "Core/Array/Element/ArithTypes.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Core
00009 {
00010 namespace Array
00011 {
00012 namespace Element
00013 {
00014 
00015 
00016 inline Vec3Real64
00017 E1ToVec3Real64(Int32 v)
00018 {
00019     return Vec3Real64(v, v, v);
00020 }
00021 
00022 inline Vec3Real64
00023 E1ToVec3Real64(Real64 v)
00024 {
00025     return Vec3Real64(v, v, v);
00026 }
00027 
00028 inline Vec3Real64
00029 E1ToVec3Real64(const Vec3Int32& v)
00030 {
00031     return Vec3Real64(v.X(), v.Y(), v.Z());
00032 }
00033 
00034 inline Vec3Real64
00035 E1ToVec3Real64(const Vec3Real64& v)
00036 {
00037     return Vec3Real64(v.X(), v.Y(), v.Z());
00038 }
00039 
00040 inline Vec3Real64
00041 E1ToVec3Real64(const Complex64& v)
00042 {
00043     return Vec3Real64(v.X(), v.Y(), 0);
00044 }
00045 
00046 } // namespace Element
00047 } // namespace Array
00048 } // namespace Core
00049 } // namespace Impala
00050 
00051 #endif

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