TSPS  1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines
ofxTSPS::GuiManager Class Reference

#include <GuiManager.h>

List of all members.

Public Member Functions

 GuiManager ()
 ~GuiManager ()
void setup ()
void enableEvents ()
void disableEvents ()
void setupQuadGui (int cameraWidth, int cameraHeight)
void drawQuadGui ()
void drawQuadGui (int x, int y, int width, int height)
void update (ofEventArgs &e)
void update ()
void draw ()
void setHaarEnabled (bool bHaar)
void setOpticalFlowEnabled (bool bOpticalFlow)
void mousePressed (ofMouseEventArgs &e)
void mouseDragged (ofMouseEventArgs &e)
void mouseReleased (ofMouseEventArgs &e)
void keyPressed (ofKeyEventArgs &e)
void keyReleased (ofKeyEventArgs &e)
void addSlider (string name, int *value, int min, int max)
void addSlider (string name, float *value, float min, float max)
void addToggle (string name, bool *value)
guiTypeButton * addButton (string name, ofRectangle dimensions, ofColor color=NULL, ofColor bgcolor=NULL)
guiTypeButton * getButton (string name)
int getSelectedPanel ()
void setSelectedPanel (int index)
void setSelectedPanel (string name)
void enableElement (string name)
void disableElement (string name)
bool getValueB (string name)
int getValueI (string name)
float getValueF (string name)
string getValueS (string name)
void setValueB (string name, bool val)
void setValueI (string name, int val)
void setValueF (string name, float val)
void setValueS (string name, string val)
void loadSettings (string xml)
void changeGuiCameraView (bool bCameraView)
void minimize (string &button)
void maximize (string &button)
SettingsgetSettings ()

Public Attributes

bool enableGui

Protected Member Functions

void saveEventCatcher (string &buttonName)
void reloadEventCatcher (string &buttonName)
void loadEventCatcher (string &buttonName)
void saveAsEventCatcher (string &buttonName)

Protected Attributes

Settings settings
ofxLabGui panel
vector< GUICustomParamparams
map< std::string, guiTypeButton * > customButtons
bool quadGuiSetup
ofxCvCoordWarpingGui quadGui
int cameraWidth
int cameraHeight
int currentPanel
int lastCurrentPanel
bool bLastBgState
guiTypeButton * minimizeButton
guiTypeButton * maximizeButton
bool bEventsEnabled
simpleFileLister * videoFiles
simpleFileLister * haarFiles

Detailed Description

Definition at line 52 of file GuiManager.h.


Constructor & Destructor Documentation

Definition at line 14 of file GuiManager.cpp.

Definition at line 22 of file GuiManager.cpp.


Member Function Documentation

guiTypeButton * ofxTSPS::GuiManager::addButton ( string  name,
ofRectangle  dimensions,
ofColor  color = NULL,
ofColor  bgcolor = NULL 
)

Definition at line 860 of file GuiManager.cpp.

void ofxTSPS::GuiManager::addSlider ( string  name,
int *  value,
int  min,
int  max 
)

Definition at line 380 of file GuiManager.cpp.

void ofxTSPS::GuiManager::addSlider ( string  name,
float *  value,
float  min,
float  max 
)

Definition at line 395 of file GuiManager.cpp.

void ofxTSPS::GuiManager::addToggle ( string  name,
bool *  value 
)

Definition at line 409 of file GuiManager.cpp.

void ofxTSPS::GuiManager::changeGuiCameraView ( bool  bCameraView)

Definition at line 700 of file GuiManager.cpp.

void ofxTSPS::GuiManager::disableElement ( string  name)

Definition at line 761 of file GuiManager.cpp.

Definition at line 37 of file GuiManager.cpp.

Definition at line 841 of file GuiManager.cpp.

Definition at line 686 of file GuiManager.cpp.

void ofxTSPS::GuiManager::drawQuadGui ( int  x,
int  y,
int  width,
int  height 
)

Definition at line 690 of file GuiManager.cpp.

void ofxTSPS::GuiManager::enableElement ( string  name)

Definition at line 753 of file GuiManager.cpp.

Definition at line 26 of file GuiManager.cpp.

guiTypeButton * ofxTSPS::GuiManager::getButton ( string  name)

Definition at line 888 of file GuiManager.cpp.

Definition at line 449 of file GuiManager.cpp.

Definition at line 922 of file GuiManager.cpp.

bool ofxTSPS::GuiManager::getValueB ( string  name)

Definition at line 709 of file GuiManager.cpp.

float ofxTSPS::GuiManager::getValueF ( string  name)

Definition at line 719 of file GuiManager.cpp.

