utils/mobility-visualizer.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 13 Mar 2008 12:56:49 -0700
changeset 2602 d9262bff6df2
parent 1670 09ff9d07333e
permissions -rw-r--r--
add back support for introspected doxygen.

/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#include <vector>

int model_init (int argc, char *argv[], double *x1, double *y1, double *x2, double *y2);

struct NodeUpdate
{
    void *node;
    double x;
    double y;
    double vx;
    double vy;
};

struct ViewUpdateData
{
  std::vector<NodeUpdate> updateList;
  double time;
};

void view_update (ViewUpdateData *updateData);

#define SAMPLE_INTERVAL (1.0/30)