mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||
|
<!-- dlib matrix debugger visualization in Visual Studio-->
|
||
|
<!-- Johannes Huber, SAFEmine Part of Hexagon -->
|
||
|
<!-- no warranty -->
|
||
|
|
||
|
<!-- general dlib::matrix fixed size-->
|
||
|
<Type Name="dlib::matrix<*,*,*,*>">
|
||
|
<DisplayString>{{ size= <{$T2}> x <{$T3}> }}</DisplayString>
|
||
|
<Expand>
|
||
|
<ArrayItems>
|
||
|
<Size>$T2 * $T3</Size>
|
||
|
<ValuePointer>($T1*)data.data</ValuePointer>
|
||
|
</ArrayItems>
|
||
|
</Expand>
|
||
|
</Type>
|
||
|
|
||
|
<!-- general dlib::matrix fixed rows-->
|
||
|
<Type Name="dlib::matrix<*,0,*,*>">
|
||
|
<DisplayString>{{ size={data.nr_} x <{$T2}> }}</DisplayString>
|
||
|
<Expand>
|
||
|
<ArrayItems Condition="data.data != 0">
|
||
|
<Size>data.nr_ * $T2</Size>
|
||
|
<ValuePointer>($T1*)data.data</ValuePointer>
|
||
|
</ArrayItems>
|
||
|
</Expand>
|
||
|
</Type>
|
||
|
|
||
|
<!-- general dlib::matrix fixed cols-->
|
||
|
<Type Name="dlib::matrix<*,*,0,*>">
|
||
|
<DisplayString>{{ size= <{$T2}> x {data.nc_} }}</DisplayString>
|
||
|
<Expand>
|
||
|
<ArrayItems Condition="data.data != 0">
|
||
|
<Size>$T2 * data.nc_</Size>
|
||
|
<ValuePointer>($T1*)data.data</ValuePointer>
|
||
|
</ArrayItems>
|
||
|
</Expand>
|
||
|
</Type>
|
||
|
|
||
|
<!-- general dlib::matrix dynamic size-->
|
||
|
<Type Name="dlib::matrix<*,0,0,*>">
|
||
|
<DisplayString>{{ size= {data.nc_} x {data.nc_} }}</DisplayString>
|
||
|
<Expand>
|
||
|
<ArrayItems Condition="data.data != 0">
|
||
|
<Size>data.nr_*data.nc_</Size>
|
||
|
<ValuePointer>($T1*)data.data</ValuePointer>
|
||
|
</ArrayItems>
|
||
|
</Expand>
|
||
|
</Type>
|
||
|
|
||
|
</AutoVisualizer>
|