fluidvis
Public Member Functions | Static Public Member Functions | List of all members
fluid::Glyph Class Reference

Public Member Functions

 Glyph (unsigned int id)
 
unsigned int getID () const
 
void reset (const Vector &startpos, float *data)
 
const VectorgetMidpoint ()
 
void updatePositions (const float *data)
 
void updateVelocities (const float *data)
 
void updateGlyphsize ()
 
unsigned int getGroupSize () const
 
Vectoroperator[] (unsigned int i)
 
float getVorticity () const
 
float length () const
 
float killDistance () const
 
float respawnDistance () const
 
void setAlive ()
 
void kill ()
 
void updateStateSwitchTime (float deltatime)
 
GlyphState getState () const
 

Static Public Member Functions

static void setMaxStateSwitchTime (float t)
 
static void setMaxRespawnDistance (float d)
 
static void setMaxKillDistance (float d)
 

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