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

tango_gl::BoundingBox::BoundingBox ( )
inline

Definition at line 28 of file bounding_box.h.

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

Definition at line 4 of file bounding_box.cpp.

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

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

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

Definition at line 39 of file bounding_box.h.

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 Dec 14 2020 03:37:09