fcHeightmap.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //---------------------------------------------------------------------------
  2. #ifndef fcHeightmapH
  3. #define fcHeightmapH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <FMX.Controls.hpp>
  7. #include <FMX.Forms.hpp>
  8. #include "GBE.Heightmap.hpp"
  9. #include <FMX.Ani.hpp>
  10. #include <FMX.Controls.Presentation.hpp>
  11. #include <FMX.Controls3D.hpp>
  12. #include <FMX.Edit.hpp>
  13. #include <FMX.EditBox.hpp>
  14. #include <FMX.Layouts.hpp>
  15. #include <FMX.MaterialSources.hpp>
  16. #include <FMX.Objects.hpp>
  17. #include <FMX.Objects3D.hpp>
  18. #include <FMX.SpinBox.hpp>
  19. #include <FMX.StdCtrls.hpp>
  20. #include <FMX.Types.hpp>
  21. #include <FMX.Types3D.hpp>
  22. #include <FMX.Viewport3D.hpp>
  23. #include <System.Math.Vectors.hpp>
  24. //---------------------------------------------------------------------------
  25. class TFormHeightmap : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TViewport3D *Viewport3D1;
  29. TGBEHeightmap *GBEHeightmap1;
  30. TFloatAnimation *FloatAnimation2;
  31. TCylinder *Cylinder1;
  32. TCylinder *Cylinder2;
  33. TFloatAnimation *FloatAnimation1;
  34. TFloatAnimation *FloatAnimation3;
  35. TLayout *Layout1;
  36. TRectangle *Rectangle1;
  37. TLabel *LabelLines;
  38. TLabel *Label2;
  39. TSwitch *SwitchToLines;
  40. TSwitch *SwitchToRamp;
  41. TLabel *LabelBlur;
  42. TSpinBox *SpinBoxBlur;
  43. TImage *Image1;
  44. TLight *Light1;
  45. TColorMaterialSource *ColorMaterialSource1;
  46. TLightMaterialSource *LightMaterialSource1;
  47. TLightMaterialSource *LightMaterialSource3;
  48. void __fastcall FormCreate(TObject *Sender);
  49. void __fastcall FloatAnimation2Process(TObject *Sender);
  50. void __fastcall SwitchToLinesSwitch(TObject *Sender);
  51. void __fastcall SwitchToRampSwitch(TObject *Sender);
  52. void __fastcall SpinBoxBlurChange(TObject *Sender);
  53. private: // User declarations
  54. public: // User declarations
  55. __fastcall TFormHeightmap(TComponent* Owner);
  56. };
  57. //---------------------------------------------------------------------------
  58. extern PACKAGE TFormHeightmap *FormHeightmap;
  59. //---------------------------------------------------------------------------
  60. #endif