Open3D (C++ API)  0.18.0+5c982c7
Public Member Functions | Data Fields
open3d::geometry::AvgColorVoxel Class Reference

Class to aggregate color values from different votes in one voxel Computes the average color value in the voxel. More...

#include <VoxelGrid.h>

Public Member Functions

 AvgColorVoxel ()
 
void Add (const Eigen::Vector3i &voxel_index)
 
void Add (const Eigen::Vector3i &voxel_index, const Eigen::Vector3d &color)
 
Eigen::Vector3i GetVoxelIndex () const
 
Eigen::Vector3d GetAverageColor () const
 

Data Fields

int num_of_points_
 
Eigen::Vector3i voxel_index_
 
Eigen::Vector3d color_
 

Detailed Description

Class to aggregate color values from different votes in one voxel Computes the average color value in the voxel.

Constructor & Destructor Documentation

◆ AvgColorVoxel()

open3d::geometry::AvgColorVoxel::AvgColorVoxel ( )
inline

Member Function Documentation

◆ Add() [1/2]

void open3d::geometry::AvgColorVoxel::Add ( const Eigen::Vector3i &  voxel_index)
inline

◆ Add() [2/2]

void open3d::geometry::AvgColorVoxel::Add ( const Eigen::Vector3i &  voxel_index,
const Eigen::Vector3d &  color 
)
inline

◆ GetAverageColor()

Eigen::Vector3d open3d::geometry::AvgColorVoxel::GetAverageColor ( ) const
inline

◆ GetVoxelIndex()

Eigen::Vector3i open3d::geometry::AvgColorVoxel::GetVoxelIndex ( ) const
inline

Field Documentation

◆ color_

Eigen::Vector3d open3d::geometry::AvgColorVoxel::color_

◆ num_of_points_

int open3d::geometry::AvgColorVoxel::num_of_points_

◆ voxel_index_

Eigen::Vector3i open3d::geometry::AvgColorVoxel::voxel_index_

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