Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Member Functions | Private Attributes

RenderingWidget Class Reference

Collaboration diagram for RenderingWidget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

QWidget * createNavigationControlWidget ()

Protected Slots

virtual void animate (void)
virtual void drawScene (void)
virtual void grabFrame (void)
virtual void resetCamera ()
virtual void setLerpMode (int)
virtual void setNavMode (int)
virtual void setRotationMode (int)
virtual void stopAnimation ()

Protected Member Functions

virtual void initializeGL ()
virtual void keyPressEvent (QKeyEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void paintGL ()
virtual void resizeGL (int width, int height)

Private Types

enum  LerpMode { LerpQuaternion, LerpEulerAngles }
enum  NavMode { NavTurnAround, NavFly }
enum  RotationMode { RotationStable, RotationStandard }
typedef std::map< float, FrameTimeLine
enum  TrackMode {
  TM_NO_TRACK = 0, TM_ROTATE_AROUND, TM_ZOOM, TM_LOCAL_ROTATE,
  TM_FLY_Z, TM_FLY_PAN
}

Private Member Functions

Frame lerpFrame (float t)
void setupCamera ()

Private Attributes

float m_alpha
TimeLine m_timeline
QTimer m_timer
bool mAnimate
Camera mCamera
TrackMode mCurrentTrackingMode
std::vector< int > mIndices
Frame mInitFrame
LerpMode mLerpMode
Vector2i mMouseCoords
NavMode mNavMode
std::vector< Vector3f > mNormals
RotationMode mRotationMode
Trackball mTrackball
std::vector< Vector3f > mVertices

Detailed Description

Definition at line 37 of file quaternion_demo.h.


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

Generated by  Doxygen 1.6.0   Back to index