Open3D (C++ API)
Public Member Functions | Data Fields
open3d::geometry::VoxelGrid Class Reference

#include <VoxelGrid.h>

Inheritance diagram for open3d::geometry::VoxelGrid:
open3d::geometry::Geometry3D open3d::geometry::Geometry

Public Member Functions

 VoxelGrid ()
 
 ~VoxelGrid () override
 
void Clear () override
 
bool IsEmpty () const override
 
Eigen::Vector3d GetMinBound () const override
 
Eigen::Vector3d GetMaxBound () const override
 
void Transform (const Eigen::Matrix4d &transformation) override
 
VoxelGridoperator+= (const VoxelGrid &voxelgrid)
 
VoxelGrid operator+ (const VoxelGrid &voxelgrid) const
 
bool HasVoxels () const
 
bool HasColors () const
 
- Public Member Functions inherited from open3d::geometry::Geometry3D
 ~Geometry3D () override
 
- Public Member Functions inherited from open3d::geometry::Geometry
virtual ~Geometry ()
 
GeometryType GetGeometryType () const
 
int Dimension () const
 

Data Fields

double voxel_size_
 
Eigen::Vector3d origin_
 
std::vector< Eigen::Vector3i > voxels_
 
std::vector< Eigen::Vector3d > colors_
 

Additional Inherited Members

- Public Types inherited from open3d::geometry::Geometry
enum  GeometryType {
  GeometryType::Unspecified = 0, GeometryType::PointCloud = 1, GeometryType::VoxelGrid = 2, GeometryType::Octree = 3,
  GeometryType::LineSet = 4, GeometryType::TriangleMesh = 5, GeometryType::HalfEdgeTriangleMesh = 6, GeometryType::Image = 7
}
 
- Protected Member Functions inherited from open3d::geometry::Geometry3D
 Geometry3D (GeometryType type)
 
- Protected Member Functions inherited from open3d::geometry::Geometry
 Geometry (GeometryType type, int dimension)
 

Constructor & Destructor Documentation

◆ VoxelGrid()

open3d::geometry::VoxelGrid::VoxelGrid ( )
inline

◆ ~VoxelGrid()

open3d::geometry::VoxelGrid::~VoxelGrid ( )
inlineoverride

Member Function Documentation

◆ Clear()

void open3d::geometry::VoxelGrid::Clear ( )
overridevirtual

◆ GetMaxBound()

Eigen::Vector3d open3d::geometry::VoxelGrid::GetMaxBound ( ) const
overridevirtual

◆ GetMinBound()

Eigen::Vector3d open3d::geometry::VoxelGrid::GetMinBound ( ) const
overridevirtual

◆ HasColors()

bool open3d::geometry::VoxelGrid::HasColors ( ) const
inline

◆ HasVoxels()

bool open3d::geometry::VoxelGrid::HasVoxels ( ) const
inline

◆ IsEmpty()

bool open3d::geometry::VoxelGrid::IsEmpty ( ) const
overridevirtual

◆ operator+()

VoxelGrid open3d::geometry::VoxelGrid::operator+ ( const VoxelGrid voxelgrid) const

◆ operator+=()

VoxelGrid & open3d::geometry::VoxelGrid::operator+= ( const VoxelGrid voxelgrid)

◆ Transform()

void open3d::geometry::VoxelGrid::Transform ( const Eigen::Matrix4d &  transformation)
overridevirtual

Field Documentation

◆ colors_

std::vector<Eigen::Vector3d> open3d::geometry::VoxelGrid::colors_

◆ origin_

Eigen::Vector3d open3d::geometry::VoxelGrid::origin_

◆ voxel_size_

double open3d::geometry::VoxelGrid::voxel_size_

◆ voxels_

std::vector<Eigen::Vector3i> open3d::geometry::VoxelGrid::voxels_

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