CEL

Public API Reference

iCelNavMeshParams Struct Reference

Wrapper for the parameters used to build the navigation mesh. More...

#include <tools/celnavmesh.h>

Inheritance diagram for iCelNavMeshParams:

List of all members.

Public Member Functions

virtual iCelNavMeshParamsClone () const =0
 Create a new object with the same instance variable's values as this one's.
virtual float GetAgentHeight () const =0
 Get agent height.
virtual float GetAgentMaxClimb () const =0
 Get agent max climb.
virtual float GetAgentMaxSlopeAngle () const =0
 Get agent maximum walkable slope angle (in degrees).
virtual float GetAgentRadius () const =0
 Get agent radius.
virtual int GetBorderSize () const =0
 Get border size.
virtual float GetCellHeight () const =0
 Get cell height.
virtual float GetCellSize () const =0
 Get cell size.
virtual float GetDetailSampleDist () const =0
 Get detail mesh sample spacing.
virtual float GetDetailSampleMaxError () const =0
 Get detail mesh simplification max sample error.
virtual int GetMaxEdgeLength () const =0
 Get maximum contour edge length.
virtual float GetMaxSimplificationError () const =0
 Get maximum distance error from contour to cells.
virtual int GetMaxVertsPerPoly () const =0
 Get max number of vertices per polygon.
virtual int GetMergeRegionArea () const =0
 Get minimum regions area (smaller regions will be merged).
virtual int GetMinRegionArea () const =0
 Get minimum regions area (smaller regions will be deleted).
virtual csVector3 GetPolygonSearchBox () const =0
 Set the size of the polygon search bounding box.
virtual int GetTileSize () const =0
 Get tile size (Width and Height of a tile).
virtual void SetAgentHeight (const float height)=0
 Set agent height.
virtual void SetAgentMaxClimb (const float maxClimb)=0
 Set agent max climb.
virtual void SetAgentMaxSlopeAngle (const float angle)=0
 Set agent maximum walkable slope angle (in degrees).
virtual void SetAgentRadius (const float radius)=0
 Set agent radius.
virtual void SetBorderSize (const int size)=0
 Set border size.
virtual void SetCellHeight (const float height)=0
 Set cell height.
virtual void SetCellSize (const float size)=0
 Set cell size.
virtual void SetDetailSampleDist (const float dist)=0
 Set detail mesh sample spacing.
virtual void SetDetailSampleMaxError (const float error)=0
 Set detail mesh simplification max sample error.
virtual void SetMaxEdgeLength (const int length)=0
 Set maximum contour edge length.
virtual void SetMaxSimplificationError (const float error)=0
 Set maximum distance error from contour to cells.
virtual void SetMaxVertsPerPoly (const int maxVerts)=0
 Set max number of vertices per polygon.
virtual void SetMergeRegionArea (const int area)=0
 Set minimum regions area (smaller regions will be merged).
virtual void SetMinRegionArea (const int area)=0
 Set minimum regions area (smaller regions will be deleted).
virtual void SetPolygonSearchBox (const csVector3 box)=0
 Get the size of the polygon search bounding box.
virtual void SetSuggestedValues (float agentHeight, float agentRadius, float agentMaxSlopeAngle)=0
 Set suggested values, given the agent parameters values.
virtual void SetTileSize (const int size)=0
 Set tile size (Width and Height of a tile).

Detailed Description

Wrapper for the parameters used to build the navigation mesh.

Definition at line 40 of file celnavmesh.h.


Member Function Documentation

virtual iCelNavMeshParams* iCelNavMeshParams::Clone (  )  const [pure virtual]

Create a new object with the same instance variable's values as this one's.

Remarks:
Don't assign the returned value directly to a smart pointer. Use the AttachNew() method instead.
virtual float iCelNavMeshParams::GetAgentHeight (  )  const [pure virtual]

Get agent height.

virtual float iCelNavMeshParams::GetAgentMaxClimb (  )  const [pure virtual]

Get agent max climb.

virtual float iCelNavMeshParams::GetAgentMaxSlopeAngle (  )  const [pure virtual]

Get agent maximum walkable slope angle (in degrees).

