ReTo  0.3.7
reto::Pickable Class Referenceabstract
+ Collaboration diagram for reto::Pickable:

Public Member Functions

virtual unsigned int sendId (unsigned int currentOffset)
 Method to update currentOffset. More...
 
virtual void render (reto::ShaderProgram *)=0
 Method to render a Pickable object.
 
virtual std::vector< float > getModel (void) const =0
 
virtual std::vector< float > getPositions (void) const =0
 
virtual bool getSelected (void) const =0
 
virtual void setSelected (const bool &selected)=0
 
int getId (void) const
 
void setId (const int &id)
 

Protected Member Functions

void setNumIDs (int numIds)
 

Protected Attributes

int _numIds = 1
 

Detailed Description

Definition at line 31 of file Pickable.h.

Member Function Documentation

virtual unsigned int reto::Pickable::sendId ( unsigned int  currentOffset)
virtual

Method to update currentOffset.

Parameters
currentOffsetCurrent offset
Returns
Updated current offset

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