|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
29 #ifndef DW_POINTCLOUDPROCESSING_POINTCLOUD_POINTCLOUD_H_
30 #define DW_POINTCLOUDPROCESSING_POINTCLOUD_POINTCLOUD_H_
32 #include <dw/core/base/Types.h>
74 #define DW_POINT_CLOUD_MAX_LAYERS 16U
75 #define DW_POINT_CLOUD_MAX_AUX_CHANNELS 16U
167 uint32_t
const maxPointsPerLayer,
168 uint32_t
const numRequestedLayers,
169 uint32_t
const* auxChannelsElemSize,
170 uint32_t
const numRequestedAuxChannels);
208 #endif // DW_POINTCLOUDPROCESSING_POINTCLOUD_POINTCLOUD_H_
const void * points
Pointer to the start of the data for this layer.
uint32_t numLayers
Number of layers in a point cloud.
uint32_t size
Number of points in a layer (.
Defines point cloud data structure.
@ DW_POINTCLOUD_FORMAT_RTHI
Polar 3D coordinate + intensity.
#define DW_POINT_CLOUD_MAX_AUX_CHANNELS
uint32_t numAuxChannels
Number of aux channels in a point cloud.
uint32_t capacity
numLayers * maxPointsPerLayer
DW_API_PUBLIC dwStatus dwPointCloud_createBuffer(dwPointCloud *buffer)
Allocates memory for point cloud data structure.
uint32_t size
Number of points in the cloud including all layers.
dwTime_t timestamp
Time when the point cloud capturing is finished on sensor (deprecated)
dwMemoryType type
Defines type of a memory GPU or CPU.
DW_API_PUBLIC dwStatus dwPointCloud_destroy(dwPointCloud *pointCloud)
Destroy point cloud buffers.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Struct holding information about a single point cloud layer.
DW_API_PUBLIC dwStatus dwPointCloud_create(dwPointCloud *pointCloud, dwPointCloudFormat const format, dwMemoryType const memoryType, uint32_t const maxPointsPerLayer, uint32_t const numRequestedLayers, uint32_t const *auxChannelsElemSize, uint32_t const numRequestedAuxChannels)
Create point cloud with layers and aux channel information.
uint32_t channelIdx
Channel index the aux data refers to.
void * points
Pointer to memory buffer of all points.
Struct holding information about aux channel.
uint32_t size
Number of elements in a channel.
DW_API_PUBLIC dwStatus dwPointCloud_getPointStride(uint32_t *size)
Get the size of the point cloud data type.
uint32_t maxPointsPerLayer
Maximum number of points in layer (use even number of points to benefit from aligned memory access pe...
uint32_t elementSize
Size in bytes of an element in the aux buffer.
dwPointCloudFormat
Defines point format.
dwTime_t sensorStartTimestamp
Point cloud start sensor timestamp.
@ DW_POINTCLOUD_FORMAT_XYZI
Cartesian 3D coordinate + intensity.
dwTime_t hostEndTimestamp
Point cloud end host timestamp.
dwStatus
Status definition.
void * data
Pointer to the start of the data for this channel.
#define DW_POINT_CLOUD_MAX_LAYERS
dwTime_t sensorEndTimestamp
Point cloud end sensor timestamp.
uint32_t layerIdx
Index of a layer within a point cloud.
bool organized
Flag indicating the data is ordered on the 3D grid.
dwTime_t hostStartTimestamp
Point cloud start host timestamp.
dwPointCloudFormat format
Format of a buffer.
DW_API_PUBLIC dwStatus dwPointCloud_destroyBuffer(dwPointCloud *buffer)
Destroys allocated memory for point cloud data structure.