fcGLSViewer.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. //---------------------------------------------------------------------------
  2. #ifndef fcGLSViewerH
  3. #define fcGLSViewerH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include "GLS.AsyncTimer.hpp"
  10. #include "GLS.BaseClasses.hpp"
  11. #include "GLS.Cadencer.hpp"
  12. #include "GLS.Coordinates.hpp"
  13. #include "GLS.Graph.hpp"
  14. #include "GLS.Material.hpp"
  15. #include "GLS.Objects.hpp"
  16. #include "GLS.Scene.hpp"
  17. #include "GLS.SceneViewer.hpp"
  18. #include "GLS.SimpleNavigation.hpp"
  19. #include "GLS.VectorFileObjects.hpp"
  20. #include <System.Actions.hpp>
  21. #include <System.ImageList.hpp>
  22. #include <Vcl.ActnCtrls.hpp>
  23. #include <Vcl.ActnList.hpp>
  24. #include <Vcl.ActnMan.hpp>
  25. #include <Vcl.ActnMenus.hpp>
  26. #include <Vcl.BandActn.hpp>
  27. #include <Vcl.ComCtrls.hpp>
  28. #include <Vcl.Dialogs.hpp>
  29. #include <Vcl.ExtCtrls.hpp>
  30. #include <Vcl.ImgList.hpp>
  31. #include <Vcl.StdActns.hpp>
  32. #include <Vcl.StdStyleActnCtrls.hpp>
  33. #include <Vcl.ToolWin.hpp>
  34. //---------------------------------------------------------------------------
  35. class TFormViewer : public TForm
  36. {
  37. __published: // IDE-managed Components
  38. TStatusBar *StatusBar;
  39. TGLSceneViewer *snViewer;
  40. TControlBar *ControlBar;
  41. TActionToolBar *atbTools;
  42. TActionToolBar *atbView;
  43. TActionToolBar *atbFile;
  44. TActionMainMenuBar *amMenuBar;
  45. TPanel *PanelLeft;
  46. TTreeView *tvScene;
  47. TGLScene *Scene;
  48. TGLCamera *Camera;
  49. TGLLightSource *LightSource;
  50. TGLXYZGrid *XYZGrid;
  51. TGLCube *CubeLines;
  52. TGLDummyCube *dcObject;
  53. TGLFreeForm *ffObject;
  54. TGLDummyCube *dcAxis;
  55. TGLDummyCube *dcWorld;
  56. TGLPoints *GLPoints;
  57. TGLMaterialLibrary *MaterialLib;
  58. TGLCadencer *Cadencer;
  59. TTimer *Timer;
  60. TActionManager *ActionManager;
  61. TAction *acOptimizeMesh;
  62. TAction *acProcessInvertNormals;
  63. TAction *acReverseRendering;
  64. TAction *acConvertToTriangles;
  65. TAction *acProcessStripify;
  66. TAction *acToolsOptions;
  67. TAction *acToolsFaceCulling;
  68. TAction *acToolsTexturing;
  69. TAction *acToolsLighting;
  70. TAction *acToolsNaviCube;
  71. TCustomizeActionBars *acToolsCustomize;
  72. TAction *acToolsShowFPS;
  73. TAction *acViewSmoothShading;
  74. TAction *acViewFlatShading;
  75. TAction *acViewFlatLines;
  76. TAction *acViewHiddenLines;
  77. TAction *acViewWireFrame;
  78. TAction *acViewZoomIn;
  79. TAction *acViewZoomOut;
  80. TAction *acViewReset;
  81. TAction *acFileOpen;
  82. TAction *acFilePick;
  83. TAction *acFileOpenTexLib;
  84. TAction *acFileSaveAs;
  85. TAction *acFileSaveTextures;
  86. TAction *acSaveTreeView;
  87. TAction *acLoadTreeView;
  88. TAction *acFileExit;
  89. THelpContents *acHelpContents;
  90. THelpTopicSearch *acHelpTopicSearch;
  91. TAction *acHelpGLSHomePage;
  92. TAction *acHelpAbout;
  93. TAction *acAADefault;
  94. TAction *acAA2X;
  95. TAction *acAA4X;
  96. TEditUndo *acEditUndo;
  97. TEditCut *acEditCut;
  98. TEditCopy *acEditCopy;
  99. TEditPaste *acEditPaste;
  100. TEditSelectAll *acEditSelectAll;
  101. TEditDelete *acEditDelete;
  102. TAction *acAA8X;
  103. TAction *acAA16X;
  104. TAction *acCSA8X;
  105. TAction *acCSA16X;
  106. TAction *acPoints;
  107. TAction *acToolsInfo;
  108. TAction *acSpheres;
  109. TImageList *ImageListMenu;
  110. TGLAsyncTimer *AsyncTimer;
  111. TGLSimpleNavigation *GLSimpleNavigation;
  112. TImageList *ImageListObjects;
  113. TOpenDialog *OpenDialog;
  114. TSaveDialog *SaveDialog;
  115. void __fastcall tvSceneClick(TObject *Sender);
  116. private: // User declarations
  117. public: // User declarations
  118. __fastcall TFormViewer(TComponent* Owner);
  119. };
  120. //---------------------------------------------------------------------------
  121. extern PACKAGE TFormViewer *FormViewer;
  122. //---------------------------------------------------------------------------
  123. #endif