Helper class to store picking parameters. More...

Public Member Functions | |
| picking_data () | |
| Defaut constructor. | |
| const bool & | get_is_picked () const |
| get the is_picked value | |
| void | set_is_picked (const bool &value) |
| set the is_picked value | |
| const std::map< unsigned int, std::pair< unsigned int, unsigned int > > & | get_picked_index () const |
| get the picked indices | |
| void | set_picked_index (const std::map< unsigned int, std::pair< unsigned int, unsigned int > > &value) |
| set the picked indices | |
| const bool & | get_is_up_to_date () const |
| get the is_up_to_date value | |
| void | set_is_up_to_date (const bool &value) |
| set the is_up_to_date value | |
Private Attributes | |
| bool | is_picked |
| Internal storage to know if the picking mode is active. | |
| bool | is_up_to_date |
| Internal storage to know if the surface is up to date and at high resolution. | |
| std::map< unsigned int, std::pair< unsigned int, unsigned int > > | picked_index |
| Internal storage of the picked indices (unique ID,<u_index,v_index>) The unique ID is given by u_index+N_u*v_index;. | |
Helper class to store picking parameters.
| cpe::picking_data::picking_data | ( | ) |
Defaut constructor.
| const bool & cpe::picking_data::get_is_picked | ( | ) | const |
| const bool & cpe::picking_data::get_is_up_to_date | ( | ) | const |
get the is_up_to_date value
References is_up_to_date.
| const std::map< unsigned int, std::pair< unsigned int, unsigned int > > & cpe::picking_data::get_picked_index | ( | ) | const |
| void cpe::picking_data::set_is_picked | ( | const bool & | value | ) |
set the is_picked value
References is_picked.
| void cpe::picking_data::set_is_up_to_date | ( | const bool & | value | ) |
set the is_up_to_date value
References is_up_to_date.
| void cpe::picking_data::set_picked_index | ( | const std::map< unsigned int, std::pair< unsigned int, unsigned int > > & | value | ) |
set the picked indices
References picked_index.
bool cpe::picking_data::is_picked [private] |
Internal storage to know if the picking mode is active.
Referenced by get_is_picked(), and set_is_picked().
bool cpe::picking_data::is_up_to_date [private] |
Internal storage to know if the surface is up to date and at high resolution.
Referenced by get_is_up_to_date(), and set_is_up_to_date().
std::map<unsigned int,std::pair<unsigned int,unsigned int> > cpe::picking_data::picked_index [private] |
Internal storage of the picked indices (unique ID,<u_index,v_index>) The unique ID is given by u_index+N_u*v_index;.
Referenced by get_picked_index(), and set_picked_index().
1.6.3