|
| CAgent (const char *pch_name, unsigned int un_identification, CArguments *pc_arguments) |
|
virtual const TVector2d * | GetPosition () const |
|
virtual void | SetPosition (TVector2d *pt_new_position) |
|
virtual const TVector2d * | GetVelocity () const |
|
virtual const TVector2d * | GetAcceleration () const |
|
virtual double | GetAngularVelocity () |
|
virtual double | GetAngularAcceleration () |
|
virtual void | SetVelocity (TVector2d *pt_velocity_position) |
|
virtual void | GetRelativeVelocity (double *mag_relvelocity, double *dir_relvelocity, double feature_range) |
|
virtual void | GetRelativeAcceleration (double *mag_relacceleration, double *dir_relacceleration, double feature_range) |
|
virtual double | GetVectorAngle (TVector2d vector1, TVector2d vector2) |
|
virtual void | SimulationStep (unsigned int n_step_number) |
|
virtual void | SimulationStepUpdatePosition () |
|
virtual void | SetMaximumSpeed (double f_max_speed) |
|
virtual double | GetMaximumSpeed () const |
|
virtual double | GetMaximumAngularVelocity () const |
|
virtual unsigned int | GetColor () |
|
virtual void | SetColor (unsigned int un_index) |
|
virtual double | GetSize () |
|
virtual EAgentType | GetType ()=0 |
|
virtual unsigned int | GetIdentification () |
|
virtual void | SetBehavIdentification (int i_behavidentification) |
|
virtual int | GetBehavIdentification () |
|
virtual CAgent * | GetClosestAgent (double f_range, EAgentType e_type) |
|
virtual TVector2d | GetCenterOfMassOfSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual double | GetAverageDistanceToSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual TVector2d | GetAverageVelocityOfSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual TVector2d | GetAverageAccelerationOfSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual void | MarkAgentsWithinRange (TAgentListList *ptlist_agent_list_list, double f_range, EAgentType e_type) |
|
virtual CAgent * | GetRandomAgentWithinRange (TAgentListList *ptlist_agent_list_list, double f_range, EAgentType e_type) |
|
virtual unsigned int | CountAgentsInAgentListList (TAgentListList *ptlist_agent_list_list, double f_range, EAgentType e_type) |
|
virtual unsigned int | CountAgents (double f_range, EAgentType e_type) |
|
virtual void | SetRandomVelocity () |
|
virtual void | MoveTowards (TVector2d t_position, double f_max_speed) |
|
virtual void | SortAllAgentsAccordingToDistance (TAgentVector *pt_result) |
|
| CSimObject (const char *pch_name) |
|
const char * | GetName () const |
|
virtual void | Draw (CRender *pc_render) |
|
virtual void | Keypressed (int keycode) |
|
virtual void | AddChild (CSimObject *pc_child) |
|
virtual void | RemoveChild (CSimObject *pc_child) |
|
virtual void | PrintfChildren (unsigned indent) |
|
virtual TSimObjectVector * | GetChildren () |
|