#ifndef SPIRALINDEXTEST_H
#define SPIRALINDEXTEST_H

#include <gobj.h>
#include <point.h>

/*!
\brief Test the spiralindex class.
*/
class spiralindextest
{
  /** Global graphics stream. */
  gobjContainer xGraphics;
public:

  typedef point2<double> pt2;
  typedef point3<double> pt3;

  /** Default keyboard handler - ESC to quit. */
  static void keyboard01(unsigned char key, int x, int y);
  /** Displays the gobj::global with double buffering. */
  static void display01();

  /** Print out a spiral's indexes. */
  static void test01(int argc, char** argv);

  /** Display a spiral. */
  void test02(int argc, char** argv);

  /** Print out a 3D spiral's indexes. */
  static void test03(int argc, char** argv);

  /** Display a 3D spiral. */
  void test04(int argc, char** argv);

};


#endif



