fPickC.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //---------------------------------------------------------------------------
  2. #ifndef fPickCH
  3. #define fPickCH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include "GLS.BaseClasses.hpp"
  10. #include "GLS.Coordinates.hpp"
  11. #include "GLS.GeomObjects.hpp"
  12. #include "GLS.Objects.hpp"
  13. #include "GLS.Scene.hpp"
  14. #include "GLS.SceneViewer.hpp"
  15. //---------------------------------------------------------------------------
  16. class TForm1 : public TForm
  17. {
  18. __published: // IDE-managed Components
  19. TGLSceneViewer *GLSceneViewer1;
  20. TGLScene *GLScene1;
  21. TGLDummyCube *DummyCube1;
  22. TGLLightSource *GLLightSource1;
  23. TGLSphere *Sphere;
  24. TGLCylinder *Cylinder;
  25. TGLTorus *Torus;
  26. TGLCone *Cone;
  27. TGLCamera *GLCamera1;
  28. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  29. int Y);
  30. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  31. int X, int Y);
  32. private: // User declarations
  33. TGLCustomSceneObject *oldPick;
  34. public: // User declarations
  35. __fastcall TForm1(TComponent* Owner);
  36. };
  37. //---------------------------------------------------------------------------
  38. extern PACKAGE TForm1 *Form1;
  39. //---------------------------------------------------------------------------
  40. #endif