|
virtual void | init (void) |
| This method is invoked in the constuctor after creating the program. More...
|
|
virtual void | renderObjects (void) |
| This method is invoked to render objects. More...
|
|
Definition at line 42 of file PickingSystem.h.
Method to add a Pickable object.
- Parameters
-
std::set<unsigned int> reto::PickingSystem::area |
( |
Point |
minPoint, |
|
|
Point |
maxPoint |
|
) |
| |
Method to find front object in a specific area.
- Parameters
-
minPoint | minPoint (in OpenGL coordinates) |
maxPoint | maxPoint (in OpenGL coordinates) |
- Returns
- std::set<unsigned int> Indices that objects are visibles
int reto::PickingSystem::click |
( |
Point |
point | ) |
|
Method to find front object in a specific point.
- Parameters
-
point | Point (in OpenGL coordinates) |
- Returns
- int: Indice that is visible
virtual void reto::PickingSystem::init |
( |
void |
| ) |
|
|
protectedvirtual |
This method is invoked in the constuctor after creating the program.
Override thist just like you want it ( Default: Cache model, view, proj and id)
Method to remove a Pickable object.
- Parameters
-
virtual void reto::PickingSystem::renderObjects |
( |
void |
| ) |
|
|
protectedvirtual |
This method is invoked to render objects.
Override thist just like you want it (Default: Send id uniform)
The documentation for this class was generated from the following file: