picking_data.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _PICKING_DATA_HPP_
00021 #define _PICKING_DATA_HPP_
00022
00023 #include <v3.hpp>
00024 #include <map>
00025
00026 namespace cpe
00027 {
00029 class picking_data
00030 {
00031 public:
00032
00034 picking_data();
00035
00037 const bool& get_is_picked() const;
00039 void set_is_picked(const bool& value);
00040
00042 const std::map<unsigned int,std::pair<unsigned int,unsigned int> >& get_picked_index() const;
00044 void set_picked_index(const std::map<unsigned int,std::pair<unsigned int,unsigned int> >& value);
00045
00047 const bool& get_is_up_to_date() const;
00049 void set_is_up_to_date(const bool& value);
00050
00051
00052
00053 private:
00054
00056 bool is_picked;
00058 bool is_up_to_date;
00062 std::map<unsigned int,std::pair<unsigned int,unsigned int> > picked_index;
00063
00064 };
00065 }
00066
00067 #endif