-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathOpenCV.natvis
84 lines (76 loc) · 4.41 KB
/
OpenCV.natvis
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
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" MenuName="Add to Image Watch" />
<Type Name="cv::Matx<*,*,*>">
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" />
</Type>
<Type Name="cv::Matx<*,*,*>">
<DisplayString>{($T1*)val,[$T2*$T3]nag}</DisplayString>
<Expand>
<Item Name="[value]">($T1*)val,[$T2*$T3]nag</Item>
<Synthetic Name="[type]">
<DisplayString Condition="sizeof($T1) == 8 && ($T1)(-5.0/2)==-2.5">FLOAT64</DisplayString>
<DisplayString Condition="sizeof($T1) == 4 && ($T1)(-5.0/2)==-2.5">FLOAT32</DisplayString>
<DisplayString Condition="sizeof($T1) == 4 && ($T1)(-5.0/2)==-2">INT32</DisplayString>
<DisplayString Condition="sizeof($T1) == 2 && ($T1)(-5.0/2)==-2">INT16</DisplayString>
<DisplayString Condition="sizeof($T1) == 2 && ($T1)(-5.0/2)!=-2">UINT16</DisplayString>
<DisplayString Condition="sizeof($T1) == 1 && ($T1)(-5.0/2)==-2">INT8</DisplayString>
<DisplayString Condition="sizeof($T1) == 1 && ($T1)(-5.0/2)!=-2">UINT8</DisplayString>
<DisplayString>UINT8</DisplayString>
</Synthetic>
<Item Name="[channels]">1</Item>
<Item Name="[width]">$T3</Item>
<Item Name="[height]">$T2</Item>
<Item Name="[stride]">$T3 * sizeof($T1)</Item>
<Item Name="[data]">(void*)val</Item>
</Expand>
</Type>
<Type Name="cv::_InputArray">
<AlternativeType Name="cv::debug_build_guard::_InputArray" />
<AlternativeType Name="_InputArray" />
<AlternativeType Name="InputArray" />
<AlternativeType Name="InputArrayOfArrays" />
<AlternativeType Name="cv::debug_build_guard::_OutputArray" />
<AlternativeType Name="cv::_OutputArray" />
<AlternativeType Name="_OutputArray" />
<AlternativeType Name="OutputArray" />
<Intrinsic Name="_kind" Expression="flags & KIND_MASK" />
<DisplayString Condition="!obj" Optional="true">null</DisplayString>
<DisplayString Condition="_kind() == MAT" Optional="true">Mat {(cv::Mat*)obj}</DisplayString>
<DisplayString Condition="_kind() == UMAT" Optional="true">UMat {(cv::UMat*)obj}</DisplayString>
<DisplayString Condition="_kind() == EXPR" Optional="true">MatExpr {(cv::MatExpr*)obj}</DisplayString>
<DisplayString Condition="_kind() == MATX" Optional="true">MATX { (cv::Scalar*)obj,na }</DisplayString>
<DisplayString Condition="_kind() == STD_VECTOR_MAT" Optional="true">vector {obj}</DisplayString>
<DisplayString Condition="_kind() == STD_ARRAY_MAT" Optional="true">array {obj}</DisplayString>
<DisplayString Condition="_kind() == STD_VECTOR_UMAT" Optional="true">vector {obj}</DisplayString>
<DisplayString>None</DisplayString>
<Expand>
<Item Name = "data" Condition="!obj" Optional="true">obj</Item>
<Item Name = "data" Condition="_kind() == MAT" Optional="true">(cv::Mat*)obj</Item>
<Item Name = "data" Condition="_kind() == UMAT" Optional="true">(cv::UMat*)obj</Item>
<Item Name = "data" Condition="_kind() == EXPR" Optional="true">(cv::MatExpr*)obj</Item>
<Item Name = "data" Condition="_kind() == MATX" Optional="true">(cv::Scalar*)obj,na</Item>
<ArrayItems Condition="_kind() == STD_VECTOR_MAT" Optional="true">
<Size>(cv::Mat*)((void**)obj)[2] - (cv::Mat*)((void**)obj)[1]</Size>
<ValuePointer>(cv::Mat*)((void**)obj)[1]</ValuePointer>
</ArrayItems>
<ArrayItems Condition="_kind() == STD_ARRAY_MAT" Optional="true">
<Size>sz.height</Size>
<ValuePointer>(cv::Mat*)obj</ValuePointer>
</ArrayItems>
<ArrayItems Condition="_kind() == STD_VECTOR_UMAT" Optional="true">
<Size>(cv::UMat*)((void**)obj)[2] - (cv::UMat*)((void**)obj)[1]</Size>
<ValuePointer>(cv::UMat*)((void**)obj)[1]</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="cv::Vec<*,*>">
<DisplayString ExcludeView="string">{{{($T1*)val,[$T2]nag}}}</DisplayString>
</Type>
<Type Name="cv::Scalar_<*>">
<DisplayString>{{{val,[4]g}}}</DisplayString>
</Type>
<Type Name="cv::Rect_<*>">
<DisplayString>{{x={x,g}, y={y,g}, width={width,g}, height={height,g}}}</DisplayString>
</Type>
</AutoVisualizer>