FLImaging
6.5.8.1
FLImagingBase
FLImagingBase
TPoint4.h
1
#pragma once
2
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
:
39
T x;
40
T y;
41
T z;
42
T t;
43
44
45
TPoint4
()
46
{
47
}
48
49
TPoint4
(
const
TPoint4<T>
& tp) : x(tp.x), y(tp.y), z(tp.z), t(tp.t)
50
{
51
}
52
53
TPoint4
(T tX, T tY, T tZ, T tT) : x(tX), y(tY), z(tZ), t(tT)
54
{
55
}
56
57
void
Set(
const
TPoint4<T>
& tp)
58
{
59
x = tp.x;
60
y = tp.y;
61
z = tp.z;
62
t = tp.t;
63
}
64
65
void
Set(T tX, T tY, T tZ, T tT)
66
{
67
x = tX;
68
y = tY;
69
z = tZ;
70
t = tT;
71
}
72
};
73
#pragma pack(pop)
74
75
typedef
TPoint4<int8_t>
TPoint4C
;
76
typedef
TPoint4<uint8_t>
TPoint4UC
;
77
typedef
TPoint4<int16_t>
TPoint4S
;
78
typedef
TPoint4<uint16_t>
TPoint4US
;
79
typedef
TPoint4<int32_t>
TPoint4L
;
80
typedef
TPoint4<uint32_t>
TPoint4UL
;
81
typedef
TPoint4<int64_t>
TPoint4LL
;
82
typedef
TPoint4<uint64_t>
TPoint4ULL
;
83
typedef
TPoint4<float>
TPoint4F
;
84
typedef
TPoint4<double>
TPoint4D
;
85
}
86
}
FLImaging::Base::TPoint4
4차원 점을 표현하는 간략화된 클래스
Definition
TPoint4.h:37
FLImaging
생성시간 : 목 5월 8 2025 22:19:28, 프로젝트명 : FLImaging, 생성자 :
1.12.0