//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include //--------------------------------------------------------------------------- #include #include #include #include #include #include "GLS.BaseClasses.hpp" #include "GLS.Cadencer.hpp" #include "GLS.Coordinates.hpp" #include "GLS.GeomObjects.hpp" #include "GLS.Material.hpp" #include "GLS.Objects.hpp" #include "GLS.Scene.hpp" #include "GLS.ShadowPlane.hpp" #include "GLS.SceneViewer.hpp" #include "GLS.Utils.hpp" #include "JPeg.hpp" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TGLSceneViewer *GLSceneViewer1; TPanel *Panel1; TCheckBox *CBShadows; TCheckBox *CBStencil; TGLScene *GLScene1; TGLDummyCube *DCShadowing; TGLCube *Cube1; TGLSphere *Sphere1; TGLTorus *Torus1; TGLDummyCube *DCLight; TGLLightSource *GLLightSource1; TGLSphere *Sphere2; TGLDummyCube *DCCameraTarget; TGLCamera *GLCamera1; TGLShadowPlane *GLShadowPlane1; TGLShadowPlane *GLShadowPlane2; TGLShadowPlane *GLShadowPlane3; TGLCadencer *GLCadencer1; TTimer *Timer1; TGLMaterialLibrary *GLMaterialLibrary; void __fastcall FormCreate(TObject *Sender); void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime); void __fastcall CBShadowsClick(TObject *Sender); void __fastcall CBStencilClick(TObject *Sender); void __fastcall Timer1Timer(TObject *Sender); private: // User declarations public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif