Planeshift
Public Member Functions

dtObstacleAvoidanceDebugData Class Reference

#include <DetourObstacleAvoidance.h>

List of all members.

Public Member Functions

void addSample (const float *vel, const float ssize, const float pen, const float vpen, const float vcpen, const float spen, const float tpen)
 dtObstacleAvoidanceDebugData ()
float getSampleCollisionTimePenalty (const int i) const
int getSampleCount () const
float getSampleCurrentVelocityPenalty (const int i) const
float getSampleDesiredVelocityPenalty (const int i) const
float getSamplePenalty (const int i) const
float getSamplePreferredSidePenalty (const int i) const
float getSampleSize (const int i) const
const floatgetSampleVelocity (const int i) const
bool init (const int maxSamples)
void normalizeSamples ()
void reset ()
 ~dtObstacleAvoidanceDebugData ()

Detailed Description

Definition at line 38 of file DetourObstacleAvoidance.h.


Constructor & Destructor Documentation

dtObstacleAvoidanceDebugData::dtObstacleAvoidanceDebugData ( )
dtObstacleAvoidanceDebugData::~dtObstacleAvoidanceDebugData ( )

Member Function Documentation

void dtObstacleAvoidanceDebugData::addSample ( const float vel,
const float  ssize,
const float  pen,
const float  vpen,
const float  vcpen,
const float  spen,
const float  tpen 
)
float dtObstacleAvoidanceDebugData::getSampleCollisionTimePenalty ( const int  i) const [inline]

Definition at line 58 of file DetourObstacleAvoidance.h.

int dtObstacleAvoidanceDebugData::getSampleCount ( ) const [inline]

Definition at line 51 of file DetourObstacleAvoidance.h.

float dtObstacleAvoidanceDebugData::getSampleCurrentVelocityPenalty ( const int  i) const [inline]

Definition at line 56 of file DetourObstacleAvoidance.h.

float dtObstacleAvoidanceDebugData::getSampleDesiredVelocityPenalty ( const int  i) const [inline]

Definition at line 55 of file DetourObstacleAvoidance.h.

float dtObstacleAvoidanceDebugData::getSamplePenalty ( const int  i) const [inline]

Definition at line 54 of file DetourObstacleAvoidance.h.

float dtObstacleAvoidanceDebugData::getSamplePreferredSidePenalty ( const int  i) const [inline]

Definition at line 57 of file DetourObstacleAvoidance.h.

float dtObstacleAvoidanceDebugData::getSampleSize ( const int  i) const [inline]

Definition at line 53 of file DetourObstacleAvoidance.h.

const float* dtObstacleAvoidanceDebugData::getSampleVelocity ( const int  i) const [inline]

Definition at line 52 of file DetourObstacleAvoidance.h.

bool dtObstacleAvoidanceDebugData::init ( const int  maxSamples)
void dtObstacleAvoidanceDebugData::normalizeSamples ( )
void dtObstacleAvoidanceDebugData::reset ( )

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