Public Member Functions | Private Attributes | List of all members
tango_gl::BoundingBox Class Reference

#include <bounding_box.h>

Public Member Functions

 BoundingBox ()
 
 BoundingBox (const std::vector< float > &vertices)
 
 BoundingBox (const glm::vec3 &min, const glm::vec3 &max)
 
bool IsIntersecting (const Segment &segment, const glm::quat &rotation, const glm::mat4 &transformation)
 

Private Attributes

glm::vec3 bounding_max_
 
glm::vec3 bounding_min_
 

Detailed Description

Definition at line 26 of file bounding_box.h.

Constructor & Destructor Documentation

◆ BoundingBox() [1/3]

tango_gl::BoundingBox::BoundingBox ( )
inline

Definition at line 28 of file bounding_box.h.

◆ BoundingBox() [2/3]

tango_gl::BoundingBox::BoundingBox ( const std::vector< float > &  vertices)

Definition at line 4 of file bounding_box.cpp.

◆ BoundingBox() [3/3]

tango_gl::BoundingBox::BoundingBox ( const glm::vec3 min,
const glm::vec3 max 
)
inline

Definition at line 31 of file bounding_box.h.

Member Function Documentation

◆ IsIntersecting()

bool tango_gl::BoundingBox::IsIntersecting ( const Segment segment,
const glm::quat rotation,
const glm::mat4 transformation 
)

Definition at line 20 of file bounding_box.cpp.

Member Data Documentation

◆ bounding_max_

glm::vec3 tango_gl::BoundingBox::bounding_max_
private

Definition at line 39 of file bounding_box.h.

◆ bounding_min_

glm::vec3 tango_gl::BoundingBox::bounding_min_
private

Definition at line 38 of file bounding_box.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00