virtual float iCelNavMeshParams::GetAgentRadius (  )  const [pure virtual]

Get agent radius.

virtual int iCelNavMeshParams::GetBorderSize (  )  const [pure virtual]

Get border size.

virtual float iCelNavMeshParams::GetCellHeight (  )  const [pure virtual]

Get cell height.

virtual float iCelNavMeshParams::GetCellSize (  )  const [pure virtual]

Get cell size.

virtual float iCelNavMeshParams::GetDetailSampleDist (  )  const [pure virtual]

Get detail mesh sample spacing.

virtual float iCelNavMeshParams::GetDetailSampleMaxError (  )  const [pure virtual]

Get detail mesh simplification max sample error.

virtual int iCelNavMeshParams::GetMaxEdgeLength (  )  const [pure virtual]

Get maximum contour edge length.

virtual float iCelNavMeshParams::GetMaxSimplificationError (  )  const [pure virtual]

Get maximum distance error from contour to cells.

virtual int iCelNavMeshParams::GetMaxVertsPerPoly (  )  const [pure virtual]

Get max number of vertices per polygon.

virtual int iCelNavMeshParams::GetMergeRegionArea (  )  const [pure virtual]

Get minimum regions area (smaller regions will be merged).

virtual int iCelNavMeshParams::GetMinRegionArea (  )  const [pure virtual]

Get minimum regions area (smaller regions will be deleted).

virtual csVector3 iCelNavMeshParams::GetPolygonSearchBox (  )  const [pure virtual]

Set the size of the polygon search bounding box.

virtual int iCelNavMeshParams::GetTileSize (  )  const [pure virtual]

Get tile size (Width and Height of a tile).

virtual void iCelNavMeshParams::SetAgentHeight ( const float  height  )  [pure virtual]

Set agent height.

virtual void iCelNavMeshParams::SetAgentMaxClimb ( const float  maxClimb  )  [pure virtual]

Set agent max climb.

virtual void iCelNavMeshParams::SetAgentMaxSlopeAngle ( const float  angle  )  [pure virtual]

Set agent maximum walkable slope angle (in degrees).

virtual void iCelNavMeshParams::SetAgentRadius ( const float  radius  )  [pure virtual]

Set agent radius.

virtual void iCelNavMeshParams::SetBorderSize ( const int  size  )  [pure virtual]

Set border size.

virtual void iCelNavMeshParams::SetCellHeight ( const float  height  )  [pure virtual]

Set cell height.

virtual void iCelNavMeshParams::SetCellSize ( const float  size  )  [pure virtual]

Set cell size.

virtual void iCelNavMeshParams::SetDetailSampleDist ( const float  dist  )  [pure virtual]

Set detail mesh sample spacing.

virtual void iCelNavMeshParams::SetDetailSampleMaxError ( const float  error  )  [pure virtual]

Set detail mesh simplification max sample error.

virtual void iCelNavMeshParams::SetMaxEdgeLength ( const int  length  )  [pure virtual]

Set maximum contour edge length.

virtual void iCelNavMeshParams::SetMaxSimplificationError ( const float  error  )  [pure virtual]

Set maximum distance error from contour to cells.

virtual void iCelNavMeshParams::SetMaxVertsPerPoly ( const int  maxVerts  )  [pure virtual]

Set max number of vertices per polygon.

virtual void iCelNavMeshParams::SetMergeRegionArea ( const int  area  )  [pure virtual]

Set minimum regions area (smaller regions will be merged).

virtual void iCelNavMeshParams::SetMinRegionArea ( const int  area  )  [pure virtual]

Set minimum regions area (smaller regions will be deleted).

virtual void iCelNavMeshParams::SetPolygonSearchBox ( const csVector3  box  )  [pure virtual]

Get the size of the polygon search bounding box.

virtual void iCelNavMeshParams::SetSuggestedValues ( float  agentHeight,
float  agentRadius,
float  agentMaxSlopeAngle 
) [pure virtual]

Set suggested values, given the agent parameters values.

virtual void iCelNavMeshParams::SetTileSize ( const int  size  )  [pure virtual]

Set tile size (Width and Height of a tile).


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

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1