Open3D (C++ API)  0.18.0+252c867
Public Member Functions | Data Fields
open3d::geometry::Voxel Class Reference

Base Voxel class, containing grid id and color. More...

#include <VoxelGrid.h>

Inheritance diagram for open3d::geometry::Voxel:
open3d::geometry::TSDFVoxel

Public Member Functions

 Voxel ()
 Default Constructor. More...
 
 Voxel (const Eigen::Vector3i &grid_index)
 Parameterized Constructor. More...
 
 Voxel (const Eigen::Vector3i &grid_index, const Eigen::Vector3d &color)
 Parameterized Constructor. More...
 
 ~Voxel ()
 

Data Fields

Eigen::Vector3i grid_index_ = Eigen::Vector3i(0, 0, 0)
 Grid coordinate index of the voxel. More...
 
Eigen::Vector3d color_ = Eigen::Vector3d(0, 0, 0)
 Color of the voxel. More...
 

Detailed Description

Base Voxel class, containing grid id and color.

Constructor & Destructor Documentation

◆ Voxel() [1/3]

open3d::geometry::Voxel::Voxel ( )
inline

Default Constructor.

◆ Voxel() [2/3]

open3d::geometry::Voxel::Voxel ( const Eigen::Vector3i &  grid_index)
inline

Parameterized Constructor.

Parameters
grid_indexGrid coordinate index of the voxel.

◆ Voxel() [3/3]

open3d::geometry::Voxel::Voxel ( const Eigen::Vector3i &  grid_index,
const Eigen::Vector3d &  color 
)
inline

Parameterized Constructor.

Parameters
grid_indexGrid coordinate index of the voxel.
colorColor of the voxel.

◆ ~Voxel()

open3d::geometry::Voxel::~Voxel ( )
inline

Field Documentation

◆ color_

Eigen::Vector3d open3d::geometry::Voxel::color_ = Eigen::Vector3d(0, 0, 0)

Color of the voxel.

◆ grid_index_

Eigen::Vector3i open3d::geometry::Voxel::grid_index_ = Eigen::Vector3i(0, 0, 0)

Grid coordinate index of the voxel.


The documentation for this class was generated from the following file: