Main Page | Class Hierarchy | Class List | Class Members

SC::Buffer Class Reference

List of all members.

Public Member Functions

 Buffer ()
void Clear ()
void InitGrid (float dsep, float dtest, int dataX, int dataY, int dataW, int dataH)
void SetLineColor (System.Drawing.Color color)
void SetGlyphColor (System.Drawing.Color color)
bool GetPointNeighbour (Vector2 p, float dist)
void Add (Vector2[] streamLine)
void AddToGridAndQueue (Vector2[] streamLine, bool calcTapering)
bool SelectNextAsCurrent ()
Vector2 SelectPointAtDistance ()
void CalcTapering (fMain main)
void Render (int effect, float animationOffset)
void RenderTapering (int effect, float animationOffset)
void RenderGlyph ()
void SetFrequency (float freq)
void SetMaxWidth (float maxWidth)
float GetMaxLineWidth ()

Detailed Description

A simple streamline buffer.


Constructor & Destructor Documentation

SC::Buffer::Buffer  )  [inline]
 

Default constructor.


Member Function Documentation

void SC::Buffer::Add Vector2[]  streamLine  )  [inline]
 

Adds a streamline to the buffer. The streamline to add.

void SC::Buffer::AddToGridAndQueue Vector2[]  streamLine,
bool  calcTapering
[inline]
 

Adds a streamline into the queue. The streamline to add.

void SC::Buffer::CalcTapering fMain  main  )  [inline]
 

Calcs the tapering for all streamlines.

void SC::Buffer::Clear  )  [inline]
 

Cleares all streamlines from the buffer.

float SC::Buffer::GetMaxLineWidth  )  [inline]
 

Returns the max line width available on this hardware.

bool SC::Buffer::GetPointNeighbour Vector2  p,
float  dist
[inline]
 

Determines if there exists a point nearer than dist. The point to test. True if such a point exists, False otherwise.

void SC::Buffer::InitGrid float  dsep,
float  dtest,
int  dataX,
int  dataY,
int  dataW,
int  dataH
[inline]
 

Inits the grid. The dsep distance. The x-resolution of the data. The y-resolution of the data.

void SC::Buffer::Render int  effect,
float  animationOffset
[inline]
 

Renders the streamlines. The scale of the streamlines.

void SC::Buffer::RenderGlyph  )  [inline]
 

Renders the streamline using a tapering effect.

void SC::Buffer::RenderTapering int  effect,
float  animationOffset
[inline]
 

Renders the streamline using a tapering effect.

bool SC::Buffer::SelectNextAsCurrent  )  [inline]
 

Selects the next streamline from the queue as current one.

Vector2 SC::Buffer::SelectPointAtDistance  )  [inline]
 

Selects a new point at a distance dsep from the current streamline. null if no point can be found.

void SC::Buffer::SetFrequency float  freq  )  [inline]
 

Sets the texture frequency. The new frequency.

void SC::Buffer::SetGlyphColor System.Drawing.Color  color  )  [inline]
 

Sets the glyph color. The color.

void SC::Buffer::SetLineColor System.Drawing.Color  color  )  [inline]
 

Sets the line color. The color.

void SC::Buffer::SetMaxWidth float  maxWidth  )  [inline]
 

Sets the maximum line with for tapering.


The documentation for this class was generated from the following file:
Generated on Sat Jan 15 23:58:59 2005 for StreamCtrl by doxygen 1.3.6