1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <tchar.h>
- #include <System.Classes.hpp>
- #include <Vcl.Controls.hpp>
- #include <Vcl.StdCtrls.hpp>
- #include <Vcl.Forms.hpp>
- #include <Vcl.ExtCtrls.hpp>
- #include "GLS.BaseClasses.hpp"
- #include "GLS.Cadencer.hpp"
- #include "GLS.Coordinates.hpp"
- #include "GLS.Objects.hpp"
- #include "GLS.GeomObjects.hpp"
- #include "GLS.Scene.hpp"
- #include "GLS.SceneViewer.hpp"
- #include "GLS.Behaviours.hpp"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TGLSceneViewer *GLSceneViewer1;
- TPanel *Panel1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label4;
- TLabel *Label1;
- TLabel *Label5;
- TCheckBox *CheckBox1;
- TPanel *Panel2;
- TGLScene *GLScene1;
- TGLLightSource *GLLightSource1;
- TGLDummyCube *DummyCube1;
- TGLTetrahedron *Tetrahedron;
- TGLOctahedron *Octahedron;
- TGLCube *Hexahedron;
- TGLDodecahedron *Dodecahedron;
- TGLIcosahedron *Icosahedron;
- TGLCamera *GLCamera1;
- TGLCadencer *GLCadencer1;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
- int Y);
- void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
- void __fastcall CheckBox1Click(TObject *Sender);
- private: // User declarations
- Double lastTime;
- TGLBaseSceneObject *pickedObject;
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
|