#include "RVOSimulator3d.h"
#ifdef _OPENMP
#include <omp.h>
#endif
#include "Agent3d.h"
#include "KdTree3d.h"
namespace RVO3D {
RVOSimulator3D::RVOSimulator3D() : … { … }
RVOSimulator3D::RVOSimulator3D(float timeStep, float neighborDist, size_t maxNeighbors, float timeHorizon, float radius, float maxSpeed, const Vector3 &velocity) : … { … }
RVOSimulator3D::~RVOSimulator3D()
{ … }
size_t RVOSimulator3D::getAgentNumAgentNeighbors(size_t agentNo) const
{ … }
size_t RVOSimulator3D::getAgentAgentNeighbor(size_t agentNo, size_t neighborNo) const
{ … }
size_t RVOSimulator3D::getAgentNumORCAPlanes(size_t agentNo) const
{ … }
const Plane &RVOSimulator3D::getAgentORCAPlane(size_t agentNo, size_t planeNo) const
{ … }
void RVOSimulator3D::removeAgent(size_t agentNo)
{ … }
size_t RVOSimulator3D::addAgent(const Vector3 &position)
{ … }
size_t RVOSimulator3D::addAgent(const Vector3 &position, float neighborDist, size_t maxNeighbors, float timeHorizon, float radius, float maxSpeed, const Vector3 &velocity)
{ … }
void RVOSimulator3D::doStep()
{ … }
size_t RVOSimulator3D::getAgentMaxNeighbors(size_t agentNo) const
{ … }
float RVOSimulator3D::getAgentMaxSpeed(size_t agentNo) const
{ … }
float RVOSimulator3D::getAgentNeighborDist(size_t agentNo) const
{ … }
const Vector3 &RVOSimulator3D::getAgentPosition(size_t agentNo) const
{ … }
const Vector3 &RVOSimulator3D::getAgentPrefVelocity(size_t agentNo) const
{ … }
float RVOSimulator3D::getAgentRadius(size_t agentNo) const
{ … }
float RVOSimulator3D::getAgentTimeHorizon(size_t agentNo) const
{ … }
const Vector3 &RVOSimulator3D::getAgentVelocity(size_t agentNo) const
{ … }
float RVOSimulator3D::getGlobalTime() const
{ … }
size_t RVOSimulator3D::getNumAgents() const
{ … }
float RVOSimulator3D::getTimeStep() const
{ … }
void RVOSimulator3D::setAgentDefaults(float neighborDist, size_t maxNeighbors, float timeHorizon, float radius, float maxSpeed, const Vector3 &velocity)
{ … }
void RVOSimulator3D::setAgentMaxNeighbors(size_t agentNo, size_t maxNeighbors)
{ … }
void RVOSimulator3D::setAgentMaxSpeed(size_t agentNo, float maxSpeed)
{ … }
void RVOSimulator3D::setAgentNeighborDist(size_t agentNo, float neighborDist)
{ … }
void RVOSimulator3D::setAgentPosition(size_t agentNo, const Vector3 &position)
{ … }
void RVOSimulator3D::setAgentPrefVelocity(size_t agentNo, const Vector3 &prefVelocity)
{ … }
void RVOSimulator3D::setAgentRadius(size_t agentNo, float radius)
{ … }
void RVOSimulator3D::setAgentTimeHorizon(size_t agentNo, float timeHorizon)
{ … }
void RVOSimulator3D::setAgentVelocity(size_t agentNo, const Vector3 &velocity)
{ … }
void RVOSimulator3D::setTimeStep(float timeStep)
{ … }
}