![]() |
MAK Legion 1.1 API Documentation
|
Contains a simple talk example that updates an entity. More...
Functions | |
| const std::string | theName ("talk") |
| void | processArgumentsAndConfiguration (int argc, char *argv[], Legion::Configuration &configuration) |
| void | setMinMaxBoundary (Legion::BoundarySpatialPlanar &boundary, float minX, float minY, float maxX, float maxY) |
| void | initializeEntity (LOM::WriteEntityRepository &entity, VRF::WriteDIGuyAppearanceRepository &diguy) |
| int | main (int argc, char *argv[]) |
Variables | |
| std::string | theConfigFile = "legionExamples.lua" |
| float | theFrameRate = 10.0 |
| float | theReferenceLatitude = 0.0 |
| float | theReferenceLongitude = 0.0 |
| float | theChangeDirectionInterval = 5.0 |
Contains a simple talk example that updates an entity.
| void initializeEntity | ( | LOM::WriteEntityRepository & | entity, |
| VRF::WriteDIGuyAppearanceRepository & | diguy | ||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
References Legion::EventManager::addEvent(), Legion::SimulationDatabase::beginFrame(), Legion::EventManager::createEvent(), Legion::SimulationDatabase::createInstance(), Legion::SimulationDatabase::endFrame(), Legion::SimulationDatabase::eventManager(), initializeEntity(), Legion::Connection::isConnected(), processArgumentsAndConfiguration(), Legion::Connection::setIntent(), Legion::Connection::setInterest(), setMinMaxBoundary(), Legion::Connection::startProcessingMessages(), theChangeDirectionInterval, theFrameRate, theName(), theReferenceLatitude, theReferenceLongitude, and Legion::Connection::waitUntilDoneProcessingMessages().
| void processArgumentsAndConfiguration | ( | int | argc, |
| char * | argv[], | ||
| Legion::Configuration & | configuration | ||
| ) |
| void setMinMaxBoundary | ( | Legion::BoundarySpatialPlanar & | boundary, |
| float | minX, | ||
| float | minY, | ||
| float | maxX, | ||
| float | maxY | ||
| ) |
| const std::string theName | ( | "talk" | ) |
| float theChangeDirectionInterval = 5.0 |
| std::string theConfigFile = "legionExamples.lua" |
| float theFrameRate = 10.0 |
| float theReferenceLatitude = 0.0 |
| float theReferenceLongitude = 0.0 |