VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtNavMeshAreaRequest Class Reference

DtNavMeshAreaRequest is a message to draw/delete nav mesh information from the debugDrawManager to the debugDrawRenderer.

Inheritance diagram for makVrf::DtNavMeshAreaRequest:
Inheritance graph
[legend]

Public Types

typedef std::list
< DtNavArea::DtNavTriangleInfo
triangleListPtrType
 
typedef std::list
< DtNavArea::DtNavTriangleInfoExt
triangleListType
 

Public Member Functions

 DtNavMeshAreaRequest ()
 
virtual ~DtNavMeshAreaRequest ()
 
virtual int messageSize ()
 
virtual DtBaseMessageclone ()
 
virtual void setentityId (const std::string &name)
 
virtual std::string entityId () const
 
virtual void setDrawNavMesh ()
 
virtual bool drawNavMesh () const
 
virtual void setDeleteNavMesh ()
 
virtual bool deleteNavMesh ()
 
virtual void setNavMeshColor (bool value)
 
virtual bool navMeshColor () const
 
virtual void setNavMeshColorAlpha (double value)
 
virtual double navMeshColorAlpha () const
 
virtual triangleListPtrTypetrianglePtrList ()
 
virtual triangleListTypetriangleList ()
 
virtual void setTrianglePtrList (const triangleListPtrType &triangleList)
 
virtual void setTriangleList (const triangleListType &triangleList)
 
- Public Member Functions inherited from makVrf::DtBaseMessage
 DtBaseMessage ()
 
virtual ~DtBaseMessage ()
 
virtual unsigned int messageType () const
 
virtual unsigned charencode ()
 
virtual void setRequestorId (const std::string &requestor)
 
virtual std::string requestorId ()
 
virtual void setRequestId (int id)
 
virtual int requestId ()
 

Static Public Member Functions

static DtBaseMessagedecode (unsigned char *buffer, int length)
 

Protected Member Functions

virtual void serialize (DtStreamWriter &writer)
 
virtual void deserialize (DtStreamReader &reader)
 

Protected Attributes

std::string myIdName
 
bool myDrawNavMesh
 
bool myDeleteNavMesh
 
bool myNavMeshDrawColor
 
double myNavMeshColorAlpha
 
triangleListType myTrianglesList
 
triangleListPtrType myTrianglesPtrList
 
- Protected Attributes inherited from makVrf::DtBaseMessage
unsigned int myMessageType
 
std::string myRequestorId
 
int myRequestId
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtNavMeshAreaRequest::DtNavMeshAreaRequest ( )

CTOR/DTOR.

virtual makVrf::DtNavMeshAreaRequest::~DtNavMeshAreaRequest ( )
virtual

Member Function Documentation

virtual int makVrf::DtNavMeshAreaRequest::messageSize ( )
virtual

size of the message

Reimplemented from makVrf::DtBaseMessage.

static DtBaseMessage* makVrf::DtNavMeshAreaRequest::decode ( unsigned char buffer,
int  length 
)
static

decode a message. Used by the factory

virtual DtBaseMessage* makVrf::DtNavMeshAreaRequest::clone ( )
virtual

clone a message. Caller of function is responsible managing this memory

Implements makVrf::DtBaseMessage.

virtual void makVrf::DtNavMeshAreaRequest::setentityId ( const std::string &  name)
virtual

Id of the terrain area name to look it up.

virtual std::string makVrf::DtNavMeshAreaRequest::entityId ( ) const
virtual
virtual void makVrf::DtNavMeshAreaRequest::setDrawNavMesh ( )
virtual

Draw the nav mesh area.

virtual bool makVrf::DtNavMeshAreaRequest::drawNavMesh ( ) const
virtual
virtual void makVrf::DtNavMeshAreaRequest::setDeleteNavMesh ( )
virtual

Delete the nav mesh area (completely)

virtual bool makVrf::DtNavMeshAreaRequest::deleteNavMesh ( )
virtual
virtual void makVrf::DtNavMeshAreaRequest::setNavMeshColor ( bool  value)
virtual

Set color on/off.

virtual bool makVrf::DtNavMeshAreaRequest::navMeshColor ( ) const
virtual
virtual void makVrf::DtNavMeshAreaRequest::setNavMeshColorAlpha ( double  value)
virtual

Set color alpha (overwrite the file values)

virtual double makVrf::DtNavMeshAreaRequest::navMeshColorAlpha ( ) const
virtual
virtual triangleListPtrType& makVrf::DtNavMeshAreaRequest::trianglePtrList ( )
virtual

return the triangle list

virtual triangleListType& makVrf::DtNavMeshAreaRequest::triangleList ( )
virtual
virtual void makVrf::DtNavMeshAreaRequest::setTrianglePtrList ( const triangleListPtrType triangleList)
virtual

add a triangle to the list

virtual void makVrf::DtNavMeshAreaRequest::setTriangleList ( const triangleListType triangleList)
virtual
virtual void makVrf::DtNavMeshAreaRequest::serialize ( DtStreamWriter writer)
protectedvirtual

Reimplemented from makVrf::DtBaseMessage.

virtual void makVrf::DtNavMeshAreaRequest::deserialize ( DtStreamReader reader)
protectedvirtual

Reimplemented from makVrf::DtBaseMessage.

Member Data Documentation

std::string makVrf::DtNavMeshAreaRequest::myIdName
protected
bool makVrf::DtNavMeshAreaRequest::myDrawNavMesh
protected
bool makVrf::DtNavMeshAreaRequest::myDeleteNavMesh
protected
bool makVrf::DtNavMeshAreaRequest::myNavMeshDrawColor
protected
double makVrf::DtNavMeshAreaRequest::myNavMeshColorAlpha
protected
triangleListType makVrf::DtNavMeshAreaRequest::myTrianglesList
protected

front end Nav Mesh copy (hold the values not the pointer)

triangleListPtrType makVrf::DtNavMeshAreaRequest::myTrianglesPtrList
protected

Input Nav mesh triangle from the backend.


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)