VR-Forces 4.10 Class Documentation
 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. More...

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 ()
 CTOR/DTOR. More...
 
virtual ~DtNavMeshAreaRequest ()
 
virtual int messageSize ()
 size of the message More...
 
virtual DtBaseMessageclone ()
 clone a message. Caller of function is responsible managing this memory More...
 
virtual void setentityId (const std::string &name)
 Id of the terrain area name to look it up. More...
 
virtual std::string entityId () const
 
virtual void setDrawNavMesh ()
 Draw the nav mesh area. More...
 
virtual bool drawNavMesh () const
 
virtual void setDeleteNavMesh ()
 Delete the nav mesh area (completely) More...
 
virtual bool deleteNavMesh ()
 
virtual void setNavMeshColor (bool value)
 Set color on/off. More...
 
virtual bool navMeshColor () const
 
virtual void setNavMeshColorAlpha (double value)
 Set color alpha (overwrite the file values) More...
 
virtual double navMeshColorAlpha () const
 
virtual triangleListPtrTypetrianglePtrList ()
 return the triangle list More...
 
virtual triangleListTypetriangleList ()
 
virtual void setTrianglePtrList (const triangleListPtrType &triangleList)
 add a triangle to the list More...
 
virtual void setTriangleList (const triangleListType &triangleList)
 
- Public Member Functions inherited from makVrf::DtBaseMessage
 DtBaseMessage ()
 CTOR/DTOR. More...
 
virtual ~DtBaseMessage ()
 
virtual unsigned int messageType () const
 Get the name of the message type. More...
 
virtual unsigned charencode ()
 Encode the message as an array of bytes and return the bytes the receiver is responsible for calling delete [] on these bytes. More...
 
virtual void setRequestorId (const std::string &requestor)
 Assigns the requestor name of this message. More...
 
virtual std::string requestorId ()
 
virtual void setRequestId (int id)
 Assigns the request id of this message. More...
 
virtual int requestId ()
 

Static Public Member Functions

static DtBaseMessagedecode (unsigned char *buffer, int length)
 decode a message. Used by the factory More...
 

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
 front end Nav Mesh copy (hold the values not the pointer) More...
 
triangleListPtrType myTrianglesPtrList
 Input Nav mesh triangle from the backend. More...
 
- Protected Attributes inherited from makVrf::DtBaseMessage
unsigned int myMessageType
 
std::string myRequestorId
 
int myRequestId
 

Detailed Description

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

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)