Blender  V2.59
Public Member Functions | Protected Member Functions
Attribute Class Reference

#include <attributes.h>

List of all members.

Public Member Functions

 Attribute (string mn, vector< string > &value, int setline, bool channel)
 Attribute (Attribute &a)
 ~Attribute ()
void setUsed (bool set)
bool getUsed ()
void setIsChannel (bool set)
bool getIsChannel ()
string getAsString (bool debug=false)
int getAsInt ()
bool getAsBool ()
double getAsFloat ()
ntlVec3d getAsVec3d ()
void getAsMat4Gfx (ntlMatrix4x4< gfxReal > *mat)
AnimChannel< int > getChannelInt ()
AnimChannel< double > getChannelFloat ()
AnimChannel< ntlVec3dgetChannelVec3d ()
AnimChannel< ntlSetVec3fgetChannelSetVec3f ()
string getCompleteString ()
void print ()
 debug function, prints value

Protected Member Functions

bool initChannel (int elemSize)

Detailed Description

Definition at line 134 of file attributes.h.


Constructor & Destructor Documentation

Attribute::Attribute ( string  mn,
vector< string > &  value,
int  setline,
bool  channel 
) [inline]

Definition at line 137 of file attributes.h.

Attribute::Attribute ( Attribute a) [inline]

Definition at line 140 of file attributes.h.

References getCompleteString().

Attribute::~Attribute ( ) [inline]

Definition at line 141 of file attributes.h.


Member Function Documentation

bool Attribute::getAsBool ( )

Definition at line 34 of file attributes.cpp.

double Attribute::getAsFloat ( )

Definition at line 37 of file attributes.cpp.

int Attribute::getAsInt ( )

Definition at line 31 of file attributes.cpp.

void Attribute::getAsMat4Gfx ( ntlMatrix4x4< gfxReal > *  mat)

Definition at line 43 of file attributes.cpp.

References NULL.

string Attribute::getAsString ( bool  debug = false)

Definition at line 27 of file attributes.cpp.

ntlVec3d Attribute::getAsVec3d ( )

Definition at line 40 of file attributes.cpp.

AnimChannel< double > Attribute::getChannelFloat ( )

Definition at line 55 of file attributes.cpp.

AnimChannel< int > Attribute::getChannelInt ( )

Definition at line 58 of file attributes.cpp.

AnimChannel< ntlSetVec3f > Attribute::getChannelSetVec3f ( )

Definition at line 65 of file attributes.cpp.

AnimChannel< ntlVec3d > Attribute::getChannelVec3d ( )

Definition at line 61 of file attributes.cpp.

string Attribute::getCompleteString ( )

Definition at line 46 of file attributes.cpp.

Referenced by Attribute().

bool Attribute::getIsChannel ( ) [inline]

Definition at line 146 of file attributes.h.

bool Attribute::getUsed ( ) [inline]

Definition at line 144 of file attributes.h.

bool Attribute::initChannel ( int  elemSize) [protected]

Definition at line 23 of file attributes.cpp.

void Attribute::print ( )

debug function, prints value

Definition at line 151 of file attributes.cpp.

void Attribute::setIsChannel ( bool  set) [inline]

Definition at line 145 of file attributes.h.

void Attribute::setUsed ( bool  set) [inline]

Definition at line 143 of file attributes.h.


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