Recast Navigation
Navigation-mesh Toolset for Games
|
Sample used for random debugging. More...
#include <Sample_Debug.h>
Public Member Functions | |
Sample_Debug () | |
virtual | ~Sample_Debug () |
virtual void | handleSettings () |
virtual void | handleTools () |
virtual void | handleDebugMode () |
virtual void | handleClick (const float *s, const float *p, bool shift) |
virtual void | handleToggle () |
virtual void | handleRender () |
virtual void | handleRenderOverlay (double *proj, double *model, int *view) |
virtual void | handleMeshChanged (class InputGeom *geom) |
virtual bool | handleBuild () |
virtual const float * | getBoundsMin () |
virtual const float * | getBoundsMax () |
Public Member Functions inherited from Sample | |
Sample () | |
virtual | ~Sample () |
void | setContext (BuildContext *ctx) |
void | setTool (SampleTool *tool) |
SampleToolState * | getToolState (int type) |
void | setToolState (int type, SampleToolState *s) |
SampleDebugDraw & | getDebugDraw () |
virtual void | handleStep () |
virtual void | handleUpdate (const float dt) |
virtual void | collectSettings (struct BuildSettings &settings) |
virtual class InputGeom * | getInputGeom () |
virtual class dtNavMesh * | getNavMesh () |
virtual class dtNavMeshQuery * | getNavMeshQuery () |
virtual class dtCrowd * | getCrowd () |
virtual float | getAgentRadius () |
virtual float | getAgentHeight () |
virtual float | getAgentClimb () |
unsigned char | getNavMeshDrawFlags () const |
void | setNavMeshDrawFlags (unsigned char flags) |
void | updateToolStates (const float dt) |
void | initToolStates (Sample *sample) |
void | resetToolStates () |
void | renderToolStates () |
void | renderOverlayToolStates (double *proj, double *model, int *view) |
void | resetCommonSettings () |
void | handleCommonSettings () |
Protected Attributes | |
rcCompactHeightfield * | m_chf |
rcContourSet * | m_cset |
rcPolyMesh * | m_pmesh |
float | m_halfExtents [3] |
float | m_center [3] |
float | m_bmin [3] |
float | m_bmax [3] |
dtPolyRef | m_ref |
Protected Attributes inherited from Sample | |
class InputGeom * | m_geom |
class dtNavMesh * | m_navMesh |
class dtNavMeshQuery * | m_navQuery |
class dtCrowd * | m_crowd |
unsigned char | m_navMeshDrawFlags |
float | m_cellSize |
float | m_cellHeight |
float | m_agentHeight |
float | m_agentRadius |
float | m_agentMaxClimb |
float | m_agentMaxSlope |
float | m_regionMinSize |
float | m_regionMergeSize |
float | m_edgeMaxLen |
float | m_edgeMaxError |
float | m_vertsPerPoly |
float | m_detailSampleDist |
float | m_detailSampleMaxError |
int | m_partitionType |
bool | m_filterLowHangingObstacles |
bool | m_filterLedgeSpans |
bool | m_filterWalkableLowHeightSpans |
SampleTool * | m_tool |
SampleToolState * | m_toolStates [MAX_TOOLS] |
BuildContext * | m_ctx |
SampleDebugDraw | m_dd |
Additional Inherited Members | |
Protected Member Functions inherited from Sample | |
dtNavMesh * | loadAll (const char *path) |
void | saveAll (const char *path, const dtNavMesh *mesh) |
Sample used for random debugging.
Sample_Debug::Sample_Debug | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from Sample.
|
virtual |
Reimplemented from Sample.
|
virtual |
Reimplemented from Sample.
|
virtual |
Reimplemented from Sample.
|
virtual |
Reimplemented from Sample.
|
virtual |
Reimplemented from Sample.
|
virtual |
Reimplemented from Sample.
|
virtual |
Reimplemented from Sample.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |