fcHFPick.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //---------------------------------------------------------------------------
  2. #ifndef fcHFPickH
  3. #define fcHFPickH
  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.Graph.hpp"
  12. #include "GLS.Scene.hpp"
  13. #include "GLS.SceneViewer.hpp"
  14. #include <Vcl.ExtCtrls.hpp>
  15. //---------------------------------------------------------------------------
  16. class TFormHFPick : public TForm
  17. {
  18. __published: // IDE-managed Components
  19. TGLSceneViewer *glViewer;
  20. TPanel *Panel1;
  21. TLabel *Label1;
  22. TLabel *Label2;
  23. TLabel *Label3;
  24. TRadioButton *RBPaint;
  25. TRadioButton *RBRotate;
  26. TGLScene *GLScene1;
  27. TGLLightSource *GLLightSource1;
  28. TGLCamera *GLCamera1;
  29. TGLHeightField *HeightField;
  30. void __fastcall FormCreate(TObject *Sender);
  31. void __fastcall glViewerMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  32. int X, int Y);
  33. void __fastcall glViewerMouseMove(TObject *Sender, TShiftState Shift, int X,
  34. int Y);
  35. void __fastcall HeightFieldGetHeight2(TObject *Sender, const float x, const float y,
  36. float &z, TGLColorVector &Color, TTexPoint &TexPoint);
  37. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  38. private: // User declarations
  39. int mx, my;
  40. public: // User declarations
  41. __fastcall TFormHFPick(TComponent* Owner);
  42. };
  43. //---------------------------------------------------------------------------
  44. extern PACKAGE TFormHFPick *FormHFPick;
  45. //---------------------------------------------------------------------------
  46. #endif