VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions
BHAVE::DtVrfObstacle Class Reference

Default obstacle class for obstacles known by Kynapse. More...

Inheritance diagram for BHAVE::DtVrfObstacle:
Inheritance graph
[legend]

Public Member Functions

 DtVrfObstacle ()
virtual ~DtVrfObstacle ()
DtVrfObjectgetVrfObject () const
 Helper function that returns a casted DtVrfObject.
virtual void updateFromVrf ()
 Update Kynapse values from VR-Forces.
virtual bool isShapePolyClockwise (Kaim::ShapePolyline *shapePolyline)
 Verify if the obstacle is defined as clockwise.
virtual void reverseShapePolyline (Kaim::ShapePolyline *shapePolyline)
 Switch the order of the polyline.
virtual void samplePolyline (Kaim::ShapePolyline &shapePolyline)
 Take a polyline and divide it into multiple small points.

Detailed Description

Default obstacle class for obstacles known by Kynapse.

Obstacles are areas that entities are not allowed to get across.

Constructor & Destructor Documentation

BHAVE::DtVrfObstacle::DtVrfObstacle ( )
virtual BHAVE::DtVrfObstacle::~DtVrfObstacle ( )
virtual

Member Function Documentation

DtVrfObject* BHAVE::DtVrfObstacle::getVrfObject ( ) const
inline

Helper function that returns a casted DtVrfObject.

virtual void BHAVE::DtVrfObstacle::updateFromVrf ( )
virtual

Update Kynapse values from VR-Forces.

virtual bool BHAVE::DtVrfObstacle::isShapePolyClockwise ( Kaim::ShapePolyline *  shapePolyline)
virtual

Verify if the obstacle is defined as clockwise.

virtual void BHAVE::DtVrfObstacle::reverseShapePolyline ( Kaim::ShapePolyline *  shapePolyline)
virtual

Switch the order of the polyline.

Required due to kynapse only being able to handle clockwise objects.

virtual void BHAVE::DtVrfObstacle::samplePolyline ( Kaim::ShapePolyline &  shapePolyline)
virtual

Take a polyline and divide it into multiple small points.

Required due to kynapse not being able to handle large polygons.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)