-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEigen.natvis
More file actions
120 lines (110 loc) · 4.08 KB
/
Eigen.natvis
File metadata and controls
120 lines (110 loc) · 4.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!-- Matrix6<Col> - This matches the template alias -->
<Type Name="Eigen::Matrix<float,6,*,-1,6,*>">
<DisplayString>Matrix6 (6 x {m_storage.m_cols})</DisplayString>
<Expand>
<Item Name="Rows">6</Item>
<Item Name="Columns">m_storage.m_cols</Item>
<Item Name="Total Elements">6 * m_storage.m_cols</Item>
<ArrayItems>
<Size>6 * m_storage.m_cols</Size>
<ValuePointer>(float*)m_storage.m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- MVector, FVector - Eigen::Matrix<float, 6, 1> -->
<Type Name="Eigen::Matrix<float,6,1,0,6,1>">
<DisplayString>MVector/FVector (6 x 1)</DisplayString>
<Expand>
<Item Name="Rows">6</Item>
<Item Name="Columns">1</Item>
<ArrayItems>
<Size>6</Size>
<ValuePointer>(float*)m_storage.m_data.array</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- MTransform, FTransform, Dyad - Eigen::Matrix<float, 6, 6> -->
<Type Name="Eigen::Matrix<float,6,6,0,6,6>">
<DisplayString>MTransform/FTransform/Dyad (6 x 6)</DisplayString>
<Expand>
<Item Name="Rows">6</Item>
<Item Name="Columns">6</Item>
<ArrayItems>
<Size>36</Size>
<ValuePointer>(float*)m_storage.m_data.array</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- MCoordinates, FCoordinate - Eigen::Matrix<float, -1, 1, 0, 6, 1> -->
<Type Name="Eigen::Matrix<float,-1,1,0,-1,1>">
<DisplayString>MCoordinates/FCoordinate ({m_storage.m_rows} x 1)</DisplayString>
<Expand>
<Item Name="Size">m_storage.m_rows</Item>
<ArrayItems>
<Size>m_storage.m_rows</Size>
<ValuePointer>(float*)m_storage.m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- JDyad - Eigen::Matrix<float, -1, -1> -->
<Type Name="Eigen::Matrix<float,-1,-1,0,-1,-1>">
<DisplayString>JDyad/Power/Unitless ({m_storage.m_rows} x {m_storage.m_cols})</DisplayString>
<Expand>
<Item Name="Rows">m_storage.m_rows</Item>
<Item Name="Columns">m_storage.m_cols</Item>
<Item Name="Total Elements">m_storage.m_rows * m_storage.m_cols</Item>
<ArrayItems>
<Size>m_storage.m_rows * m_storage.m_cols</Size>
<ValuePointer>(float*)m_storage.m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- MSubspace - Eigen::Matrix<float, 6, Eigen::Dynamic, 0, 6, 6> -->
<Type Name="Eigen::Matrix<float,6,-1,0,6,-1>">
<DisplayString>MSubspace (6 x {m_storage.m_cols})</DisplayString>
<Expand>
<Item Name="Rows">6</Item>
<Item Name="Columns">m_storage.m_cols</Item>
<Item Name="Total Elements">6 * m_storage.m_cols</Item>
<ArrayItems>
<Size>6 * m_storage.m_cols</Size>
<ValuePointer>(float*)m_storage.m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- Vector3f -->
<Type Name="Eigen::Matrix<float,3,1,0,3,1>">
<DisplayString>Vector3f</DisplayString>
<Expand>
<ArrayItems>
<Size>3</Size>
<ValuePointer>(float*)m_storage.m_data.array</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- Quaternionf -->
<Type Name="Eigen::Quaternion<float,0>">
<DisplayString>Quaternionf</DisplayString>
<Expand>
<ArrayItems>
<Size>4</Size>
<ValuePointer>(float*)m_coeffs.m_storage.m_data.array</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- Generic fallback for any float matrix -->
<Type Name="Eigen::Matrix<float,*,*,*,*,*>">
<DisplayString>Eigen::Matrix<float> ({m_storage.m_rows} x {m_storage.m_cols})</DisplayString>
<Expand>
<Item Name="Rows">m_storage.m_rows</Item>
<Item Name="Columns">m_storage.m_cols</Item>
<Item Name="Total Elements">m_storage.m_rows * m_storage.m_cols</Item>
<ArrayItems>
<Size>m_storage.m_rows * m_storage.m_cols</Size>
<ValuePointer>(float*)m_storage.m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>