#include <iso_flock_visual_glpanel.h>
Inherited by ViewPanel.
Inheritance diagram for iso::flock::GLPanel:


| Public Member Functions | |
| GLPanel (QWidget *pParent, const char *pName) | |
| ~GLPanel () | |
| const QVector< VisualSwarm * > & | visualSwarms () | 
| const QVector< VisualNeighborSpace * > & | visualNeighbors () | 
| const QVector< VisualGridSpace * > & | visualGrids () | 
| const math::Vector3< real > & | displayPosition () | 
| const math::Quaternion< real > & | displayOrientation () | 
| real | displayZoom () | 
| const math::Vector4< float > & | displayColor () | 
| VisualSwarm * | visualSwarm (const base::String &pSwarmName) | 
| void | showSwarm (const base::String &pSwarmName, const base::String &pPosParName, const base::String &pVelParName) | 
| void | showSwarm (const base::String &pSwarmName, const base::String &pPosParName, const base::String &pVelParName, const math::Vector4< real > &pAgentColor, real pAgentScale, const math::Vector4< real > &pTrailColor, unsigned int pTrailLength, real pTrailDecay) | 
| void | showSwarm (const base::String &pSwarmName, const base::String &pPosParName, const base::String &pVelParName, const math::Vector4< real > &pAgentColor, real pAgentScale, const math::Vector4< real > &pTrailColor, unsigned int pTrailLength, real pTrailWidth, real pTrailDecay) | 
| void | hideSwarm (const base::String &pSwarmName) | 
| void | hideSwarms () | 
| void | setAgentColor (const base::String &pSwarmName, const math::Vector4< real > &pAgentColor) | 
| void | setAgentScale (const base::String &pSwarmName, real pAgentScale) | 
| void | setAgentLineWidth (const base::String &pSwarmName, real pAgentLineWidth) | 
| void | setTrailColor (const base::String &pSwarmName, const math::Vector4< real > &pTrailColor) | 
| void | setTrailLength (const base::String &pSwarmName, unsigned int pTrailLength) | 
| void | setTrailWidth (const base::String &pSwarmName, real pTrailWidth) | 
| void | setTrailDecay (const base::String &pSwarmName, real pTrailDecay) | 
| void | showSpace (const base::String &pSpaceName) | 
| void | showSpace (const base::String &pSpaceName, const math::Vector4< float > &pSpaceColor, real pValueScale=1.0) | 
| void | hideSpace (const base::String &pSpaceName) | 
| void | hideSpaces () | 
| void | setSpaceColor (const base::String &pSpaceName, const math::Vector4< float > &pSpaceColor) | 
| void | setSpaceValueScale (const base::String &pSpaceName, real pValueScale) | 
| void | fixDisplayOrientation () | 
| void | setDisplayPosition (const math::Vector3< real > &pPosVec) | 
| void | changeDisplayPosition (const math::Vector3< real > &pPosVec) | 
| void | setDisplayOrientation (const math::Quaternion< double > &pRotQuat) | 
| void | changeDisplayOrientation (const math::Quaternion< real > &pRotQuat) | 
| void | resetDisplayPosition () | 
| void | resetDisplayOrientation () | 
| void | setZoom (float pZoom) | 
| void | changeZoom (float pAmount) | 
| void | resetZoom () | 
| void | setColor (const math::Vector4< float > &pColor) | 
| void | toggleFullScreen () | 
| void | setWindowSettings (const GLWindowSettings &pWindowSettings) | 
| void | update () | 
| virtual void | notify () | 
| void | exportImage (const base::String &pFileName, const math::Vector2< unsigned int > &pImageSize) | 
| Protected Member Functions | |
| void | initializeGL () | 
| virtual void | paintGL () | 
| virtual void | resizeGL (int w, int h) | 
| void | timerEvent (QTimerEvent *) | 
| virtual void | createAgentShape () | 
| void | createAgentShape2 () | 
| void | removeVisSwarms () | 
| void | resizeVisSwarms () | 
| void | updateVisSwarms () | 
| void | removeVisSpaces () | 
| void | resizeVisSpaces () | 
| void | updateVisSpaces () | 
| void | removeVisNeighborSpaces () | 
| void | removeVisGridSpaces () | 
| void | resizeVisNeighborSpaces () | 
| void | updateVisNeighborSpaces () | 
| virtual void | displayAgents () | 
| virtual void | displayAgentShapes () | 
| virtual void | displayAgentTrails () | 
| virtual void | displaySpaces () | 
| virtual void | displaySpaceNeighbors () | 
| virtual void | displaySpaceGrids () | 
| Protected Attributes | |
| math::Vector4< float > | mBackgroundColor | 
| math::Vector3< real > | mViewSize | 
| math::Vector3< real > | mViewPos | 
| math::Vector3< real > | mViewResetPos | 
| real | mZoomVal | 
| math::Quaternion< real > | mRotQuat | 
| math::Quaternion< real > | mRotQuat2 | 
| int | mTimerId | 
| QVector< VisualSwarm * > | mVisualSwarms | 
| QVector< VisualNeighborSpace * > | mVisualNeighborSpaces | 
| QVector< VisualGridSpace * > | mVisualGridSpaces | 
| QMutex | mSwarmVisLock | 
| bool | mSaveImage | 
| bool | mToggleFullScreen | 
| GLWindowSettings * | mWindowSettings | 
| base::String | mSwarmName | 
| base::String | mPosParName | 
| base::String | mVelParName | 
| AgentShape * | mAgentShape | 
| AgentShape * | mAgentShape2 | 
| GLPanel::GLPanel | ( | QWidget * | pParent, | |
| const char * | pName | |||
| ) | 
| GLPanel::~GLPanel | ( | ) | 
| const QVector< VisualSwarm * > & GLPanel::visualSwarms | ( | ) | 
| const QVector< VisualNeighborSpace * > & GLPanel::visualNeighbors | ( | ) | 
| const QVector< VisualGridSpace * > & GLPanel::visualGrids | ( | ) | 
| const math::Vector3< iso::flock::real > & GLPanel::displayPosition | ( | ) | 
| const math::Quaternion< iso::flock::real > & GLPanel::displayOrientation | ( | ) | 
| flock::real GLPanel::displayZoom | ( | ) | 
| const math::Vector4< float > & GLPanel::displayColor | ( | ) | 
| VisualSwarm * GLPanel::visualSwarm | ( | const base::String & | pSwarmName | ) | 
| void GLPanel::showSwarm | ( | const base::String & | pSwarmName, | |
| const base::String & | pPosParName, | |||
| const base::String & | pVelParName | |||
| ) | 
| void GLPanel::showSwarm | ( | const base::String & | pSwarmName, | |
| const base::String & | pPosParName, | |||
| const base::String & | pVelParName, | |||
| const math::Vector4< real > & | pAgentColor, | |||
| real | pAgentScale, | |||
| const math::Vector4< real > & | pTrailColor, | |||
| unsigned int | pTrailLength, | |||
| real | pTrailDecay | |||
| ) | 
| void GLPanel::showSwarm | ( | const base::String & | pSwarmName, | |
| const base::String & | pPosParName, | |||
| const base::String & | pVelParName, | |||
| const math::Vector4< real > & | pAgentColor, | |||
| real | pAgentScale, | |||
| const math::Vector4< real > & | pTrailColor, | |||
| unsigned int | pTrailLength, | |||
| real | pTrailWidth, | |||
| real | pTrailDecay | |||
| ) | 
| void GLPanel::hideSwarm | ( | const base::String & | pSwarmName | ) | 
| void GLPanel::hideSwarms | ( | ) | 
| void GLPanel::setAgentColor | ( | const base::String & | pSwarmName, | |
| const math::Vector4< real > & | pAgentColor | |||
| ) | 
| void GLPanel::setAgentScale | ( | const base::String & | pSwarmName, | |
| real | pAgentScale | |||
| ) | 
| void GLPanel::setAgentLineWidth | ( | const base::String & | pSwarmName, | |
| real | pAgentLineWidth | |||
| ) | 
| void GLPanel::setTrailColor | ( | const base::String & | pSwarmName, | |
| const math::Vector4< real > & | pTrailColor | |||
| ) | 
| void GLPanel::setTrailLength | ( | const base::String & | pSwarmName, | |
| unsigned int | pTrailLength | |||
| ) | 
| void GLPanel::setTrailWidth | ( | const base::String & | pSwarmName, | |
| real | pTrailWidth | |||
| ) | 
| void GLPanel::setTrailDecay | ( | const base::String & | pSwarmName, | |
| real | pTrailDecay | |||
| ) | 
| void GLPanel::showSpace | ( | const base::String & | pSpaceName | ) | 
| void GLPanel::showSpace | ( | const base::String & | pSpaceName, | |
| const math::Vector4< float > & | pSpaceColor, | |||
| real | pValueScale = 1.0 | |||
| ) | 
| void GLPanel::hideSpace | ( | const base::String & | pSpaceName | ) | 
| void GLPanel::hideSpaces | ( | ) | 
| void GLPanel::setSpaceColor | ( | const base::String & | pSpaceName, | |
| const math::Vector4< float > & | pSpaceColor | |||
| ) | 
| void GLPanel::setSpaceValueScale | ( | const base::String & | pSpaceName, | |
| real | pValueScale | |||
| ) | 
| void GLPanel::fixDisplayOrientation | ( | ) | 
| void GLPanel::setDisplayPosition | ( | const math::Vector3< real > & | pPosVec | ) | 
| void GLPanel::changeDisplayPosition | ( | const math::Vector3< real > & | pPosVec | ) | 
| void GLPanel::setDisplayOrientation | ( | const math::Quaternion< double > & | pRotQuat | ) | 
| void GLPanel::changeDisplayOrientation | ( | const math::Quaternion< real > & | pRotQuat | ) | 
| void GLPanel::resetDisplayPosition | ( | ) | 
| void GLPanel::resetDisplayOrientation | ( | ) | 
| void GLPanel::setZoom | ( | float | pZoom | ) | 
| void GLPanel::changeZoom | ( | float | pAmount | ) | 
| void GLPanel::resetZoom | ( | ) | 
| void GLPanel::setColor | ( | const math::Vector4< float > & | pColor | ) | 
| void GLPanel::toggleFullScreen | ( | ) | 
| void GLPanel::setWindowSettings | ( | const GLWindowSettings & | pWindowSettings | ) | 
| void GLPanel::update | ( | ) | 
| void GLPanel::notify | ( | ) |  [virtual] | 
| void GLPanel::exportImage | ( | const base::String & | pFileName, | |
| const math::Vector2< unsigned int > & | pImageSize | |||
| ) | 
| void GLPanel::initializeGL | ( | ) |  [protected] | 
| void GLPanel::paintGL | ( | ) |  [protected, virtual] | 
| void GLPanel::resizeGL | ( | int | w, | |
| int | h | |||
| ) |  [protected, virtual] | 
| void GLPanel::timerEvent | ( | QTimerEvent * | ) |  [protected] | 
| void GLPanel::createAgentShape | ( | ) |  [protected, virtual] | 
| void GLPanel::createAgentShape2 | ( | ) |  [protected] | 
| void GLPanel::removeVisSwarms | ( | ) |  [protected] | 
| void GLPanel::resizeVisSwarms | ( | ) |  [protected] | 
| void GLPanel::updateVisSwarms | ( | ) |  [protected] | 
| void GLPanel::removeVisSpaces | ( | ) |  [protected] | 
| void GLPanel::resizeVisSpaces | ( | ) |  [protected] | 
| void GLPanel::updateVisSpaces | ( | ) |  [protected] | 
| void GLPanel::removeVisNeighborSpaces | ( | ) |  [protected] | 
| void GLPanel::removeVisGridSpaces | ( | ) |  [protected] | 
| void GLPanel::resizeVisNeighborSpaces | ( | ) |  [protected] | 
| void GLPanel::updateVisNeighborSpaces | ( | ) |  [protected] | 
| void GLPanel::displayAgents | ( | ) |  [protected, virtual] | 
| void GLPanel::displayAgentShapes | ( | ) |  [protected, virtual] | 
| void GLPanel::displayAgentTrails | ( | ) |  [protected, virtual] | 
| void GLPanel::displaySpaces | ( | ) |  [protected, virtual] | 
| void GLPanel::displaySpaceNeighbors | ( | ) |  [protected, virtual] | 
| void GLPanel::displaySpaceGrids | ( | ) |  [protected, virtual] | 
Reimplemented in ViewPanel.
| math::Vector4<float> iso::flock::GLPanel::mBackgroundColor  [protected] | 
| math::Vector3<real> iso::flock::GLPanel::mViewSize  [protected] | 
| math::Vector3<real> iso::flock::GLPanel::mViewPos  [protected] | 
| math::Vector3<real> iso::flock::GLPanel::mViewResetPos  [protected] | 
| real iso::flock::GLPanel::mZoomVal  [protected] | 
| math::Quaternion<real> iso::flock::GLPanel::mRotQuat  [protected] | 
| math::Quaternion<real> iso::flock::GLPanel::mRotQuat2  [protected] | 
| int iso::flock::GLPanel::mTimerId  [protected] | 
| QVector< VisualSwarm* > iso::flock::GLPanel::mVisualSwarms  [protected] | 
| QVector< VisualNeighborSpace* > iso::flock::GLPanel::mVisualNeighborSpaces  [protected] | 
| QVector< VisualGridSpace* > iso::flock::GLPanel::mVisualGridSpaces  [protected] | 
| QMutex iso::flock::GLPanel::mSwarmVisLock  [protected] | 
| bool iso::flock::GLPanel::mSaveImage  [protected] | 
| bool iso::flock::GLPanel::mToggleFullScreen  [protected] | 
| GLWindowSettings* iso::flock::GLPanel::mWindowSettings  [protected] | 
| base::String iso::flock::GLPanel::mSwarmName  [protected] | 
| base::String iso::flock::GLPanel::mPosParName  [protected] | 
| base::String iso::flock::GLPanel::mVelParName  [protected] | 
| AgentShape* iso::flock::GLPanel::mAgentShape  [protected] | 
| AgentShape* iso::flock::GLPanel::mAgentShape2  [protected] | 
 1.5.1
 1.5.1