MeVisLab Toolbox Reference
mlMatList.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_MAT_LIST_H
14#define ML_MAT_LIST_H
15
16
18
19// ML includes
20#include "mlBaseInit.h"
21#include "mlModuleIncludes.h"
22#include "mlLinearAlgebra.h"
23
24
25
26#include "mlListBase.h"
27
28
29
31
32
33
34// ------------------------------------------------------------------
36// ------------------------------------------------------------------
37
40class MLBASEEXPORT Mat3List : public ListTemplate<Matrix3>
41{
42public:
43
46
47protected:
48
52 std::string itemState(Mat3List::const_iterator it) const override;
53
55 void setItemState(Mat3List::iterator it, const std::string& state) override;
56
58
59
60private:
61
64
65
66};
67
68
69
70// ------------------------------------------------------------------
72// ------------------------------------------------------------------
73
76class MLBASEEXPORT Mat4List : public ListTemplate<Matrix4>
77{
78public:
79
82
83protected:
84
88 std::string itemState(Mat4List::const_iterator it) const override;
89
90 void setItemState(Mat4List::iterator it, const std::string& state) override;
91
93
94
95private:
96
99
100};
101
102
104
105
106#endif // __mlMatList_H
Basic list class template combining properties of ListBase and a vector of the template argument type...
Definition mlListBase.h:312
Base object class Mat3List managing a list of 3x3 matrices.
Definition mlMatList.h:41
Mat3List()
Default constructor.
Definition mlMatList.h:45
void setItemState(Mat3List::iterator it, const std::string &state) override
Initialize the item object from the string state.
std::string itemState(Mat3List::const_iterator it) const override
Base object class Mat4List managing a list of 4x4 matrices.
Definition mlMatList.h:77
Mat4List()
Default constructor.
Definition mlMatList.h:81
std::string itemState(Mat4List::const_iterator it) const override
void setItemState(Mat4List::iterator it, const std::string &state) override
#define MLBASEEXPORT
defined Header file mlBaseInit.h
Definition mlBaseInit.h:22
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non existing export symbol.