21 #ifndef PICKING_DATA_HPP
22 #define PICKING_DATA_HPP
24 #include "../lib3d/vec3.hpp"
43 const std::map<unsigned int,std::pair<unsigned int,unsigned int> >&
get_picked_index()
const;
45 void set_picked_index(
const std::map<
unsigned int,std::pair<unsigned int,unsigned int> >& value);
63 std::map<unsigned int,std::pair<unsigned int,unsigned int> >
picked_index;
void set_is_picked(bool value)
set the is_picked value
Definition: picking_data.cpp:28
const std::map< unsigned int, std::pair< unsigned int, unsigned int > > & get_picked_index() const
get the picked indices
Definition: picking_data.cpp:30
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_inde...
Definition: picking_data.hpp:63
void set_picked_index(const std::map< unsigned int, std::pair< unsigned int, unsigned int > > &value)
set the picked indices
Definition: picking_data.cpp:31
Helper class to store picking parameters.
Definition: picking_data.hpp:30
picking_data()
Defaut constructor.
Definition: picking_data.cpp:23
void set_is_up_to_date(bool value)
set the is_up_to_date value
Definition: picking_data.cpp:34
bool is_up_to_date
Internal storage to know if the surface is up to date and at high resolution.
Definition: picking_data.hpp:59
bool get_is_picked() const
get the is_picked value
Definition: picking_data.cpp:27
bool get_is_up_to_date() const
get the is_up_to_date value
Definition: picking_data.cpp:33
bool is_picked
Internal storage to know if the picking mode is active.
Definition: picking_data.hpp:57