41 :
Voxel(grid_index, color) {}
51 namespace integration {
63 const Eigen::Vector3d &
origin = Eigen::Vector3d::Zero());
67 void Reset()
override;
70 const Eigen::Matrix4d &extrinsic)
override;
71 std::shared_ptr<geometry::PointCloud> ExtractPointCloud()
override;
72 std::shared_ptr<geometry::TriangleMesh> ExtractTriangleMesh()
override;
75 std::shared_ptr<geometry::PointCloud> ExtractVoxelPointCloud()
const;
77 std::shared_ptr<geometry::VoxelGrid> ExtractVoxelGrid()
const;
81 void IntegrateWithDepthToCameraDistanceMultiplier(
84 const Eigen::Matrix4d &extrinsic,
87 inline int IndexOf(
int x,
int y,
int z)
const {
88 return x * resolution_ * resolution_ + y * resolution_ + z;
91 inline int IndexOf(
const Eigen::Vector3i &xyz)
const {
92 return IndexOf(xyz(0), xyz(1), xyz(2));
107 Eigen::Vector3d GetNormalAt(
const Eigen::Vector3d &p);
109 double GetTSDFAt(
const Eigen::Vector3d &p);
TSDFVolumeColorType
Definition: TSDFVolume.h:40
~TSDFVoxel()
Definition: UniformTSDFVolume.h:42
Definition: UniformTSDFVolume.h:36
Contains the pinhole camera intrinsic parameters.
Definition: PinholeCameraIntrinsic.h:51
Base class of the Truncated Signed Distance Function (TSDF) volume.
Definition: TSDFVolume.h:60
math::float4 color
Definition: LineSetBuffers.cpp:46
RGBDImage is for a pair of registered color and depth images,.
Definition: RGBDImage.h:46
Eigen::Vector3d origin
Definition: FilePLY.cpp:285
Definition: Open3DViewer.h:29
TSDFVoxel()
Definition: UniformTSDFVolume.h:38
Base Voxel class, containing grid id and color.
Definition: VoxelGrid.h:55
float weight_
Definition: UniformTSDFVolume.h:46
The Image class stores image with customizable width, height, num of channels and bytes per channel...
Definition: Image.h:53
float tsdf_
Definition: UniformTSDFVolume.h:45
TSDFVoxel(const Eigen::Vector3i &grid_index)
Definition: UniformTSDFVolume.h:39
TSDFVoxel(const Eigen::Vector3i &grid_index, const Eigen::Vector3d &color)
Definition: UniformTSDFVolume.h:40