Source

imalse / gui / NetAnim / README

NetAnim is an animator based on the multi-platform Qt 4 toolkit. NetAnim currently animates the simulation using an XML trace file collected during simulation.

Detailed instructions are found at http://www.nsnam.org/wiki/index.php/NetAnim

# Pre-requisites:
* Debian/Ubuntu Linux distribution:
  apt-get install qt4-dev-tools

* Red Hat/Fedora based distribution:
  yum install qt4
  yum install qt4-devel

* Mac/OSX
  Qt4 : Install Qt4 (including Qt Creator if possible) from http://qt.nokia.com/downloads/

# Build instructions

  cd netanim
  make clean
  qmake NetAnim.pro  (For Mac/OSX Users: qmake -spec macx-g++ NetAnim.pro)
  make

  ---- Note: qmake could be "qmake-qt4" in some systems

# Using NetAnim
  1. After building NetAnim, run the executable like so

  ./NetAnim

  2. Click the file open button and choose the path to the XML animation trace file

# Generating XML trace files

  See the examples under "src/netanim/examples"
  Run an example like so:
  ./waf --run "dumbbell-animation --nLeftLeaf=5 --nRightLeaf=5 --animFile=dumbbell.xml"

  For more detailed instruction visit http://www.nsnam.org/wiki/index.php/NetAnim
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.