 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
10 #include <VoxelGrid.h>
34 namespace integration {
46 const Eigen::Vector3d &
origin = Eigen::Vector3d::Zero());
50 void Reset()
override;
53 const Eigen::Matrix4d &extrinsic)
override;
75 const Eigen::Matrix4d &extrinsic,
83 return IndexOf(xyz(0), xyz(1), xyz(2));
98 Eigen::Vector3d GetNormalAt(
const Eigen::Vector3d &p);
100 double GetTSDFAt(
const Eigen::Vector3d &p);
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
bool hasColors() const override
Returns whether colors are enabled or not.
Definition: ecvPointCloud.cpp:1689
Eigen::Matrix< Index, 4, 1 > Vector4i
Definition: knncpp.h:31
normal_z rgb
Definition: my_point_types.h:168
Base class of the Truncated Signed Distance Function (TSDF) volume.
Definition: TSDFVolume.h:43
normal_z x
Definition: my_point_types.h:165
~TSDFVoxel()
Definition: UniformTSDFVolume.h:24
double weight_
Definition: PointCloudFactory.cpp:190
float weight_
Definition: UniformTSDFVolume.h:28
static ccPointCloud * ToPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccPointCloud.
Definition: ecvHObjectCaster.cpp:54
TSDFVoxel()
Definition: UniformTSDFVolume.h:20
virtual void setLocked(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:117
unsigned size() const override
Definition: PointCloudTpl.h:38
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
Definition: UniformTSDFVolume.h:18
int height_
Height of the image.
Definition: PinholeCameraIntrinsic.h:110
math::float4 color
Definition: LineSetBuffers.cpp:46
double normals[3]
Definition: TriangleMeshIO.cpp:54
Array of compressed 3D normals (single index)
Definition: ecvAdvancedTypes.h:21
normal_z y
Definition: my_point_types.h:168
TSDFVoxel(const Eigen::Vector3i &grid_index)
Definition: UniformTSDFVolume.h:21
int width_
Width of the image.
Definition: PinholeCameraIntrinsic.h:108
TSDFVolumeColorType color_type_
Color type of the TSDF volume.
Definition: TSDFVolume.h:80
Contains the pinhole camera intrinsic parameters.
Definition: PinholeCameraIntrinsic.h:34
void addEigenColor(const Eigen::Vector3d &color)
Definition: ecvPointCloud.cpp:1721
Base Voxel class, containing grid id and color.
Definition: VoxelGrid.h:38
MiniVec< float, N > floor(const MiniVec< float, N > &a)
Definition: MiniVec.h:75
Eigen::Matrix< Index, 3, 1 > Vector3i
Definition: knncpp.h:30
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:184
TSDFVolumeColorType
Definition: TSDFVolume.h:23
Eigen::Vector3d origin
Definition: VoxelGridIO.cpp:26
#define LogError(...)
Definition: Logging.h:60
T * PointerAt(int u, int v) const
Function to access the raw data of a single-channel Image.
Definition: Image.cpp:77
TSDFVoxel(const Eigen::Vector3i &grid_index, const Eigen::Vector3d &color)
Definition: UniformTSDFVolume.h:22
static std::shared_ptr< Image > CreateDepthToCameraDistanceMultiplierFloatImage(const camera::PinholeCameraIntrinsic &intrinsic)
Definition: ImageFactory.cpp:17
std::pair< double, double > GetPrincipalPoint() const
Definition: PinholeCameraIntrinsic.h:93
normal_z z
Definition: my_point_types.h:165
RGBDImage is for a pair of registered color and depth images,.
Definition: RGBDImage.h:27
std::pair< double, double > GetFocalLength() const
Returns the focal length in a tuple of X-axis and Y-axis focal lengths.
Definition: PinholeCameraIntrinsic.h:87
void shrinkToFit()
Removes unused capacity.
Definition: ecvPointCloud.h:357
void addEigenPoint(const Eigen::Vector3d &point)
Definition: PointCloudTpl.h:290
@ Gray32
32 bit GrayScale.
virtual void setEnabled(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:102
double sdf_trunc_
Truncation value for signed distance function (SDF).
Definition: TSDFVolume.h:78
float tsdf_
Definition: UniformTSDFVolume.h:27
double voxel_length_
Length of the voxel in meters.
Definition: TSDFVolume.h:76
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition: Image.h:33
bool reserveTheRGBTable()
Reserves memory to store the RGB colors.
Definition: ecvPointCloud.cpp:1200