#ifndef VRMLTEST_H
#define VRMLTEST_H

#include <string>
using namespace std;

#include <vrmlshapeparse.h>
#include <vrmlshape.h>


/*!
\brief Test the VRML classes.

Only a limited subset of VRML is supported.
*/
class vrmltest
{
  static void getfilename(string & filename);
  static vrmlshapeparse vsp;
  static vector< vrmlshape > vs;
  static bool winding;
  static vrmllines vL;
  static void keyboard(unsigned char key, int x, int y);
  static void display();
public:

  /** Parse head.wrl . */
  static void test01(int argc, char** argv);

  /** Display a VRML file. ./main filename=head.wrl */
  static void test02(int argc, char** argv);

  /** Prompt user for vrml file, parse and print shapes. */
  static void test03(int argc, char** argv);

};


#endif



