MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
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#include "mlListBase.h"
26
27
29
30
31// ------------------------------------------------------------------
33// ------------------------------------------------------------------
34
37class MLBASEEXPORT Mat3List : public ListTemplate<Matrix3>
38{
39public:
44
45protected:
49 std::string itemState(Mat3List::const_iterator it) const override;
50
52 void setItemState(Mat3List::iterator it, const std::string& state) override;
53
55
56
57private:
60};
61
62
63// ------------------------------------------------------------------
65// ------------------------------------------------------------------
66
69class MLBASEEXPORT Mat4List : public ListTemplate<Matrix4>
70{
71public:
76
77protected:
81 std::string itemState(Mat4List::const_iterator it) const override;
82
83 void setItemState(Mat4List::iterator it, const std::string& state) override;
84
86
87
88private:
91};
92
93
95
96
97#endif // __mlMatList_H
Basic list class template combining properties of ListBase and a vector of the template argument type...
Definition mlListBase.h:370
Base object class Mat3List managing a list of 3x3 matrices.
Definition mlMatList.h:38
Mat3List()
Default constructor.
Definition mlMatList.h:41
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:70
Mat4List()
Default constructor.
Definition mlMatList.h:73
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.