vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CuttingPlane.h
Go to the documentation of this file.
1 #include <vrecko/Ability.h>
2 
3 #include <osg/ClipNode>
4 #include <osg/StateSet>
5 
6 using namespace vrecko;
7 
8 namespace behindO {
9 
10 class CuttingPlane: public Ability {
11  public:
12  CuttingPlane();
14 
15  // ------ BaseClass functions ------------------------
17  void processEvent(const std::string &input_name, void *value);
18  // ---------------------------------------------------
19 
20  void update(void);
21 
22  protected:
23  int control;
24 
25  std::vector<EnvironmentObject *> wire_object_map;
27  osg::ClipNode *clipnode, *clipnodeSS;
28  std::map<osg::Node *, osg::StateSet *> stateset_map;
29  osg::MatrixTransform *cutting_plane_transformation;
30 
31  bool _first;
32 
34 };
35 
36 }
37 
38 //$Id: CuttingPlane.h 1 2010-10-27 12:01:29Z xbezdeka $