How meshula/opensteer works
OpenSteer is a C++ steering-behavior toolkit and interactive OpenGL demo for autonomous characters. The user selects a plug-in, runs or steps its simulation, chooses and tracks vehicles, and views annotated behavior. The graph preserves the documented behavior-prototyping workflow, vehicle/steering toolkit, path queries, proximity support, and visualization. Source evidence is partial: some relationships are documented in the README or SOURCE INDEX, while unsampled plug-in details are represented only at their existing paths.
Main entry points: PlugIn.h Plug-in framework · SimpleVehicle.h Simple vehicle · OpenSteerDemo.cpp OpenSteerDemo · Pedestrian.cpp Pedestrian scenarios
Components 25
Interactive demo
- OpenSteerDemo
src/OpenSteerDemo.cpp - Application entry
src/main.cpp - Plug-in framework
include/OpenSteer/PlugIn.h - Simulation clock
src/Clock.cpp - Tracking camera
src/Camera.cpp
Behavior examples
- Boids
plugins/Boids.cpp - Capture the Flag
plugins/CaptureTheFlag.cpp - Pedestrian scenarios
plugins/Pedestrian.cpp - Eight-walk scenario
plugins/PedestriansWalkingAnEight.cpp - MapDrive scenario
plugins/MapDrive.cpp - Other behavior examples
plugins
Vehicles and steering
- Simple vehicle
include/OpenSteer/SimpleVehicle.h - Steering behaviors
include/OpenSteer/SteerLibrary.h - Vehicle interface
include/OpenSteer/AbstractVehicle.h
Paths and spatial queries
- Segmented pathways
src/SegmentedPathway.cpp - Polyline paths
src/PolylineSegmentedPath.cpp - Path mapping
include/OpenSteer/QueryPathAlike.h - Path extraction policies
include/OpenSteer/QueryPathAlikeBaseDataExtractionPolicies.h - Mapping types
include/OpenSteer/QueryPathAlikeMappings.h - Proximity queries
include/OpenSteer/Proximity.h
Visualization
- Annotations
include/OpenSteer/Annotation.h - Drawing API
include/OpenSteer/Draw.h - OpenGL drawing
src/Draw.cpp - Colors
include/OpenSteer/Color.h
Other components
- AI programmer
Connections 29
- AI programmer → Plug-in framework: creates plug-in
- Application entry → OpenSteerDemo: starts demo
src/main.cpp - OpenSteerDemo → Plug-in framework: selects plug-in
- OpenSteerDemo → Simulation clock: tracks time
- OpenSteerDemo → Tracking camera: tracks vehicle
- Plug-in framework → Boids: runs behavior
- Plug-in framework → Capture the Flag: runs behavior
- Plug-in framework → Pedestrian scenarios: runs behavior
- Plug-in framework → Eight-walk scenario: runs behavior
- Plug-in framework → MapDrive scenario: runs behavior
- Plug-in framework → Other behavior examples: runs behavior
- Simple vehicle → Vehicle interface: extends
include/OpenSteer/SimpleVehicle.h - Simple vehicle → Steering behaviors: uses
include/OpenSteer/SimpleVehicle.h - Pedestrian scenarios → Simple vehicle: uses
plugins/Pedestrian.cpp - Eight-walk scenario → Simple vehicle: uses
plugins/PedestriansWalkingAnEight.cpp - Capture the Flag → Simple vehicle: uses
plugins/CaptureTheFlag.cpp - MapDrive scenario → Simple vehicle: uses
plugins/MapDrive.cpp - Pedestrian scenarios → Proximity queries: queries neighbors
plugins/Pedestrian.cpp - Eight-walk scenario → Proximity queries: queries neighbors
plugins/PedestriansWalkingAnEight.cpp - Eight-walk scenario → Segmented pathways: uses pathway
plugins/PedestriansWalkingAnEight.cpp - Pedestrian scenarios → Segmented pathways: uses pathway
plugins/Pedestrian.cpp - MapDrive scenario → Path mapping: queries path
plugins/MapDrive.cpp - Segmented pathways → Polyline paths: uses segments
- Path mapping → Path extraction policies: extracts data
include/OpenSteer/QueryPathAlike.h - Path mapping → Mapping types: fills mapping
include/OpenSteer/QueryPathAlikeMappings.h - Annotations → Drawing API: requests drawing
include/OpenSteer/Annotation.h - Drawing API → OpenGL drawing: implements
src/Draw.cpp - OpenSteerDemo → Drawing API: redraws scene
- OpenGL drawing → Colors: uses colors