libmove3d  3.13.0
Public Member Functions | Protected Member Functions
DpgGrid Class Reference

List of all members.

Public Member Functions

 DpgGrid (p3d_env *env)
int getNbCells (void)
int getNbCellsOverX (void)
int getNbCellsOverY (void)
int getNbCellsOverZ (void)
void init (void)
void updateRobotOccupationCells (p3d_rob *robot)
std::vector< DpgCell * > getCellListForObject (p3d_obj *obj, p3d_matrix4 pointTransform)
void unvalidObjectCells (p3d_obj *obj)
void draw ()
 DpgGrid (p3d_env *env)
int getNbCells (void)
int getNbCellsOverX (void)
int getNbCellsOverY (void)
int getNbCellsOverZ (void)
DpgCellgetCellAt (int x, int y, int z)
std::vector< DpgCell * > getCellPoint (double *point, int dx, int dy, int dz)
void init (void)
std::vector< DpgCell * > getCellListForObject (p3d_obj *obj)
void unvalidObjectCells (p3d_obj *obj)

Protected Member Functions

virtual API::ThreeDCell * createNewCell (unsigned int index, unsigned int x, unsigned int y, unsigned int z)
 Virtual function that creates a new Cell.
void getCellListForEdge (p3d_polyhedre *poly, int edgeId, std::vector< DpgCell * > &edgeCells)
void getCellForProjectedEdge (double *point1, double *point2, std::vector< DpgCell * > &edgeCells)

Member Function Documentation

API::ThreeDCell * DpgGrid::createNewCell ( unsigned int  index,
unsigned int  x,
unsigned int  y,
unsigned int  z 
) [protected, virtual]

Virtual function that creates a new Cell.

Parameters:
indexthe cell index
xThe position of the cell over x
yThe position of the cell over y
zThe position of the cell over z

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines