Allolib  1.0
C++ Components For Interactive Multimedia
al::PickableManager Class Reference

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

Public Member Functions

PickableManagerregisterPickable (Pickable &p)
 
PickableManageroperator<< (Pickable &p)
 
PickableManageroperator<< (Pickable *p)
 
std::vector< Pickable * > pickables ()
 
Hit intersect (Rayd r)
 
void event (PickEvent e)
 
void unhighlightAll ()
 
void onMouseMove (Graphics &g, const Mouse &m, int w, int h)
 
void onMouseDown (Graphics &g, const Mouse &m, int w, int h)
 
void onMouseDrag (Graphics &g, const Mouse &m, int w, int h)
 
void onMouseUp (Graphics &g, const Mouse &m, int w, int h)
 
void onKeyDown (const Keyboard &k)
 
void onKeyUp (const Keyboard &k)
 
Hit lastPoint ()
 
Hit lastPick ()
 

Protected Member Functions

Vec3d unproject (Graphics &g, Vec3d screenPos, bool view=true)
 
Rayd getPickRay (Graphics &g, int screenX, int screenY, int width, int height, bool view=true)
 

Protected Attributes

std::vector< Pickable * > mPickables
 
Hit mLastPoint
 
Hit mLastPick
 
Vec3d selectOffset
 
int x
 
int y
 
bool ctrlKey {false}
 

Detailed Description

PickableManager

Definition at line 17 of file al_PickableManager.hpp.


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