vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
vrecko
Vrecko - the Virtual Reality Engine
Dynamic Art module
L-system plant modeler - module for Vrecko
Head Up Display module
Space Partitioning - module for Vrecko
Todo List
Deprecated List
Namespaces
Classes
Files
File List
include
base
helpers
vrecko
vreckoAP
ArtificialWorld
behindO
Boids
CableEditor
CameraMovement
CameraPath
CarSim
ConnectEditor
ConstrainedMovement
DynamicArt
EditorController
EditorQAbilities
FFDEditor
Filter
games
Garden
GUI
HeadTracking
HelloWorld
HUD
InputConnector
LightsEditor
Menu
Nature
navigation
ObjectUtils
ODE
RoomEdit
ShootingSimulation
SpacePartitioning
AP_SpacePartitioning.h
GeometryLoaderBase.h
NoPartitioning_Scene.h
PointShell_Object_Data.h
PointShell_Object_Data_Geometry.h
PointShell_Object_Data_Geometry_Analyser.h
PointShell_Object_Data_LOD_Builder.h
PointShellVSVoxel_Object.h
SNCH_Object.h
SNCH_Object_Data.h
SP_Object_Data_Base.h
SphereBVH_Object.h
SphereBVH_Object_Data.h
SphereBVH_Scene.h
triangleCube.h
VoxelGrid_Object_Data.h
TextOutput
vreckoDP
vreckoUtils
src
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
PointShellVSVoxel_Object.h
Go to the documentation of this file.
1
#ifndef POINTSHELL_VS_VOXEL_OBJECT_H
2
#define POINTSHELL_VS_VOXEL_OBJECT_H
3
4
#include <
vrecko/SP_ObjectInterface.h
>
5
#include <
vrecko/Ability.h
>
6
7
#include <
vreckoAP/HUD/HUDDisplay.h
>
8
9
using namespace
vrecko;
10
11
namespace
APSpacePartitioning {
12
13
14
#define SP_OBJECT_INTERFACE_ID__PS_VG 30
15
16
17
class
PointShellVSVoxel_Object
:
public
SP_ObjectInterface
,
public
Ability
{
18
public
:
19
PointShellVSVoxel_Object
();
20
~
PointShellVSVoxel_Object
();
21
22
virtual
void
preInitialize(
void
);
23
24
// true - testing mode, false - not testing mode
25
bool
bTestComputation
;
26
//__int64 freq;
27
bool
setTestComputation
(
bool
state){
28
bTestComputation = state;
29
logger
.
debugLog
(
"PS vs Voxel test mode set to: %s"
,bTestComputation?
"true"
:
"false"
);
30
return
bTestComputation;
31
};
32
bool
getCollisions(
CollisionParams
* params,
COLLISION_POINTS_VECTOR
** colPoints,
unsigned
long
obj1ID,
unsigned
long
obj2ID,
float
time);
33
34
protected
:
35
bool
getObjectTransformation(
EnvironmentObject
*pObj,
CollisionParams
*params, osg::Matrix *outMat);
36
37
LARGE_INTEGER collisiontime1, collisiontime2, looptime1,
looptime2
, fr;
38
APHUD::HUDDisplay
*
hud
;
39
int
objectID
;
40
bool
hudInitialized
;
41
};
42
43
}
44
45
46
47
48
#endif
49
include
vreckoAP
SpacePartitioning
PointShellVSVoxel_Object.h
Generated on Tue Feb 19 2013 10:23:45 for vrecko by
1.8.3.1