Unit1.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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.ExtCtrls.hpp>
  10. #include <Vcl.Dialogs.hpp>
  11. #include "GLBaseClasses.hpp"
  12. #include "GLCoordinates.hpp"
  13. #include "GLCrossPlatform.hpp"
  14. #include "GLGeomObjects.hpp"
  15. #include "GLObjects.hpp"
  16. #include "GLScene.hpp"
  17. #include "GLVectorgeometry.hpp"
  18. #include "GLWin32Viewer.hpp"
  19. //---------------------------------------------------------------------------
  20. class TForm1 : public TForm
  21. {
  22. __published: // IDE-managed Components
  23. TGLSceneViewer *GLSceneViewer1;
  24. TGLScene *GLScene1;
  25. TGLLightSource *GLLightSource1;
  26. TGLCamera *GLCamera1;
  27. TGLDummyCube *DummyCube1;
  28. TGLTorus *Torus;
  29. TGLCone *Cone;
  30. TGLCylinder *Cylinder;
  31. TGLSphere *Sphere;
  32. TTimer *Timer1;
  33. TTimer *TIPickTimer;
  34. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  35. int Y);
  36. void __fastcall TIPickTimerTimer(TObject *Sender);
  37. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  38. int X, int Y);
  39. void __fastcall Timer1Timer(TObject *Sender);
  40. void __fastcall SphereProgress(TObject *Sender, const double deltaTime, const double newTime);
  41. private: // User declarations
  42. TGLCustomSceneObject *currentPick;
  43. public: // User declarations
  44. __fastcall TForm1(TComponent* Owner);
  45. };
  46. //---------------------------------------------------------------------------
  47. extern PACKAGE TForm1 *Form1;
  48. //---------------------------------------------------------------------------
  49. #endif