|
Point Cloud Library (PCL)
1.15.1-dev
|
MarchingCubes implements MarchingCubes functionality for TSDF volume on GPU. More...
#include </__w/1/s/gpu/kinfu_large_scale/include/pcl/gpu/kinfu_large_scale/marching_cubes.h>
Public Types | |
| enum | { POINTS_PER_TRIANGLE = 3 , DEFAULT_TRIANGLES_BUFFER_SIZE = 2 * 1000 * 1000 * POINTS_PER_TRIANGLE * 2 } |
| Default size for triangles buffer. More... | |
| using | PointType = pcl::PointXYZ |
| Point type. More... | |
| using | Ptr = shared_ptr< MarchingCubes > |
| Smart pointer. More... | |
| using | ConstPtr = shared_ptr< const MarchingCubes > |
Public Member Functions | |
| MarchingCubes () | |
| Default constructor. More... | |
| DeviceArray< PointType > | run (const TsdfVolume &tsdf, DeviceArray< PointType > &triangles_buffer) |
| Runs marching cubes triangulation. More... | |
MarchingCubes implements MarchingCubes functionality for TSDF volume on GPU.
Definition at line 58 of file marching_cubes.h.
| using pcl::gpu::kinfuLS::MarchingCubes::ConstPtr = shared_ptr<const MarchingCubes> |
Definition at line 74 of file marching_cubes.h.
Point type.
Definition at line 70 of file marching_cubes.h.
| using pcl::gpu::kinfuLS::MarchingCubes::Ptr = shared_ptr<MarchingCubes> |
Smart pointer.
Definition at line 73 of file marching_cubes.h.
| anonymous enum |
Default size for triangles buffer.
| Enumerator | |
|---|---|
| POINTS_PER_TRIANGLE | |
| DEFAULT_TRIANGLES_BUFFER_SIZE | |
Definition at line 63 of file marching_cubes.h.
| pcl::gpu::kinfuLS::MarchingCubes::MarchingCubes | ( | ) |
Default constructor.
| DeviceArray<PointType> pcl::gpu::kinfuLS::MarchingCubes::run | ( | const TsdfVolume & | tsdf, |
| DeviceArray< PointType > & | triangles_buffer | ||
| ) |
Runs marching cubes triangulation.
| [in] | tsdf | |
| [in] | triangles_buffer | Buffer for triangles. Its size determines max extracted triangles. If empty, it will be allocated with default size will be used. |