iso::flock::AgentTrail Class Reference

#include <iso_flock_visual_agent_trail.h>

List of all members.

Public Member Functions

 AgentTrail (const math::Vector< real > &pSampleVec, unsigned int pMaxLength)
 ~AgentTrail ()
real decay () const
real width () const
unsigned int length () const
const math::Vector4< float > & color () const
const data::RingBuffer< math::Vector<
real > > & 
elements () const
void setDecay (real pDecay)
void setWidth (real pWidth)
void setLength (unsigned int pLength)
void setColor (const math::Vector4< float > &pColor)
void update (const math::Vector< real > &pElement)
void display ()
void exportFile (const base::String &pFileName)

Protected Attributes

data::RingBuffer< math::Vector<
real > > 
mElements
math::Vector4< float > mColor
real mDecay
real mWidth
unsigned int mLength


Constructor & Destructor Documentation

AgentTrail::AgentTrail ( const math::Vector< real > &  pSampleVec,
unsigned int  pMaxLength 
)

AgentTrail::~AgentTrail (  ) 


Member Function Documentation

real AgentTrail::decay (  )  const

real AgentTrail::width (  )  const

unsigned int AgentTrail::length (  )  const

const math::Vector4< float > & AgentTrail::color (  )  const

const data::RingBuffer< math::Vector< real > > & AgentTrail::elements (  )  const

void AgentTrail::setDecay ( real  pDecay  ) 

void AgentTrail::setWidth ( real  pWidth  ) 

void AgentTrail::setLength ( unsigned int  pLength  ) 

void AgentTrail::setColor ( const math::Vector4< float > &  pColor  ) 

void AgentTrail::update ( const math::Vector< real > &  pElement  ) 

void AgentTrail::display (  ) 

void AgentTrail::exportFile ( const base::String &  pFileName  ) 


Member Data Documentation

data::RingBuffer< math::Vector<real> > iso::flock::AgentTrail::mElements [protected]

math::Vector4<float> iso::flock::AgentTrail::mColor [protected]

real iso::flock::AgentTrail::mDecay [protected]

real iso::flock::AgentTrail::mWidth [protected]

unsigned int iso::flock::AgentTrail::mLength [protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 15:28:04 2011 for iso_flock by  doxygen 1.5.1