VizKit  3.3.7
Public Member Functions | Private Attributes
VizKit::TrackTitleActor Class Reference

The title of the audio track is displayed as texture with blended colors. More...

#include <TrackTitleActor.h>

Inheritance diagram for VizKit::TrackTitleActor:
VizKit::VisualActor

List of all members.

Public Member Functions

 TrackTitleActor ()
 The constructor.
 ~TrackTitleActor ()
 The destructor.
virtual void init (void)
 Initialization.
virtual void show (const VisualPlayerState &visualPlayerState)
 Performs the show of the track title.
virtual void handleNotification (VisualNotification &aNotification)
 The actor receives a notification about an event that occured.

Private Attributes

TrackTitletrackTitle
 A pointer to the track title action.
bool textureOfCurrentTrackTitleIsAvailable
 True if texture of current audio track's title has been created.
VisualItemIdentifier trackTitleTrackIdentifier
 The identifier of the audio track for which the current track title has been created.

Detailed Description

The title of the audio track is displayed as texture with blended colors.

The texture of the track name can be manipulated in various ways. The smooth shading (Gouraud shading) from red to yellow is a simple example.


Constructor & Destructor Documentation

The constructor.

The destructor.


Member Function Documentation

void TrackTitleActor::handleNotification ( VisualNotification aNotification) [virtual]

The actor receives a notification about an event that occured.

Parameters:
aNotificationThe notification passed in.

Reimplemented from VizKit::VisualActor.

void TrackTitleActor::init ( void  ) [virtual]

Initialization.

Reimplemented from VizKit::VisualActor.

void TrackTitleActor::show ( const VisualPlayerState visualPlayerState) [virtual]

Performs the show of the track title.

Parameters:
visualPlayerStateRead-only access to the VisualPlayerState.

Reimplemented from VizKit::VisualActor.


Member Data Documentation

True if texture of current audio track's title has been created.

A pointer to the track title action.

The identifier of the audio track for which the current track title has been created.


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

Generated on Sun May 3 2015 20:26:31 for VizKit by doxygen 1.8.0