Unit1.h 1.4 KB

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