FLImaging 6.5.8.1
TPoint4.h
1#pragma once
2
11#include <stdint.h>
12#include <type_traits>
13#include <typeinfo>
14
15#include "FLLibTags.h"
16
18namespace 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
85 }
86}
4차원 점을 표현하는 간략화된 클래스
Definition TPoint4.h:37