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

#include <BoundingBox.h>

Public Member Functions

 BoundingBox ()
 
 BoundingBox (const geometry::Geometry3D &geometry)
 
 ~BoundingBox ()
 
void Reset ()
 
void FitInGeometry (const geometry::Geometry3D &geometry)
 
Eigen::Vector3d GetCenter () const
 
double GetSize () const
 
double GetXPercentage (double x) const
 
double GetYPercentage (double y) const
 
double GetZPercentage (double z) const
 
std::string GetPrintInfo () const
 

Data Fields

Eigen::Vector3d min_bound_ = Eigen::Vector3d::Zero()
 
Eigen::Vector3d max_bound_ = Eigen::Vector3d::Zero()
 

Detailed Description

A 3D bounding box class It is a utility class for Visualization

Constructor & Destructor Documentation

◆ BoundingBox() [1/2]

open3d::visualization::BoundingBox::BoundingBox ( )

◆ BoundingBox() [2/2]

open3d::visualization::BoundingBox::BoundingBox ( const geometry::Geometry3D geometry)

◆ ~BoundingBox()

open3d::visualization::BoundingBox::~BoundingBox ( )

Member Function Documentation

◆ FitInGeometry()

void open3d::visualization::BoundingBox::FitInGeometry ( const geometry::Geometry3D geometry)

◆ GetCenter()

Eigen::Vector3d open3d::visualization::BoundingBox::GetCenter ( ) const
inline

◆ GetPrintInfo()

std::string open3d::visualization::BoundingBox::GetPrintInfo ( ) const
inline

◆ GetSize()

double open3d::visualization::BoundingBox::GetSize ( ) const
inline

◆ GetXPercentage()

double open3d::visualization::BoundingBox::GetXPercentage ( double  x) const
inline

◆ GetYPercentage()

double open3d::visualization::BoundingBox::GetYPercentage ( double  y) const
inline

◆ GetZPercentage()

double open3d::visualization::BoundingBox::GetZPercentage ( double  z) const
inline

◆ Reset()

void open3d::visualization::BoundingBox::Reset ( )

Field Documentation

◆ max_bound_

Eigen::Vector3d open3d::visualization::BoundingBox::max_bound_ = Eigen::Vector3d::Zero()

◆ min_bound_

Eigen::Vector3d open3d::visualization::BoundingBox::min_bound_ = Eigen::Vector3d::Zero()

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