Allolib  1.0
C++ Components For Interactive Multimedia
al::BoundingBox Struct Reference

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/ui/al_BoundingBox.hpp>

Inheritance diagram for al::BoundingBox:
al::BoundingBoxData

Public Member Functions

 BoundingBox (const Vec3f &min_, const Vec3f &max_)
 
void set (const Mesh &mesh)
 
void set (const Vec3f &min_, const Vec3f &max_)
 
void setCenterDim (const Vec3f &cen_, const Vec3f &dim_)
 
MeshgetMesh ()
 
void draw (Graphics &g, bool drawTics=false)
 
MeshgetTics ()
 
bool contains (const Vec3d &p)
 
void reset ()
 
void resetInv ()
 reset box to float value inverse extremes More...
 
void includePoint (al::Vec3f &pos)
 

Public Attributes

Mesh mesh
 
Mesh tics
 
Mesh gridMesh [2]
 
float glUnitLength
 
float ticsPerUnit
 
Vec3f min
 
Vec3f max
 
Vec3f cen
 
Vec3f dim
 

Detailed Description

BoundingBox

Definition at line 65 of file al_BoundingBox.hpp.

Member Function Documentation

◆ resetInv()

void al::BoundingBoxData::resetInv ( )
inlineinherited

reset box to float value inverse extremes

This allows building the bounding box incremementally using includePoint()

Definition at line 36 of file al_BoundingBox.hpp.


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