Unit1.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <tchar.h>
  6. //---------------------------------------------------------------------------
  7. #include <System.Classes.hpp>
  8. #include <Vcl.Controls.hpp>
  9. #include <Vcl.StdCtrls.hpp>
  10. #include <Vcl.Forms.hpp>
  11. #include <Vcl.ExtCtrls.hpp>
  12. #include "GLS.BaseClasses.hpp"
  13. #include "GLS.Cadencer.hpp"
  14. #include "GLS.Coordinates.hpp"
  15. #include "GLS.GeomObjects.hpp"
  16. #include "GLS.Material.hpp"
  17. #include "GLS.Objects.hpp"
  18. #include "GLS.Scene.hpp"
  19. #include "GLS.ShadowPlane.hpp"
  20. #include "GLS.SceneViewer.hpp"
  21. #include "GLS.Utils.hpp"
  22. #include "JPeg.hpp"
  23. //---------------------------------------------------------------------------
  24. class TForm1 : public TForm
  25. {
  26. __published: // IDE-managed Components
  27. TGLSceneViewer *GLSceneViewer1;
  28. TPanel *Panel1;
  29. TCheckBox *CBShadows;
  30. TCheckBox *CBStencil;
  31. TGLScene *GLScene1;
  32. TGLDummyCube *DCShadowing;
  33. TGLCube *Cube1;
  34. TGLSphere *Sphere1;
  35. TGLTorus *Torus1;
  36. TGLDummyCube *DCLight;
  37. TGLLightSource *GLLightSource1;
  38. TGLSphere *Sphere2;
  39. TGLDummyCube *DCCameraTarget;
  40. TGLCamera *GLCamera1;
  41. TGLShadowPlane *GLShadowPlane1;
  42. TGLShadowPlane *GLShadowPlane2;
  43. TGLShadowPlane *GLShadowPlane3;
  44. TGLCadencer *GLCadencer1;
  45. TTimer *Timer1;
  46. TGLMaterialLibrary *GLMaterialLibrary;
  47. void __fastcall FormCreate(TObject *Sender);
  48. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  49. void __fastcall CBShadowsClick(TObject *Sender);
  50. void __fastcall CBStencilClick(TObject *Sender);
  51. void __fastcall Timer1Timer(TObject *Sender);
  52. private: // User declarations
  53. public: // User declarations
  54. __fastcall TForm1(TComponent* Owner);
  55. };
  56. //---------------------------------------------------------------------------
  57. extern PACKAGE TForm1 *Form1;
  58. //---------------------------------------------------------------------------
  59. #endif