Unit1.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <tchar.h>
  6. #include <System.Classes.hpp>
  7. #include <Vcl.Controls.hpp>
  8. #include <Vcl.StdCtrls.hpp>
  9. #include <Vcl.Forms.hpp>
  10. #include <Vcl.ExtCtrls.hpp>
  11. #include "GLS.BaseClasses.hpp"
  12. #include "GLS.Cadencer.hpp"
  13. #include "GLS.Coordinates.hpp"
  14. #include "GLS.Objects.hpp"
  15. #include "GLS.GeomObjects.hpp"
  16. #include "GLS.Scene.hpp"
  17. #include "GLS.SceneViewer.hpp"
  18. #include "GLS.Behaviours.hpp"
  19. //---------------------------------------------------------------------------
  20. class TForm1 : public TForm
  21. {
  22. __published: // IDE-managed Components
  23. TGLSceneViewer *GLSceneViewer1;
  24. TPanel *Panel1;
  25. TLabel *Label2;
  26. TLabel *Label3;
  27. TLabel *Label4;
  28. TLabel *Label1;
  29. TLabel *Label5;
  30. TCheckBox *CheckBox1;
  31. TPanel *Panel2;
  32. TGLScene *GLScene1;
  33. TGLLightSource *GLLightSource1;
  34. TGLDummyCube *DummyCube1;
  35. TGLTetrahedron *Tetrahedron;
  36. TGLOctahedron *Octahedron;
  37. TGLCube *Hexahedron;
  38. TGLDodecahedron *Dodecahedron;
  39. TGLIcosahedron *Icosahedron;
  40. TGLCamera *GLCamera1;
  41. TGLCadencer *GLCadencer1;
  42. void __fastcall FormCreate(TObject *Sender);
  43. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  44. int Y);
  45. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  46. void __fastcall CheckBox1Click(TObject *Sender);
  47. private: // User declarations
  48. Double lastTime;
  49. TGLBaseSceneObject *pickedObject;
  50. public: // User declarations
  51. __fastcall TForm1(TComponent* Owner);
  52. };
  53. //---------------------------------------------------------------------------
  54. extern PACKAGE TForm1 *Form1;
  55. //---------------------------------------------------------------------------
  56. #endif