fPathControlC.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //---------------------------------------------------------------------------
  2. #ifndef fPathControlCH
  3. #define fPathControlCH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include <Vcl.Buttons.hpp>
  10. #include "GLS.BaseClasses.hpp"
  11. #include "GLS.Cadencer.hpp"
  12. #include "GLS.Coordinates.hpp"
  13. #include "GLS.Objects.hpp"
  14. #include "GLS.Scene.hpp"
  15. #include "GLS.SimpleNavigation.hpp"
  16. #include "GLS.SceneViewer.hpp"
  17. #include "GLS.Movement.hpp"
  18. //---------------------------------------------------------------------------
  19. class TFormPathControl : public TForm
  20. {
  21. __published: // IDE-managed Components
  22. TGLSceneViewer *GLSceneViewer1;
  23. TBitBtn *MoveBtn;
  24. TGLScene *GLScene1;
  25. TGLDummyCube *DummyCube1;
  26. TGLCube *Cube2;
  27. TGLLightSource *GLLightSource1;
  28. TGLSphere *Sphere1;
  29. TGLCamera *GLCamera1;
  30. TGLCadencer *GLCadencer1;
  31. TGLSimpleNavigation *GLSimpleNavigation1;
  32. void __fastcall FormActivate(TObject *Sender);
  33. void __fastcall MoveBtnClick(TObject *Sender);
  34. private: // User declarations
  35. void PathTravelStop(TObject *Sender, TGLMovementPath *Path, bool Looped);
  36. void PathAllTravelledOver(TObject *Sender);
  37. public: // User declarations
  38. __fastcall TFormPathControl(TComponent* Owner);
  39. };
  40. //---------------------------------------------------------------------------
  41. extern PACKAGE TFormPathControl *FormPathControl;
  42. //---------------------------------------------------------------------------
  43. #endif