| Visioscan Set SDK Libraries 1.3.5 Visioscan Set SDK Help documentation file for C++ and C++/CLI |

Loading...
Searching...
No Matches
WMultipleSampling.h
1#pragma once
2#include "../AgvSensor/MultipleSampling.h"
3#include "../AgvSensor/Enumerations.h"
4 namespace Com {
5 namespace AgvSensorWrapper {
6 namespace Structs {
7 public ref class WMultipleSampling
8 {
9 public:
10 WMultipleSampling() {
11 _multipleSampling = new MultipleSampling();
12 }
13
14 WMultipleSampling(WMultipleSampling^ toCopy) {
15 _multipleSampling = new MultipleSampling();
16 Near = toCopy->Near;
17 Middle = toCopy->Middle;
18 Far = toCopy->Far;
19 }
20 ~WMultipleSampling() {
21 delete(_multipleSampling);
22 }
23
24 property unsigned int Near {
25 unsigned int get() {
26 return _multipleSampling->GetNear();
27 }
28 void set(unsigned int x) {
29 _multipleSampling->SetNear(x);
30 }
31 }
32
33 property unsigned int Middle {
34 unsigned int get() {
35 return _multipleSampling->GetMiddle();
36 }
37 void set(unsigned int x) {
38 _multipleSampling->SetMiddle(x);
39 }
40 }
41
42 property unsigned int Far {
43 unsigned int get() {
44 return _multipleSampling->GetFar();
45 }
46 void set(unsigned int x) {
47 _multipleSampling->SetFar(x);
48 }
49 }
50
51 property MultipleSampling* __native {
52 MultipleSampling* get() {
53 return _multipleSampling;
54 }
55 }
56
57 static bool operator== (WMultipleSampling^ pComp1, WMultipleSampling^ pComp2) {
58 if (System::Object::ReferenceEquals(pComp1, pComp2))
59 return true;
60
61 if (System::Object::ReferenceEquals(pComp1, nullptr) ||
62 System::Object::ReferenceEquals(pComp2, nullptr)) {
63 return false;
64 }
65 return pComp1->Near == pComp2->Near
66 && pComp1->Middle == pComp2->Middle
67 && pComp1->Far == pComp2->Far;
68 }
69
70 static bool operator!= (WMultipleSampling^ pComp1, WMultipleSampling^ pComp2) {
71 return !(pComp1 == pComp2);
72 }
73
74 private:
75 MultipleSampling* _multipleSampling;
76 };
77 }
78 }
79}
80
Com
Definition WActiveLevel.h:7
MultipleSampling
Definition MultipleSampling.h:10
Com::AgvSensorWrapper::Structs::WMultipleSampling
Definition WMultipleSampling.h:8
Com::AgvSensorWrapper::Structs::WMultipleSampling::~WMultipleSampling
~WMultipleSampling()
Definition WMultipleSampling.h:20
Com::AgvSensorWrapper::Structs::WMultipleSampling::WMultipleSampling
WMultipleSampling()
Definition WMultipleSampling.h:10
Com::AgvSensorWrapper::Structs::WMultipleSampling::WMultipleSampling
WMultipleSampling(WMultipleSampling^ toCopy)
Definition WMultipleSampling.h:14
Com::AgvSensorWrapper::Structs::WMultipleSampling::Near
property unsigned int Near
Definition WMultipleSampling.h:24