#include <iso_flock_visual_agent_trail.h>
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 |
AgentTrail::AgentTrail | ( | const math::Vector< real > & | pSampleVec, | |
unsigned int | pMaxLength | |||
) |
AgentTrail::~AgentTrail | ( | ) |
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 | ) |
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] |