summaryrefslogtreecommitdiff
path: root/06_performance/src/oni.h
diff options
context:
space:
mode:
Diffstat (limited to '06_performance/src/oni.h')
-rw-r--r--06_performance/src/oni.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/06_performance/src/oni.h b/06_performance/src/oni.h
index c858995..73edeee 100644
--- a/06_performance/src/oni.h
+++ b/06_performance/src/oni.h
@@ -42,6 +42,7 @@ class syncOniPlayer{
gamma=3.0f;
LUT=NULL;
makeLUT();
+ playerActive=false;
}
~syncOniPlayer(){
stop();
@@ -60,6 +61,7 @@ class syncOniPlayer{
void update();
void pause();
int getCurrentFrame();
+ float getPosition();
int getNumParticles();
void drawWindows();
void drawCloud(int step);
@@ -76,6 +78,8 @@ class syncOniPlayer{
set<int> pointPool;
float gamma;
uint8_t *LUT;
+ float startTime;
+ bool playerActive;
};
//========================================
class oniManager{
@@ -84,6 +88,7 @@ class oniManager{
void startPlayer(int num);
int getNumClips();
int getNumParticles();
+ syncOniPlayer* getCurrentPlayer();
void update();
void drawWindows();
void drawCloud(int step);