FLImaging
7.6.11.1
Toggle main menu visibility
FLImagingBase
FLImagingBase
TPoint4.h
1
#pragma once
2
10
11
#include <stdint.h>
12
#include <type_traits>
13
#include <typeinfo>
14
15
#include "FLLibTags.h"
16
18
namespace
FLImaging
19
{
21
namespace
Base
22
{
34
#pragma pack(push, 1)
35
template
<
typename
T>
36
class
FL_EXPORT
TPoint4
37
{
38
public
:
43
T
x
;
44
49
T
y
;
50
55
T
z
;
56
61
T
t
;
62
63
71
TPoint4
()
72
{
73
}
74
84
TPoint4
(
const
TPoint4<T>
& tp) :
x
(tp.
x
),
y
(tp.
y
),
z
(tp.
z
),
t
(tp.
t
)
85
{
86
}
87
103
TPoint4
(T tX, T tY, T tZ, T tT) :
x
(tX),
y
(tY),
z
(tZ),
t
(tT)
104
{
105
}
106
116
void
Set
(
const
TPoint4<T>
& tp)
117
{
118
x
= tp.
x
;
119
y
= tp.
y
;
120
z
= tp.
z
;
121
t
= tp.
t
;
122
}
123
139
void
Set
(T tX, T tY, T tZ, T tT)
140
{
141
x
= tX;
142
y
= tY;
143
z
= tZ;
144
t
= tT;
145
}
146
};
147
#pragma pack(pop)
148
149
typedef
TPoint4<int8_t> TPoint4C;
150
typedef
TPoint4<uint8_t> TPoint4UC;
151
typedef
TPoint4<int16_t> TPoint4S;
152
typedef
TPoint4<uint16_t> TPoint4US;
153
typedef
TPoint4<int32_t> TPoint4L;
154
typedef
TPoint4<uint32_t> TPoint4UL;
155
typedef
TPoint4<int64_t> TPoint4LL;
156
typedef
TPoint4<uint64_t> TPoint4ULL;
157
typedef
TPoint4<float> TPoint4F;
158
typedef
TPoint4<double> TPoint4D;
159
}
160
}
FLImaging::Base::TPoint4::TPoint4
TPoint4(T tX, T tY, T tZ, T tT)
Constructs a TPoint4 object with the specified coordinates.
Definition
TPoint4.h:103
FLImaging::Base::TPoint4< int8_t >::z
int8_t z
Definition
TPoint4.h:55
FLImaging::Base::TPoint4::TPoint4
TPoint4(const TPoint4< T > &tp)
Copy constructor.
Definition
TPoint4.h:84
FLImaging::Base::TPoint4< int8_t >::t
int8_t t
Definition
TPoint4.h:61
FLImaging::Base::TPoint4::Set
void Set(const TPoint4< T > &tp)
Sets the coordinates from another TPoint4 object.
Definition
TPoint4.h:116
FLImaging::Base::TPoint4< int8_t >::y
int8_t y
Definition
TPoint4.h:49
FLImaging::Base::TPoint4::Set
void Set(T tX, T tY, T tZ, T tT)
Sets the coordinates.
Definition
TPoint4.h:139
FLImaging::Base::TPoint4::TPoint4
TPoint4()
Default constructor.
Definition
TPoint4.h:71
FLImaging::Base::TPoint4< int8_t >::x
int8_t x
Definition
TPoint4.h:43
FLImaging::Base
Definition
AESCryptography.h:18
FLImaging
Generated on
for FLImaging by
1.17.0