35 ZIVID_COMMON
PointCloud(
size_t rows,
size_t cols);
38 ZIVID_COMMON
bool isEmpty()
const;
41 ZIVID_COMMON
size_t width()
const;
44 ZIVID_COMMON
size_t height()
const;
47 ZIVID_COMMON
size_t size()
const;
76 ZIVID_COMMON
void resize(
size_t rows,
size_t cols);
85 ZIVID_COMMON PointCloud
clone();
88 explicit PointCloud(
const PointCloudImpl &other);
91 std::shared_ptr<PointCloudImpl> m_impl;
ZIVID_COMMON size_t width() const
Return width (number of columns) of point cloud.
A 3D point with contrast and RGBA values
ZIVID_COMMON Point * dataPtr()
Obtain a pointer to the first point in the point cloud.
ZIVID_COMMON size_t height() const
Return height (number of rows) of point cloud.
A point cloud with x,y,z, contrast and color data laid out on a 2D grid.
Definition: PointCloud.h:28
Definition: Application.h:19
ZIVID_COMMON PointCloud clone()
Make a deep copy of the point cloud.
Definitions for export of DLL interfaces
ZIVID_COMMON void resize(size_t rows, size_t cols)
Resize the point cloud to the given number of rows and columns.
ZIVID_COMMON PointCloud()
Construct an empty point cloud.
ZIVID_COMMON bool isEmpty() const
Return whether point cloud is empty.
A 3D point with contrast and RGBA values.
Definition: Point.h:30
ZIVID_COMMON size_t size() const
Return number of points in point cloud.
ZIVID_COMMON Point & operator()(size_t idx)
Obtain a reference to a point given by a 1D linear index.