cpe::picking_data Class Reference

Helper class to store picking parameters. More...

Collaboration diagram for cpe::picking_data:
Collaboration graph
[legend]

List of all members.

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;.

Detailed Description

Helper class to store picking parameters.


Constructor & Destructor Documentation

cpe::picking_data::picking_data (  ) 

Defaut constructor.


Member Function Documentation

const bool & cpe::picking_data::get_is_picked (  )  const

get the is_picked value

References is_picked.

Referenced by scene::draw_scene().

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

get the picked indices

References picked_index.

Referenced by scene::draw_scene().

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.


Member Data Documentation

Internal storage to know if the picking mode is active.

Referenced by get_is_picked(), and set_is_picked().

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().


The documentation for this class was generated from the following files:
Generated on Mon Feb 27 17:40:16 2012 by  doxygen 1.6.3