Unit1.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  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.Extrusion.hpp"
  12. #include "GLS.Objects.hpp"
  13. #include "GLS.Scene.hpp"
  14. #include "GLS.SceneViewer.hpp"
  15. #include <Vcl.ComCtrls.hpp>
  16. #include <Vcl.ExtCtrls.hpp>
  17. #include "GLS.Utils.hpp"
  18. #include "Jpeg.hpp"
  19. //---------------------------------------------------------------------------
  20. class TForm1 : public TForm
  21. {
  22. __published: // IDE-managed Components
  23. TGLSceneViewer *GLSceneViewer1;
  24. TPanel *Panel1;
  25. TLabel *Label1;
  26. TLabel *Label3;
  27. TLabel *Label4;
  28. TLabel *Label2;
  29. TLabel *LabelTri;
  30. TCheckBox *CheckBox1;
  31. TCheckBox *CheckBox2;
  32. TCheckBox *CheckBox3;
  33. TCheckBox *CheckBox4;
  34. TTrackBar *TrackBar2;
  35. TTrackBar *TrackBar3;
  36. TTrackBar *TrackBar1;
  37. TGLScene *GLScene1;
  38. TGLLightSource *GLLightSource1;
  39. TGLDummyCube *DummyCube1;
  40. TGLRevolutionSolid *RotationSolid1;
  41. TGLCamera *GLCamera1;
  42. TTimer *Timer1;
  43. void __fastcall FormCreate(TObject *Sender);
  44. void __fastcall CheckBox1Click(TObject *Sender);
  45. void __fastcall CheckBox2Click(TObject *Sender);
  46. void __fastcall CheckBox3Click(TObject *Sender);
  47. void __fastcall CheckBox4Click(TObject *Sender);
  48. void __fastcall TrackBar1Change(TObject *Sender);
  49. void __fastcall TrackBar2Change(TObject *Sender);
  50. void __fastcall TrackBar3Change(TObject *Sender);
  51. void __fastcall Timer1Timer(TObject *Sender);
  52. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  53. int X, int Y);
  54. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  55. int Y);
  56. private: // User declarations
  57. int mx,my;
  58. public: // User declarations
  59. __fastcall TForm1(TComponent* Owner);
  60. };
  61. //---------------------------------------------------------------------------
  62. extern PACKAGE TForm1 *Form1;
  63. //---------------------------------------------------------------------------
  64. #endif