26 class DeviceCloudImpl;
44 ZIVID_COMMON_COMPUTE
bool isEmpty()
const;
47 ZIVID_COMMON_COMPUTE DeviceCloud
clone()
const;
57 ZIVID_COMMON_COMPUTE
void lock();
60 ZIVID_COMMON_COMPUTE
size_t rows()
const;
63 ZIVID_COMMON_COMPUTE
size_t cols()
const;
66 ZIVID_COMMON_COMPUTE
void unlock();
69 ZIVID_COMMON_COMPUTE
bool tryLock();
72 ZIVID_COMMON_COMPUTE
bool tryLockFor(
const std::chrono::milliseconds &duration);
74 #ifndef DOXYGEN_SHOULD_SKIP_THIS 75 ZIVID_COMMON_COMPUTE DeviceCloudImpl &getImpl();
76 ZIVID_COMMON_COMPUTE
const DeviceCloudImpl &getImpl()
const;
77 ZIVID_COMMON_COMPUTE
explicit DeviceCloud(
const DeviceCloudImpl &other);
81 std::shared_ptr<DeviceCloudImpl> m_impl;
Include file with data type definitions for an organized point cloud.
ZIVID_COMMON_COMPUTE size_t cols() const
Get number of columns in point cloud.
ZIVID_COMMON_COMPUTE size_t rows() const
Get number of rows in point cloud.
ZIVID_COMMON_COMPUTE bool tryLockFor(const std::chrono::milliseconds &duration)
Check if a lock can be obtained for the point cloud (with a specified timeout)
ZIVID_COMMON_COMPUTE void unlock()
Unlock the 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
Definitions for export of DLL interfaces
Point cloud on the Compute device.
Definition: DeviceCloud.h:31
ZIVID_COMMON_COMPUTE bool isEmpty() const
Check if the device cloud is empty.
ZIVID_COMMON_COMPUTE PointCloud copyToCPU()
Copy to the device cloud to a CPU point cloud.
ZIVID_COMMON_COMPUTE bool tryLock()
Check if a lock can be obtained for the point cloud.
A Compute device on which to allocate a device point cloud
A Compute device on which to allocate a device point cloud.
Definition: ComputeDevice.h:28
ZIVID_COMMON_COMPUTE void lock()
Lock the point cloud.
ZIVID_COMMON_COMPUTE DeviceCloud()
Create an empty device cloud.
ZIVID_COMMON_COMPUTE DeviceCloud clone() const
Clone the device cloud.