8#define PI (3.14159265358979323846)
16enum struct CoordinateUnit { Millimeter, Meter };
18enum struct FileFormat {
30 constexpr Range() : min(0), max(0) {}
31 constexpr Range(
T min,
T max) : min(min), max(max) {}
41 constexpr Size() : width(0), height(0) {}
42 constexpr Size(
size_t width,
size_t height) : width(width), height(height) {}
55 constexpr SizeF() : width(0), height(0) {}
56 constexpr SizeF(
double width,
double height) : width(width), height(height) {}
86 constexpr ProfileROI() : xAxisCenter(0), width(0), height(0) {}
87 constexpr ProfileROI(
double xAxisCenter,
double width,
double height)
88 : xAxisCenter(xAxisCenter), width(width), height(height)
141 enum class Axis { X, Y, Z };
218 double rotation[3][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}};
238enum struct IpAssignmentMethod { Unknown, DHCP = 4, Static, LLA };
243enum struct Platform {
254inline static std::string ipAssignmentMethodToString(IpAssignmentMethod type)
257 case IpAssignmentMethod::Static:
259 case IpAssignmentMethod::DHCP:
261 case IpAssignmentMethod::LLA:
263 case IpAssignmentMethod::Unknown:
Represents a 2D container of data.
size_t height() const
Returns the height of the Array2D object.
size_t width() const
Returns the width of the Array2D object.
Represents a point in UntexturedPointCloud with the coordinate (x, y, z) information.
float z
Z channel, default unit: mm, invalid data: nan.
float y
Y channel, default unit: mm, invalid data: nan.
float x
X channel, default unit: mm, invalid data: nan.
Describes the region of interest (ROI) of a laser profiler.
double height
The Z-axis height (in mm) of the ROI.
double width
The X-axis width (in mm) of the ROI.
double xAxisCenter
The position (in mm) of the ROI's center on the X-axis.
Describes a region of interest (ROI).
unsigned upperLeftY
The row coordinate of the upper-left corner of the ROI.
unsigned upperLeftX
The column coordinate of the upper-left corner of the ROI.
Describes a two-dimensional size with a width and a height using double-precision floating-point numb...
Describes a two-dimensional size with a width and a height.