Main Page | Namespace List | Data Structures | File List | Data Fields | Globals

interface.h

Go to the documentation of this file.
00001 #include <qglviewer.h>
00002 
00003 using namespace qglviewer ;
00004 
00012 typedef enum {
00013         NONE, ADDAXON
00014 } mode ;
00015 
00016 class Viewer : public QGLViewer {
00017 public :
00018         Viewer(QWidget *parent,const char *name);
00019         void drawText( float x, float y, float z, const QString& s, const QFont& q ) ;
00020     void timerEvent(QTimerEvent*) ;
00021     void setMode( int mode ) ;
00022     int mode(void) ;
00023     void resetMode(void) ;
00024 
00025 protected :
00026         virtual void draw();
00027         virtual void drawWithNames();
00028         virtual void fastDraw() ;
00029         virtual void postSelection(int x, int y);
00030         virtual void init();
00031         virtual QString helpString() const;
00032         
00033 private :
00034         LocalConstraint * constraint, * layerconstraint ;               
00035         int mode_ ;
00036         int idfrom_ ;
00037         int idto_ ;
00038 };
00039 

Generated on Fri Dec 3 14:57:50 2004 for INN by doxygen 1.3.6