Unit1.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 <Vcl.Imaging.jpeg.hpp>
  10. #include "GLBaseClasses.hpp"
  11. #include "GLCoordinates.hpp"
  12. #include "GLCrossPlatform.hpp"
  13. #include "GLGeomObjects.hpp"
  14. #include "GLMaterial.hpp"
  15. #include "GLObjects.hpp"
  16. #include "GLScene.hpp"
  17. #include "GLWin32Viewer.hpp"
  18. #include "GLUtils.hpp"
  19. //---------------------------------------------------------------------------
  20. class TForm1 : public TForm
  21. {
  22. __published: // IDE-managed Components
  23. TGLSceneViewer *GLSceneViewer1;
  24. TGLScene *GLScene1;
  25. TGLDummyCube *DCCamera;
  26. TGLCamera *GLCamera;
  27. TGLPlane *PLGround;
  28. TGLCube *GLCube1;
  29. TGLLightSource *GLLightSource1;
  30. TGLDummyCube *DCPositionInvariant;
  31. TGLCylinder *GLCylinder1;
  32. TGLDummyCube *DCOrientationInvariant;
  33. TGLArrowLine *GLArrowLine1;
  34. TGLMaterialLibrary *GLMaterialLibrary;
  35. void __fastcall FormCreate(TObject *Sender);
  36. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  37. int Y);
  38. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  39. int X, int Y);
  40. private: // User declarations
  41. int mx, my;
  42. public: // User declarations
  43. __fastcall TForm1(TComponent* Owner);
  44. };
  45. //---------------------------------------------------------------------------
  46. extern PACKAGE TForm1 *Form1;
  47. //---------------------------------------------------------------------------
  48. #endif