Helper class to store picking parameters. More...
Public Member Functions | |
picking_data () | |
Defaut constructor. More... | |
bool | get_is_picked () const |
get the is_picked value More... | |
void | set_is_picked (bool value) |
set the is_picked value More... | |
const std::map< unsigned int, std::pair< unsigned int, unsigned int > > & | get_picked_index () const |
get the picked indices More... | |
void | set_picked_index (const std::map< unsigned int, std::pair< unsigned int, unsigned int > > &value) |
set the picked indices More... | |
bool | get_is_up_to_date () const |
get the is_up_to_date value More... | |
void | set_is_up_to_date (bool value) |
set the is_up_to_date value More... | |
Private Attributes | |
bool | is_picked |
Internal storage to know if the picking mode is active. More... | |
bool | is_up_to_date |
Internal storage to know if the surface is up to date and at high resolution. More... | |
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;. More... | |
Helper class to store picking parameters.
cpe::picking_data::picking_data | ( | ) |
Defaut constructor.
bool cpe::picking_data::get_is_picked | ( | ) | const |
get the is_picked value
References is_picked.
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 |
get the picked indices
References picked_index.
void cpe::picking_data::set_is_picked | ( | bool | value | ) |
set the is_picked value
References is_picked.
void cpe::picking_data::set_is_up_to_date | ( | 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.
|
private |
Internal storage to know if the picking mode is active.
Referenced by get_is_picked(), and set_is_picked().
|
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().
|
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().