int ofxTSPS::GuiManager::getValueI ( string  name)

Definition at line 714 of file GuiManager.cpp.

string ofxTSPS::GuiManager::getValueS ( string  name)

Definition at line 724 of file GuiManager.cpp.

void ofxTSPS::GuiManager::keyPressed ( ofKeyEventArgs &  e)

Definition at line 831 of file GuiManager.cpp.

void ofxTSPS::GuiManager::keyReleased ( ofKeyEventArgs &  e)

Definition at line 836 of file GuiManager.cpp.

void ofxTSPS::GuiManager::loadEventCatcher ( string &  buttonName) [protected]

Definition at line 781 of file GuiManager.cpp.

void ofxTSPS::GuiManager::loadSettings ( string  xml)

Definition at line 825 of file GuiManager.cpp.

void ofxTSPS::GuiManager::maximize ( string &  button)

Definition at line 909 of file GuiManager.cpp.

void ofxTSPS::GuiManager::minimize ( string &  button)

Definition at line 901 of file GuiManager.cpp.

void ofxTSPS::GuiManager::mouseDragged ( ofMouseEventArgs &  e)

Definition at line 803 of file GuiManager.cpp.

void ofxTSPS::GuiManager::mousePressed ( ofMouseEventArgs &  e)

Definition at line 796 of file GuiManager.cpp.

void ofxTSPS::GuiManager::mouseReleased ( ofMouseEventArgs &  e)

Definition at line 808 of file GuiManager.cpp.

void ofxTSPS::GuiManager::reloadEventCatcher ( string &  buttonName) [protected]

Definition at line 777 of file GuiManager.cpp.

void ofxTSPS::GuiManager::saveAsEventCatcher ( string &  buttonName) [protected]

Definition at line 786 of file GuiManager.cpp.

void ofxTSPS::GuiManager::saveEventCatcher ( string &  buttonName) [protected]

Definition at line 772 of file GuiManager.cpp.

Definition at line 428 of file GuiManager.cpp.

void ofxTSPS::GuiManager::setOpticalFlowEnabled ( bool  bOpticalFlow)

Definition at line 436 of file GuiManager.cpp.

Definition at line 453 of file GuiManager.cpp.

Definition at line 457 of file GuiManager.cpp.

Definition at line 48 of file GuiManager.cpp.

void ofxTSPS::GuiManager::setupQuadGui ( int  cameraWidth,
int  cameraHeight 
)

Definition at line 657 of file GuiManager.cpp.

void ofxTSPS::GuiManager::setValueB ( string  name,
bool  val 
)

Definition at line 729 of file GuiManager.cpp.

void ofxTSPS::GuiManager::setValueF ( string  name,
float  val 
)

Definition at line 739 of file GuiManager.cpp.

void ofxTSPS::GuiManager::setValueI ( string  name,
int  val 
)

Definition at line 734 of file GuiManager.cpp.

void ofxTSPS::GuiManager::setValueS ( string  name,
string  val 
)

Definition at line 744 of file GuiManager.cpp.

void ofxTSPS::GuiManager::update ( ofEventArgs &  e)

Definition at line 461 of file GuiManager.cpp.

Definition at line 465 of file GuiManager.cpp.


Member Data Documentation

Definition at line 153 of file GuiManager.h.

Definition at line 141 of file GuiManager.h.

Definition at line 137 of file GuiManager.h.

Definition at line 137 of file GuiManager.h.

Definition at line 138 of file GuiManager.h.

map<std::string, guiTypeButton*> ofxTSPS::GuiManager::customButtons [protected]

Definition at line 132 of file GuiManager.h.

Definition at line 62 of file GuiManager.h.

simpleFileLister* ofxTSPS::GuiManager::haarFiles [protected]

Definition at line 156 of file GuiManager.h.

Definition at line 138 of file GuiManager.h.

guiTypeButton* ofxTSPS::GuiManager::maximizeButton [protected]

Definition at line 150 of file GuiManager.h.

guiTypeButton* ofxTSPS::GuiManager::minimizeButton [protected]

Definition at line 149 of file GuiManager.h.

ofxLabGui ofxTSPS::GuiManager::panel [protected]

Definition at line 130 of file GuiManager.h.

Definition at line 131 of file GuiManager.h.

ofxCvCoordWarpingGui ofxTSPS::GuiManager::quadGui [protected]

Definition at line 136 of file GuiManager.h.

Definition at line 135 of file GuiManager.h.

Definition at line 127 of file GuiManager.h.

simpleFileLister* ofxTSPS::GuiManager::videoFiles [protected]

Definition at line 155 of file GuiManager.h.


The documentation for this class was generated from the following files: