12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <System.Classes.hpp>
- #include <Vcl.Controls.hpp>
- #include <Vcl.StdCtrls.hpp>
- #include <Vcl.Forms.hpp>
- #include <Vcl.ExtCtrls.hpp>
- #include <Vcl.Dialogs.hpp>
- #include "GLBaseClasses.hpp"
- #include "GLCoordinates.hpp"
- #include "GLCrossPlatform.hpp"
- #include "GLGeomObjects.hpp"
- #include "GLObjects.hpp"
- #include "GLScene.hpp"
- #include "GLVectorgeometry.hpp"
- #include "GLWin32Viewer.hpp"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TGLSceneViewer *GLSceneViewer1;
- TGLScene *GLScene1;
- TGLLightSource *GLLightSource1;
- TGLCamera *GLCamera1;
- TGLDummyCube *DummyCube1;
- TGLTorus *Torus;
- TGLCone *Cone;
- TGLCylinder *Cylinder;
- TGLSphere *Sphere;
- TTimer *Timer1;
- TTimer *TIPickTimer;
- void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
- int Y);
- void __fastcall TIPickTimerTimer(TObject *Sender);
- void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
- int X, int Y);
- void __fastcall Timer1Timer(TObject *Sender);
- void __fastcall SphereProgress(TObject *Sender, const double deltaTime, const double newTime);
- private: // User declarations
- TGLCustomSceneObject *currentPick;
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
|