Unit1.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <GLGeomObjects.hpp> // Pascal unit
  10. #include <GLCadencer.hpp> // Pascal unit
  11. #include <GLWin32Viewer.hpp> // Pascal unit
  12. #include <GLObjects.hpp> // Pascal unit
  13. #include <GLVectorFileObjects.hpp> // Pascal unit
  14. #include <GLScene.hpp> // Pascal unit
  15. #include <ExtCtrls.hpp>
  16. #include "GLBaseClasses.hpp"
  17. #include "GLCoordinates.hpp"
  18. #include "GLCrossPlatform.hpp" // Pascal unit
  19. #include "GLUtils.hpp" // Pascal unit
  20. //---------------------------------------------------------------------------
  21. class TForm1:public TForm
  22. {
  23. __published: // IDE-managed Components
  24. TGLScene * GLScene1;
  25. TGLLightSource *GLLightSource1;
  26. TGLDummyCube *DummyCube1;
  27. TGLFreeForm *FreeForm1;
  28. TGLSphere *Sphere1;
  29. TGLArrowLine *ArrowLine1;
  30. TGLSceneViewer *GLSceneViewer2;
  31. TGLCamera *GLCamera2;
  32. TGLCadencer *GLCadencer1;
  33. TTimer *Timer1;
  34. TPanel *Panel1;
  35. TLabel *Label1;
  36. TLabel *Label2;
  37. TLabel *Label3;
  38. TLabel *Label5;
  39. TLabel *LABuild;
  40. TCheckBox *CheckBox1;
  41. TCheckBox *CBOctree;
  42. TLabel *Label4;
  43. TLabel *LabelFPS;
  44. void __fastcall GLSceneViewer2MouseDown(TObject * Sender, TMouseButton Button,
  45. TShiftState Shift, int X, int Y);
  46. void __fastcall GLSceneViewer2MouseMove(TObject * Sender, TShiftState Shift,
  47. int X, int Y);
  48. void __fastcall GLCadencer1Progress(TObject * Sender, const double deltaTime,
  49. const double newTime);
  50. void __fastcall Timer1Timer(TObject * Sender);
  51. private: // User declarations
  52. public: // User declarations
  53. __fastcall TForm1(TComponent * Owner);
  54. int mousex, mousey;
  55. };
  56. //---------------------------------------------------------------------------
  57. extern PACKAGE TForm1 *Form1;
  58. //---------------------------------------------------------------------------
  59. #endif