Public Member Functions | Private Attributes

VizKit::CoverArtActor Class Reference

#include <CoverArtActor.h>

Inherits VizKit::VisualActor.

Collaboration diagram for VizKit::CoverArtActor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CoverArtActor ()
 ~CoverArtActor ()
virtual void init (void)
virtual void show (const VisualPlayerState &visualPlayerState)
virtual void handleNotification (VisualNotification &aNotification)

Private Attributes

CoverArtcoverArt
bool currentAudioTrackHasCoverArt

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

CoverArtActor::CoverArtActor (  ) 

The constructor.

CoverArtActor::~CoverArtActor (  ) 

The destructor.


Member Function Documentation

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

The actor receives a notification about an event that occured.

Parameters:
aNotification The 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:
visualPlayerState Read-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 Sep 26 2010 13:29:35 for VizKit by doxygen 1.7.1