Artificial Intelligence
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Private Attributes

GamePipe::DebugCircle2D Class Reference

#include <DebugCircle2D.h>

Inheritance diagram for GamePipe::DebugCircle2D:
GamePipe::DebugObject

List of all members.

Public Member Functions

 DebugCircle2D (Ogre::SceneManager *)
 DebugCircle2D (Ogre::SceneManager *, float)
 DebugCircle2D (Ogre::SceneManager *, float, float)
virtual ~DebugCircle2D ()
virtual void initialize ()
virtual void setColour (Ogre::ColourValue)
virtual void setVisible (bool)
virtual void update (float)
float getRadius () const
float getThickness () const
virtual void attachTo (Ogre::SceneNode *)
virtual void detach ()
virtual bool isVisible ()

Public Attributes

Ogre::SceneNode * m_sceneNode

Protected Member Functions

void initializeSize ()

Static Protected Member Functions

static Ogre::String getUniqueId ()

Protected Attributes

Ogre::MovableObject * m_model
Ogre::ManualObject * temp_model
Ogre::ColourValue m_colour
float radius
float thickness
Ogre::SceneNode * m_parent
Ogre::SceneManager * m_manager
bool m_visible

Static Private Attributes

static const float ACCURACY = 35
 Accuracy of circle representation. Higher values generate better representations of a circle but create more polygons or line segments. /summary>

Constructor & Destructor Documentation

DebugCircle2D::DebugCircle2D ( Ogre::SceneManager *  manager)

summary> Create a one pixel thick white circle object based radius not attached to any object. /summary> param name='agent'>AI Agent used for graphics creation.

param name='radius'>Radius of the circle.

DebugCircle2D::DebugCircle2D ( Ogre::SceneManager *  manager,
float  radius 
)

summary> Creates a white circle object based radius and thickness not attached to any object. /summary> param name='agent'>AI Agent used for graphics creation.

param name='radius'>Radius of the circle.

param name='thickness'>Thickness of the circle.

DebugCircle2D::DebugCircle2D ( Ogre::SceneManager *  manager,
float  radius,
float  thickness 
)
DebugCircle2D::~DebugCircle2D ( ) [virtual]

Member Function Documentation

void DebugObject::attachTo ( Ogre::SceneNode *  parent) [virtual, inherited]
void DebugObject::detach ( ) [virtual, inherited]
float GamePipe::DebugCircle2D::getRadius ( ) const [inline]
float GamePipe::DebugCircle2D::getThickness ( ) const [inline]
Ogre::String DebugObject::getUniqueId ( ) [static, protected, inherited]
void DebugCircle2D::initialize ( ) [virtual]

Implements GamePipe::DebugObject.

void DebugCircle2D::initializeSize ( ) [protected]
bool DebugObject::isVisible ( ) [virtual, inherited]
void DebugCircle2D::setColour ( Ogre::ColourValue  colour) [virtual]

Implements GamePipe::DebugObject.

void DebugCircle2D::setVisible ( bool  debug) [virtual]

Reimplemented from GamePipe::DebugObject.

void DebugCircle2D::update ( float  deltaTime) [virtual]

Implements GamePipe::DebugObject.


Member Data Documentation

const float DebugCircle2D::ACCURACY = 35 [static, private]

Accuracy of circle representation. Higher values generate better representations of a circle but create more polygons or line segments. /summary>

Ogre::ColourValue GamePipe::DebugCircle2D::m_colour [protected]

Reimplemented from GamePipe::DebugObject.

Ogre::SceneManager* GamePipe::DebugObject::m_manager [protected, inherited]
Ogre::MovableObject* GamePipe::DebugCircle2D::m_model [protected]
Ogre::SceneNode* GamePipe::DebugObject::m_parent [protected, inherited]
Ogre::SceneNode* GamePipe::DebugObject::m_sceneNode [inherited]
bool GamePipe::DebugObject::m_visible [protected, inherited]
Ogre::ManualObject* GamePipe::DebugCircle2D::temp_model [protected]

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