2
0

Unit1.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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.GeomObjects.hpp"
  15. #include "GLS.Material.hpp"
  16. #include "GLS.Objects.hpp"
  17. #include "GLS.Scene.hpp"
  18. #include "GLSL.ProjectedTextures.hpp"
  19. #include "GLS.VectorFileObjects.hpp"
  20. #include "GLS.SceneViewer.hpp"
  21. //---------------------------------------------------------------------------
  22. class TForm1 : public TForm
  23. {
  24. __published: // IDE-managed Components
  25. TGLSceneViewer *GLSceneViewer1;
  26. TGLScene *GLScene1;
  27. TGLSLProjectedTextures *GLSLProjectedTextures1;
  28. TGLFreeForm *GLFreeForm1;
  29. TGLCube *GLCube1;
  30. TGLDummyCube *GLDummyCube3;
  31. TGLSLTextureEmitter *GLSLTextureEmitter2;
  32. TGLArrowLine *GLArrowLine1;
  33. TGLSLTextureEmitter *GLSLTextureEmitter1;
  34. TGLCamera *GLCamera1;
  35. TGLLightSource *GLLightSource2;
  36. TGLCadencer *GLCadencer1;
  37. TTimer *Timer1;
  38. TGLMaterialLibrary *GLMaterialLibrary1;
  39. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  40. void __fastcall GLCamera1CustomPerspective(const TRectangle &viewport, int width,
  41. int height, int DPI, float &viewPortRadius);
  42. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  43. int Y);
  44. void __fastcall FormMouseWheel(TObject *Sender, TShiftState Shift, int WheelDelta,
  45. TPoint &MousePos, bool &Handled);
  46. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  47. int X, int Y);
  48. void __fastcall Timer1Timer(TObject *Sender);
  49. void __fastcall FormCreate(TObject *Sender);
  50. private: // User declarations
  51. int mx, my;
  52. int sdir;
  53. public: // User declarations
  54. __fastcall TForm1(TComponent* Owner);
  55. };
  56. //---------------------------------------------------------------------------
  57. extern PACKAGE TForm1 *Form1;
  58. //---------------------------------------------------------------------------
  59. #endif