fHFPickC.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //---------------------------------------------------------------------------
  2. #ifndef fHFPickCH
  3. #define fHFPickCH
  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 *GLSceneViewer;
  20. TPanel *Panel1;
  21. TLabel *Label1;
  22. TLabel *Label2;
  23. TLabel *Label3;
  24. TRadioButton *RBPaint;
  25. TRadioButton *RadioButton2;
  26. TGLScene *GLScene1;
  27. TGLLightSource *GLLightSource1;
  28. TGLCamera *GLCamera1;
  29. TGLHeightField *HeightField;
  30. void __fastcall FormCreate(TObject *Sender);
  31. void __fastcall HeightFieldGetHeight(const float x, const float y, float &z, TVector4f &Color,
  32. TTexPoint &TexPoint);
  33. void __fastcall GLSceneViewerMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  34. int X, int Y);
  35. void __fastcall GLSceneViewerMouseMove(TObject *Sender, TShiftState Shift, int X,
  36. int Y);
  37. private: // User declarations
  38. int mx, my;
  39. public: // User declarations
  40. __fastcall TFormHFPick(TComponent* Owner);
  41. };
  42. //---------------------------------------------------------------------------
  43. extern PACKAGE TFormHFPick *FormHFPick;
  44. //---------------------------------------------------------------------------
  45. #endif