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 "GLBaseClasses.hpp"
  13. #include "GLCadencer.hpp"
  14. #include "GLCoordinates.hpp"
  15. #include "GLCrossPlatform.hpp"
  16. #include "GLGeomObjects.hpp"
  17. #include "GLMaterial.hpp"
  18. #include "GLObjects.hpp"
  19. #include "GLScene.hpp"
  20. #include "GLShadowPlane.hpp"
  21. #include "GLWin32Viewer.hpp"
  22. #include "GLUtils.hpp"
  23. #include "JPeg.hpp"
  24. //---------------------------------------------------------------------------
  25. class TForm1 : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TGLSceneViewer *GLSceneViewer1;
  29. TPanel *Panel1;
  30. TCheckBox *CBShadows;
  31. TCheckBox *CBStencil;
  32. TGLScene *GLScene1;
  33. TGLDummyCube *DCShadowing;
  34. TGLCube *Cube1;
  35. TGLSphere *Sphere1;
  36. TGLTorus *Torus1;
  37. TGLDummyCube *DCLight;
  38. TGLLightSource *GLLightSource1;
  39. TGLSphere *Sphere2;
  40. TGLDummyCube *DCCameraTarget;
  41. TGLCamera *GLCamera1;
  42. TGLShadowPlane *GLShadowPlane1;
  43. TGLShadowPlane *GLShadowPlane2;
  44. TGLShadowPlane *GLShadowPlane3;
  45. TGLCadencer *GLCadencer1;
  46. TTimer *Timer1;
  47. TGLMaterialLibrary *GLMaterialLibrary;
  48. void __fastcall FormCreate(TObject *Sender);
  49. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  50. void __fastcall CBShadowsClick(TObject *Sender);
  51. void __fastcall CBStencilClick(TObject *Sender);
  52. void __fastcall Timer1Timer(TObject *Sender);
  53. private: // User declarations
  54. public: // User declarations
  55. __fastcall TForm1(TComponent* Owner);
  56. };
  57. //---------------------------------------------------------------------------
  58. extern PACKAGE TForm1 *Form1;
  59. //---------------------------------------------------------------------------
  60. #endif