Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SL_Grid Class Reference

#include <SL_Grid.h>

List of all members.

Public Methods

 SL_Grid ()
 SL_Grid (CGlobalState *refGlobal)
virtual ~SL_Grid ()
bool AddDot (const Vec2f dotPtr)
float GetCellSize ()
void SetWidthHeight (float fWidth, float fHeight, float fDsep)
int GetNumerElements_Grid ()
bool AllowSetPoint_AskNeibour (const Vec2f dotPtr)
void toString ()

Public Attributes

vector< SL_GridCellv_grid
float fWidthX
float fHeightY

Protected Methods

bool AllowSetPoint (const Vec2f dotPtr, int indexX, int indexY, int iGridIndex1D)
bool AllowSetPoint (const Vec2f dotPtr, int indexX, int indexY)


Constructor & Destructor Documentation

SL_Grid  
 

SL_Grid CGlobalState   refGlobal
 

~SL_Grid   [virtual]
 


Member Function Documentation

bool AddDot const Vec2f    dotPtr
 

bool AllowSetPoint const Vec2f    dotPtr,
int    indexX,
int    indexY
[protected]
 

bool AllowSetPoint const Vec2f    dotPtr,
int    indexX,
int    indexY,
int    iGridIndex1D
[protected]
 

test if dot my be set. if true, dot is inserted into grid. TRUE means dot my be inserted. FALSE means position is blocked.

bool AllowSetPoint_AskNeibour const Vec2f    dotPtr
 

float GetCellSize   [inline]
 

int GetNumerElements_Grid   [inline]
 

void SetWidthHeight float    fWidth,
float    fHeight,
float    fDsep
 

void toString  
 


Member Data Documentation

float fHeightY
 

float fWidthX
 

vector< SL_GridCell > v_grid
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 23 04:30:14 2003 for FlowVis- vector field in 2D by doxygen1.3-rc2