MeVisLab Toolbox Reference
mlVector10.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef ML_VECTOR10_H
14#define ML_VECTOR10_H
15
17
18// Include system independent file and project settings.
20#include "mlLinearAlgebraDefs.h"
22
23// All declarations of this header will be in the ML_LA_NAMESPACE namespace.
24ML_LA_START_NAMESPACE
25
26//--------------------------------------------------------------------
28//--------------------------------------------------------------------
30template <class DT>
31class Tvec10 : public FloatingPointVector<DT,10>
32{
33public:
34
37
39 typedef DT ComponentType;
40
41 //--------------------------------------------------------------------
44 //--------------------------------------------------------------------
47 inline explicit Tvec10(const DT value=0) : Superclass(value)
48 {
49 }
50
54 inline Tvec10(const Superclass &v) : Superclass(v)
55 {
56 }
57
60 inline Tvec10(const DT x, const DT y, const DT z, const DT c,
61 const DT t, const DT u, const DT v, const DT w,
62 const DT a, const DT b)
63 {
64 assign(x,y,z,c,t,u,v,w,a,b);
65 }
66
67
68 //--------------------------------------------------------------------
71 //--------------------------------------------------------------------
73 inline void assign(const DT x, const DT y, const DT z, const DT c,
74 const DT t, const DT u, const DT v, const DT w,
75 const DT a, const DT b)
76 {
87 }
88
89};
90
91
92//-----------------------------------------------------------------------------------
95//-----------------------------------------------------------------------------------
105
106ML_LA_END_NAMESPACE
107
108#endif //of __mlVector10_H
109
110
111
An ten dimensional vector class for floating point types.
Definition mlVector10.h:32
FloatingPointVector< DT, 10 > Superclass
A typedef as a shorthand for the base class.
Definition mlVector10.h:36
Tvec10(const DT x, const DT y, const DT z, const DT c, const DT t, const DT u, const DT v, const DT w, const DT a, const DT b)
Definition mlVector10.h:60
Tvec10(const DT value=0)
Definition mlVector10.h:47
DT ComponentType
A typedef to 'export' the type of components.
Definition mlVector10.h:39
Tvec10(const Superclass &v)
Definition mlVector10.h:54
void assign(const MLfloat x, const MLfloat y, const MLfloat z, const MLfloat c, const MLfloat t, const MLfloat u, const MLfloat v, const MLfloat w, const MLfloat a, const MLfloat b)
Definition mlVector10.h:73
Tvec10< MLdouble > Vector10
A vector with ten components of type double.
Definition mlVector10.h:103
Tvec10< MLfloat > Vector10f
A vector with ten components of type float.
Definition mlVector10.h:97
Tvec10< MLldouble > Vector10ld
A vector with ten components of type long double.
Definition mlVector10.h:101
Tvec10< MLdouble > Vector10d
A vector with ten components of type double.
Definition mlVector10.h:99