vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
();
13
~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
;
26
EnvironmentObject
*
cutting_object
;
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
33
static
int
next_free_clipping_plane
;
34
};
35
36
}
37
38
//$Id: CuttingPlane.h 1 2010-10-27 12:01:29Z xbezdeka $
include
vreckoAP
behindO
CuttingPlane.h
Generated on Tue Feb 19 2013 10:23:42 for vrecko by
1.8.3.1