vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ChangeOfVisibility.h
Go to the documentation of this file.
1 #include <vrecko/Ability.h>
2 
3 #include <osg/MatrixTransform>
4 
5 using namespace vrecko;
6 
7 namespace behindO {
8 
9 class ChangeOfVisibility: public Ability {
10  public:
13 
14  // ------ BaseClass functions ------------------------
16  void processEvent(const std::string &input_name, void *value);
17  // ---------------------------------------------------
18 
19  void update(void);
20 
21  protected:
22  int control;
23  std::vector<EnvironmentObject *> wire_object_map;
24 
25  bool continuous_selection, wireframe;
26  float transparency;
27  osg::Vec3 selection_point[2], box_size;
28 
29  osg::MatrixTransform *pSelectionBox;
31 
32  void createBorder(void);
33 };
34 
35 }
36 
37 //$Id: ChangeOfVisibility.h 1 2010-10-27 12:01:29Z xbezdeka $