Unit1.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include <Vcl.CheckLst.hpp>
  10. #include <Vcl.ExtCtrls.hpp>
  11. #include <Vcl.Imaging.jpeg.hpp>
  12. #include "GLBaseClasses.hpp"
  13. #include "GLCadencer.hpp"
  14. #include "GLCoordinates.hpp"
  15. #include "GLCrossPlatform.hpp"
  16. #include "GLGeomObjects.hpp"
  17. #include "GLGraph.hpp"
  18. #include "GLMaterial.hpp"
  19. #include "GLObjects.hpp"
  20. #include "GLPostEffects.hpp"
  21. #include "GLScene.hpp"
  22. #include "GLSimpleNavigation.hpp"
  23. #include "GLVectorFileObjects.hpp"
  24. #include "GLWin32Viewer.hpp"
  25. #include "GLUtils.hpp"
  26. #include "GLSLPostShaders.hpp"
  27. #include "GLCGPostTransformationShader.hpp"
  28. // FileFormats
  29. #include "GLFileTGA.hpp"
  30. #include "GLFileMD2.hpp"
  31. #include "GLFileMS3D.hpp"
  32. #include "GLFile3DS.hpp"
  33. //---------------------------------------------------------------------------
  34. class TForm1 : public TForm
  35. {
  36. __published: // IDE-managed Components
  37. TGLSceneViewer *Viewer;
  38. TPanel *Panel1;
  39. TCheckBox *LightMovingCheckBox;
  40. TCheckBox *TurnPitchrollCheckBox;
  41. TPanel *Panel2;
  42. TLabel *Label1;
  43. TCheckListBox *ShaderCheckListBox;
  44. TCheckBox *BigBlurThicknessCheckbox;
  45. TGLScene *Scene;
  46. TGLDummyCube *GUICube;
  47. TGLArrowLine *GLArrowLine1;
  48. TGLXYZGrid *GLXYZGrid1;
  49. TGLDummyCube *LightCube;
  50. TGLLightSource *Light;
  51. TGLSphere *GLSphere1;
  52. TGLDummyCube *WorldCube;
  53. TGLActor *Fighter;
  54. TGLActor *Teapot;
  55. TGLActor *Sphere_big;
  56. TGLActor *Sphere_little;
  57. TGLPostShaderHolder *PostShaderHolder;
  58. TGLCamera *Camera;
  59. TGLCadencer *Cadencer;
  60. TGLMaterialLibrary *MaterialLibrary;
  61. TGLSimpleNavigation *GLSimpleNavigation1;
  62. void __fastcall FormCreate(TObject *Sender);
  63. void __fastcall CadencerProgress(TObject *Sender, const double deltaTime, const double newTime);
  64. void __fastcall LightCubeProgress(TObject *Sender, const double deltaTime, const double newTime);
  65. void __fastcall BigBlurThicknessCheckboxClick(TObject *Sender);
  66. void __fastcall ShaderCheckListBoxClick(TObject *Sender);
  67. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  68. private: // User declarations
  69. int mx, my;
  70. TGLSLPostBlurShader *BlurShader;
  71. TGLCGPostTransformationShader *TransformationShader;
  72. public: // User declarations
  73. __fastcall TForm1(TComponent* Owner);
  74. };
  75. //---------------------------------------------------------------------------
  76. extern PACKAGE TForm1 *Form1;
  77. //---------------------------------------------------------------------------
  78. #endif