Unit1.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 "GLBaseClasses.hpp"
  10. #include "GLCoordinates.hpp"
  11. #include "GLCrossPlatform.hpp"
  12. #include "GLGeomObjects.hpp"
  13. #include "GLObjects.hpp"
  14. #include "GLScene.hpp"
  15. #include "GLVectorFileObjects.hpp"
  16. #include "GLWin32Viewer.hpp"
  17. #include "GLFile3DS.hpp"
  18. //---------------------------------------------------------------------------
  19. class TForm1 : public TForm
  20. {
  21. __published: // IDE-managed Components
  22. TLabel *Label1;
  23. TLabel *Label2;
  24. TGLSceneViewer *GLSceneViewer1;
  25. TGLSceneViewer *GLSceneViewer2;
  26. TGLScene *GLScene1;
  27. TGLLightSource *GLLightSource1;
  28. TGLDummyCube *DummyCube1;
  29. TGLFreeForm *FreeForm1;
  30. TGLSphere *Sphere1;
  31. TGLArrowLine *ArrowLine1;
  32. TGLCamera *GLCamera1;
  33. TGLCamera *GLCamera2;
  34. void __fastcall FormCreate(TObject *Sender);
  35. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  36. int X, int Y);
  37. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  38. int Y);
  39. void __fastcall GLSceneViewer2MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  40. int X, int Y);
  41. void __fastcall GLSceneViewer2MouseMove(TObject *Sender, TShiftState Shift, int X,
  42. int Y);
  43. private: // User declarations
  44. public: // User declarations
  45. __fastcall TForm1(TComponent* Owner);
  46. };
  47. //---------------------------------------------------------------------------
  48. extern PACKAGE TForm1 *Form1;
  49. //---------------------------------------------------------------------------
  50. #endif