Public Member Functions

IMXtrack8 Class Reference

Search for all occurrences

Detailed Description

An interface to the new functionality for max 8 for tracks in the mixer.

Contains functionality relating to the new functionality for max tracks, mainly the ability to get or append new IMXclip8 clips. Inherits from IMXtrack. The interface is accessed via IMXtrackgroup8::GetTrack8. /see IMXtrackgroup8::GetTrack8

#include <IMixer8.h>

Inheritance diagram for IMXtrack8:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual IMXclip8 GetClip8 (int index, int row)=0
  Returns the IMXclip8 interface for the specified clip.
virtual IMXclip8 GetTransClip8 (int index)=0
  Returns the IMXclip8 interface for the specified clip.
virtual bool  IsMax ()=0
  Whether or not a max track or a biped track.
virtual bool  AppendMaxClip (const MCHAR *fname, const MCHAR *mapFile=NULL, int interval=5)=0
  Loads the specified max animation file as a clip onto the track.

Member Function Documentation

virtual IMXclip8* GetClip8 ( int  index,
int  row 
) [pure virtual]

Returns the IMXclip8 interface for the specified clip.

Parameters:
[in] index Which clip you want to get, >=0.
[in] row Which row the clip you want to get is in, value may be BOT_ROW or TOP_ROW defined in IMixer.h For layer tracks, only BOT_ROW is a valid input.
Returns:
The new clip interface for this clip. May return NULL if an invalid parameter,either improper row or index, is passed in.
virtual IMXclip8* GetTransClip8 ( int  index ) [pure virtual]

Returns the IMXclip8 interface for the specified clip.

Parameters:
[in] index The index of the sorted clips in the transition track. Takes into account both rows when indexing the clips.
Returns:
The new clip interface for this clip. May return NULL if an invalid parameter is passed in.
virtual bool IsMax ( ) [pure virtual]

Whether or not a max track or a biped track.

Returns:
Returns true if it's a max track, false if it's a biped track.
virtual bool AppendMaxClip ( const MCHAR *  fname,
const MCHAR *  mapFile = NULL,
int  interval = 5 
) [pure virtual]

Loads the specified max animation file as a clip onto the track.

Only works for max tracks.

Parameters:
[in] fname The filename of the .xaf file to be loaded.
[in] mapFile The filename of the .xmm map file to be loaded. Defaults to NULL,
[in] interval The number of frames from the end of the last clipin the track that the new clip will be appended in layer tracks. The interval must be >=0. Not that for transistion tracks, this parameter is ingnored and the start of the new clip will be at theinpoint of the last clip in the track, and it will be on the opposite row of the last clip. Also the parameter is ignored if there are no clips in the track, the clip will automatically start at frame 0.
Returns:
false if the files can't be loaded or the mapping isn't correct. If the clip is created properly, returns true.

IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8
IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8 IMXtrack8