27 #ifndef GLVIEWER_VIEWER2D_H 
   28 #define GLVIEWER_VIEWER2D_H 
   39 #include <TColStd_SequenceOfInteger.hxx> 
   42 #include <OpenGL/gl.h> 
   67 #pragma warning( disable:4251 ) 
  123   void                 addPopupItems( 
QMenu* );
 
  133   void                 updateColors( QColor colorH, QColor colorS );
 
  138   void                 updateBorders();
 
  144   void                 updateDrawers( GLboolean onlyUpdate, GLfloat scX = 0.0, GLfloat scY = 0.0 );
 
  148   void                 activateDrawer( 
GLViewer_Object* theObject, 
bool onlyUpdate, GLboolean swap = GL_FALSE );
 
  151   void                 activateAllDrawers( 
bool onlyUpdate, GLboolean swap = GL_FALSE );
 
  154   void                 transPoint( GLfloat& x, GLfloat& y );
 
  164   virtual void         insertHeader( VectorFileType aType, 
QFile& hFile );
 
  166   virtual void         insertEnding( VectorFileType aType, 
QFile& hFile );
 
  171   virtual bool         translateTo( VectorFileType aType, QString FileName, PaperType aPType, 
 
  172                                    double mmLeft, 
double mmRight, 
double mmTop, 
double mmBottom );
 
  186   void                 wheelZoomChange( 
bool );
 
  196   void                 onCreateGLMarkers( 
int number = 1000, 
int size = 5 );
 
  198   void                 onCreateGLPolyline( 
int number = 100, 
int angles = 10, 
int size = 100 );
 
  200   void                 onCreateGLText( QString text = 
"Text", 
int number = 1 );
 
  209   void                 transformCoordsToPS( 
double& x, 
double& y );
 
  211   void                 transformCoordsToHPGL( 
double& x, 
double& y );
 
  227   bool                 testRotation( QMouseEvent* );
 
  256 #pragma warning ( default:4251 )