Box Struct Reference

An oriented bounding box in the global frame. More...

#include <ArmarXSimulation/components/FakeObjectDetector/VisibilityCheck.h>

Public Member Functions

Eigen::Matrix3f axes () const
 
Eigen::Vector3f center () const
 
std::array< Eigen::Vector3f, 8 > corners () const
 The eight corners in global coordinates.
 

Public Attributes

Eigen::Matrix4f centerPose = Eigen::Matrix4f::Identity()
 Rotation = box axes, translation = box centre.
 
Eigen::Vector3f halfExtents = Eigen::Vector3f::Zero()
 Half the extent along each local box axis.
 

Detailed Description

An oriented bounding box in the global frame.

Definition at line 56 of file VisibilityCheck.h.

Member Function Documentation

◆ axes()

Eigen::Matrix3f axes ( ) const

Definition at line 59 of file VisibilityCheck.cpp.

+ Here is the caller graph for this function:

◆ center()

Eigen::Vector3f center ( ) const

Definition at line 53 of file VisibilityCheck.cpp.

+ Here is the caller graph for this function:

◆ corners()

std::array< Eigen::Vector3f, 8 > corners ( ) const

The eight corners in global coordinates.

Definition at line 65 of file VisibilityCheck.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ centerPose

Eigen::Matrix4f centerPose = Eigen::Matrix4f::Identity()

Rotation = box axes, translation = box centre.

Definition at line 59 of file VisibilityCheck.h.

◆ halfExtents

Eigen::Vector3f halfExtents = Eigen::Vector3f::Zero()

Half the extent along each local box axis.

Definition at line 61 of file VisibilityCheck.h.


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