fSubdivideC.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //---------------------------------------------------------------------------
  2. #ifndef fSubdivideCH
  3. #define fSubdivideCH
  4. //---------------------------------------------------------------------------
  5. #include <vcl.h>
  6. #include <tchar.h>
  7. //---------------------------------------------------------------------------
  8. #include <System.Classes.hpp>
  9. #include <Vcl.Controls.hpp>
  10. #include <Vcl.StdCtrls.hpp>
  11. #include <Vcl.Forms.hpp>
  12. #include <Vcl.ComCtrls.hpp>
  13. #include <Vcl.ExtCtrls.hpp>
  14. #include <Vcl.Imaging.jpeg.hpp>
  15. #include "GLS.BaseClasses.hpp"
  16. #include "GLS.Cadencer.hpp"
  17. #include "GLS.Coordinates.hpp"
  18. #include "GLS.Material.hpp"
  19. #include "GLS.Scene.hpp"
  20. #include "GLS.VectorFileObjects.hpp"
  21. #include "GLS.SceneViewer.hpp"
  22. #include "GLS.MeshUtils.hpp"
  23. #include "GLS.VectorGeometry.hpp"
  24. #include "GLS.FileTGA.hpp"
  25. #include "GLS.FileObj.hpp"
  26. #include "GLS.File3DS.hpp"
  27. #include "GLS.FileMD2.hpp"
  28. #include "GLS.FileSMD.hpp"
  29. #include "GLS.Utils.hpp"
  30. #include "GLS.MeshUtils.hpp"
  31. //---------------------------------------------------------------------------
  32. class TForm1 : public TForm
  33. {
  34. __published: // IDE-managed Components
  35. TLabel *Label1;
  36. TGLSceneViewer *GLSceneViewer1;
  37. TPanel *Panel1;
  38. TLabel *LASubdivideTime;
  39. TButton *BULoad;
  40. TButton *BUSubdivide;
  41. TTrackBar *TrackBar1;
  42. TRadioButton *RBWireFrame;
  43. TRadioButton *RBSolid;
  44. TCheckBox *CBAnimate;
  45. TGLScene *GLScene1;
  46. TGLActor *GLActor1;
  47. TGLLightSource *GLLightSource1;
  48. TGLCamera *GLCamera1;
  49. TGLMaterialLibrary *GLMaterialLibrary1;
  50. TTimer *Timer1;
  51. TGLCadencer *GLCadencer1;
  52. void __fastcall BULoadClick(TObject *Sender);
  53. void __fastcall BUSubdivideClick(TObject *Sender);
  54. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  55. int X, int Y);
  56. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  57. int Y);
  58. void __fastcall RBWireFrameClick(TObject *Sender);
  59. void __fastcall RBSolidClick(TObject *Sender);
  60. void __fastcall Timer1Timer(TObject *Sender);
  61. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  62. void __fastcall CBAnimateClick(TObject *Sender);
  63. private: // User declarations
  64. int mx, my;
  65. public: // User declarations
  66. __fastcall TForm1(TComponent* Owner);
  67. };
  68. //---------------------------------------------------------------------------
  69. extern PACKAGE TForm1 *Form1;
  70. //---------------------------------------------------------------------------
  71. #endif