newspeoplefor developersdocumentationdownloads

nAnimBuilder::Group Class Reference

#include <nanimbuilder.h>

List of all members.


Detailed Description

an animation curve group

Definition at line 111 of file nanimbuilder.h.


Public Types

enum  LoopType {
  CLAMP,
  REPEAT
}
 loop types More...

Public Member Functions

 Group ()
 constructor
void AddCurve (const Curve &curve)
 add an animation curve object
int GetNumCurves () const
 get number of animation curves
CurveGetCurveAt (int index) const
 get animation curve at index
void SetLoopType (LoopType t)
 set loop type
LoopType GetLoopType () const
 get loop type
void SetFadeInFrames (float frames)
 set fade in frames
float GetFadeInFrames () const
 get fade in frames
void SetStartKey (int start)
 set the start key
int GetStartKey () const
 get the start key
void SetNumKeys (int num)
 set number of keys
int GetNumKeys () const
 get number of keys
void SetKeyTime (float t)
 set the key duration
float GetKeyTime () const
 get the key duration
void SetKeyStride (int stride)
 set the key stride
int GetKeyStride () const
 get the key stride
bool Validate () const
 check if the curves are valid
void SetAnimJoints (nArray< nString > joints)
 set array of animated joints
nArray< nStringGetAnimJoints () const
 get array og animated joints

Static Public Member Functions

static const char * LoopType2String (LoopType t)
 convert loop type to string
static LoopType String2LoopType (const char *str)
 convert string to loop type

Public Attributes

nArray< CurvecurveArray
LoopType loopType
nString groupName
int startKey
int numKeys
int keyStride
float keyTime
nArray< nStringanimJoints
float fadeInFrames

Member Enumeration Documentation

enum nAnimBuilder::Group::LoopType
 

loop types

Enumerator:
CLAMP 
REPEAT 

Definition at line 115 of file nanimbuilder.h.


Constructor & Destructor Documentation

nAnimBuilder::Group::Group  )  [inline]
 

constructor

Definition at line 503 of file nanimbuilder.h.


Member Function Documentation

void nAnimBuilder::Group::AddCurve const Curve curve  )  [inline]
 

add an animation curve object

Definition at line 519 of file nanimbuilder.h.

int nAnimBuilder::Group::GetNumCurves  )  const [inline]
 

get number of animation curves

Definition at line 529 of file nanimbuilder.h.

nAnimBuilder::Curve & nAnimBuilder::Group::GetCurveAt int  index  )  const [inline]
 

get animation curve at index

Definition at line 539 of file nanimbuilder.h.

void nAnimBuilder::Group::SetLoopType LoopType  t  )  [inline]
 

set loop type

Definition at line 549 of file nanimbuilder.h.

nAnimBuilder::Group::LoopType nAnimBuilder::Group::GetLoopType  )  const [inline]
 

get loop type

Definition at line 559 of file nanimbuilder.h.

void nAnimBuilder::Group::SetFadeInFrames float  frames  )  [inline]
 

set fade in frames

Definition at line 569 of file nanimbuilder.h.

float nAnimBuilder::Group::GetFadeInFrames  )  const [inline]
 

get fade in frames

Definition at line 579 of file nanimbuilder.h.

void nAnimBuilder::Group::SetStartKey int  start  )  [inline]
 

set the start key

Definition at line 589 of file nanimbuilder.h.

int nAnimBuilder::Group::GetStartKey  )  const [inline]
 

get the start key

Definition at line 599 of file nanimbuilder.h.

void nAnimBuilder::Group::SetNumKeys int  num  )  [inline]
 

set number of keys

Definition at line 609 of file nanimbuilder.h.

int nAnimBuilder::Group::GetNumKeys  )  const [inline]
 

get number of keys

Definition at line 619 of file nanimbuilder.h.

void nAnimBuilder::Group::SetKeyTime float  t  )  [inline]
 

set the key duration

Definition at line 649 of file nanimbuilder.h.

float nAnimBuilder::Group::GetKeyTime  )  const [inline]
 

get the key duration

Definition at line 659 of file nanimbuilder.h.

void nAnimBuilder::Group::SetKeyStride int  stride  )  [inline]
 

set the key stride

Definition at line 629 of file nanimbuilder.h.

int nAnimBuilder::Group::GetKeyStride  )  const [inline]
 

get the key stride

Definition at line 639 of file nanimbuilder.h.

bool nAnimBuilder::Group::Validate  )  const [inline]
 

check if the curves are valid

Definition at line 689 of file nanimbuilder.h.

const char * nAnimBuilder::Group::LoopType2String LoopType  t  )  [inline, static]
 

convert loop type to string

Definition at line 709 of file nanimbuilder.h.

nAnimBuilder::Group::LoopType nAnimBuilder::Group::String2LoopType const char *  str  )  [inline, static]
 

convert string to loop type

Definition at line 725 of file nanimbuilder.h.

void nAnimBuilder::Group::SetAnimJoints nArray< nString joints  )  [inline]
 

set array of animated joints

Definition at line 669 of file nanimbuilder.h.

nArray< nString > nAnimBuilder::Group::GetAnimJoints  )  const [inline]
 

get array og animated joints

Definition at line 679 of file nanimbuilder.h.


Member Data Documentation

nArray<Curve> nAnimBuilder::Group::curveArray
 

Definition at line 164 of file nanimbuilder.h.

LoopType nAnimBuilder::Group::loopType
 

Definition at line 165 of file nanimbuilder.h.

nString nAnimBuilder::Group::groupName
 

Definition at line 166 of file nanimbuilder.h.

int nAnimBuilder::Group::startKey
 

Definition at line 167 of file nanimbuilder.h.

int nAnimBuilder::Group::numKeys
 

Definition at line 168 of file nanimbuilder.h.

int nAnimBuilder::Group::keyStride
 

Definition at line 169 of file nanimbuilder.h.

float nAnimBuilder::Group::keyTime
 

Definition at line 170 of file nanimbuilder.h.

nArray<nString> nAnimBuilder::Group::animJoints
 

Definition at line 171 of file nanimbuilder.h.

float nAnimBuilder::Group::fadeInFrames
 

Definition at line 172 of file nanimbuilder.h.


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

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.