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

A visual representation of the album cover art data included with the audio track. More...

#include <CoverArtActor.h>

Inheritance diagram for VizKit::CoverArtActor:
VizKit::VisualActor

List of all members.

Public Member Functions

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

Private Attributes

CoverArtcoverArt
 A pointer to the cover art action.
bool currentAudioTrackHasCoverArt
 True if current audio track has album cover art data.

Detailed Description

A visual representation of the album cover art data included with the audio track.

The cover rotates slowly around the y-axis. iTunes can handle embedded cover art data. The CoverArtActor is responsible for displaying cover art data if there exists any with the current track. The visual representation of the cover art data is created as a texture. The texture of the cover art can be manipulated in various ways. The rotation is a basic example for simplicity's sake.


Constructor & Destructor Documentation

The constructor.

The destructor.


Member Function Documentation

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

The actor receives a notification about an event that occured.

Parameters:
aNotificationThe notification passed in.

Reimplemented from VizKit::VisualActor.

void CoverArtActor::init ( void  ) [virtual]

Initialization.

Reimplemented from VizKit::VisualActor.

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

Performs the show of the cover art.

Parameters:
visualPlayerStateRead-only access to the VisualPlayerState.

Reimplemented from VizKit::VisualActor.


Member Data Documentation

A pointer to the cover art action.

True if current audio track has album cover art data.


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