Artificial Intelligence
Public Member Functions | Private Attributes

OpenSteer::AnnotationMixin< Super > Class Template Reference

#include <Annotation.h>

List of all members.

Public Member Functions

 AnnotationMixin ()
virtual ~AnnotationMixin ()
void recordTrailVertex (const float currentTime, const Vec3 &position)
void drawTrail (void)
void drawTrail (const Color &trailColor, const Color &tickColor)
void setTrailParameters (const float duration, const int vertexCount)
void clearTrailHistory (void)
void annotationLine (const Vec3 &startPoint, const Vec3 &endPoint, const Color &color) const
void annotationXZCircle (const float radius, const Vec3 &center, const Color &color, const int segments) const
void annotationXZDisk (const float radius, const Vec3 &center, const Color &color, const int segments) const
void annotation3dCircle (const float radius, const Vec3 &center, const Vec3 &axis, const Color &color, const int segments) const
void annotation3dDisk (const float radius, const Vec3 &center, const Vec3 &axis, const Color &color, const int segments) const
void annotationXZCircleOrDisk (const float radius, const Vec3 &center, const Color &color, const int segments, const bool filled) const
void annotation3dCircleOrDisk (const float radius, const Vec3 &center, const Vec3 &axis, const Color &color, const int segments, const bool filled) const
void annotationCircleOrDisk (const float radius, const Vec3 &axis, const Vec3 &center, const Color &color, const int segments, const bool filled, const bool in3d) const

Private Attributes

int trailVertexCount
int trailIndex
float trailDuration
float trailSampleInterval
float trailLastSampleTime
int trailDottedPhase
Vec3 curPosition
Vec3trailVertices
char * trailFlags

template<class Super>
class OpenSteer::AnnotationMixin< Super >


Constructor & Destructor Documentation

template<class Super >
OpenSteer::AnnotationMixin< Super >::AnnotationMixin ( void  )
template<class Super >
OpenSteer::AnnotationMixin< Super >::~AnnotationMixin ( void  ) [virtual]

Member Function Documentation

template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotation3dCircle ( const float  radius,
const Vec3 center,
const Vec3 axis,
const Color color,
const int  segments 
) const [inline]
template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotation3dCircleOrDisk ( const float  radius,
const Vec3 center,
const Vec3 axis,
const Color color,
const int  segments,
const bool  filled 
) const [inline]
template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotation3dDisk ( const float  radius,
const Vec3 center,
const Vec3 axis,
const Color color,
const int  segments 
) const [inline]
template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotationCircleOrDisk ( const float  radius,
const Vec3 axis,
const Vec3 center,
const Color color,
const int  segments,
const bool  filled,
const bool  in3d 
) const
template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotationLine ( const Vec3 startPoint,
const Vec3 endPoint,
const Color color 
) const
template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotationXZCircle ( const float  radius,
const Vec3 center,
const Color color,
const int  segments 
) const [inline]
template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotationXZCircleOrDisk ( const float  radius,
const Vec3 center,
const Color color,
const int  segments,
const bool  filled 
) const [inline]
template<class Super >
void OpenSteer::AnnotationMixin< Super >::annotationXZDisk ( const float  radius,
const Vec3 center,
const Color color,
const int  segments 
) const [inline]
template<class Super >
void OpenSteer::AnnotationMixin< Super >::clearTrailHistory ( void  )
template<class Super >
void OpenSteer::AnnotationMixin< Super >::drawTrail ( void  ) [inline]
template<class Super >
void OpenSteer::AnnotationMixin< Super >::drawTrail ( const Color trailColor,
const Color tickColor 
)
template<class Super >
void OpenSteer::AnnotationMixin< Super >::recordTrailVertex ( const float  currentTime,
const Vec3 position 
)
template<class Super >
void OpenSteer::AnnotationMixin< Super >::setTrailParameters ( const float  duration,
const int  vertexCount 
)

Member Data Documentation

template<class Super >
Vec3 OpenSteer::AnnotationMixin< Super >::curPosition [private]
template<class Super >
int OpenSteer::AnnotationMixin< Super >::trailDottedPhase [private]
template<class Super >
float OpenSteer::AnnotationMixin< Super >::trailDuration [private]
template<class Super >
char* OpenSteer::AnnotationMixin< Super >::trailFlags [private]
template<class Super >
int OpenSteer::AnnotationMixin< Super >::trailIndex [private]
template<class Super >
float OpenSteer::AnnotationMixin< Super >::trailLastSampleTime [private]
template<class Super >
float OpenSteer::AnnotationMixin< Super >::trailSampleInterval [private]
template<class Super >
int OpenSteer::AnnotationMixin< Super >::trailVertexCount [private]
template<class Super >
Vec3* OpenSteer::AnnotationMixin< Super >::trailVertices [private]

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