Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Member Functions | Protected Attributes

vlut::Applet Class Reference

The Applet class is an utilitly UIEventListener that features a ghost manipulator, trackball manipulator, an FPS counter and a simple rendering pipeline. More...

#include <Applet.hpp>

Inheritance diagram for vlut::Applet:
vl::UIEventListener vl::Object

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
 Applet ()
 ~Applet ()
void initialize ()
virtual void openglContextBoundEvent (vl::OpenGLContext *openglContext)
void keyReleaseEvent (unsigned short, vl::EKey key)
virtual void destroyEvent ()
void runEvent ()
void resizeEvent (int w, int h)
vl::SceneManagerActorTreesceneManager ()
const vl::SceneManagerActorTreesceneManager () const
vl::GhostCameraManipulatorghostCamera ()
vl::TrackballManipulatortrackball ()
double fps () const
virtual void run ()=0
virtual void initEvent ()=0
virtual void shutdown ()=0

Protected Member Functions

void bindManipulators (vl::Rendering *rendering)

Protected Attributes

vl::ref
< vl::GhostCameraManipulator
mFly
vl::ref< vl::TrackballManipulatormTrackball
vl::ref
< vl::SceneManagerActorTree
mSceneManagerActorTree
int mFrameCount
double mStartTime
double mFPS

Detailed Description

The Applet class is an utilitly UIEventListener that features a ghost manipulator, trackball manipulator, an FPS counter and a simple rendering pipeline.


Constructor & Destructor Documentation

Applet::Applet (  )
vlut::Applet::~Applet (  ) [inline]

Member Function Documentation

virtual const char* vlut::Applet::className (  ) [inline, virtual]

Returns the name of the class.

Reimplemented from vl::UIEventListener.

void Applet::initialize (  )
void Applet::openglContextBoundEvent ( vl::OpenGLContext openglContext ) [virtual]

Reimplemented from vl::UIEventListener.

void Applet::keyReleaseEvent ( unsigned  short,
vl::EKey  key 
) [virtual]

Reimplemented from vl::UIEventListener.

void Applet::destroyEvent (  ) [virtual]

Reimplemented from vl::UIEventListener.

void Applet::runEvent (  ) [virtual]

Reimplemented from vl::UIEventListener.

void Applet::resizeEvent ( int  w,
int  h 
) [virtual]

Reimplemented from vl::UIEventListener.

vl::SceneManagerActorTree* vlut::Applet::sceneManager (  ) [inline]
const vl::SceneManagerActorTree* vlut::Applet::sceneManager (  ) const [inline]
vl::GhostCameraManipulator* vlut::Applet::ghostCamera (  ) [inline]
vl::TrackballManipulator* vlut::Applet::trackball (  ) [inline]
double vlut::Applet::fps (  ) const [inline]
virtual void vlut::Applet::run (  ) [pure virtual]
virtual void vlut::Applet::initEvent (  ) [pure virtual]

Reimplemented from vl::UIEventListener.

virtual void vlut::Applet::shutdown (  ) [pure virtual]
void Applet::bindManipulators ( vl::Rendering rendering ) [protected]

Member Data Documentation

int vlut::Applet::mFrameCount [protected]
double vlut::Applet::mStartTime [protected]
double vlut::Applet::mFPS [protected]

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

Visualization Library v2010.11.1125 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Nov 26 2010 10:33:55.
Permission is granted to use this page to write and publish articles regarding Visualization Library.