/
DmitryBar
/
computer_modeling
Обзор
Документация
Войти
/
DmitryBar
/
computer_modeling
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Lab1/source/fProjections.h
53 строки
2 KB
Dmitry
Выполнение первой лабораторной работы
17 окт 2024, 13:08
17 окт 2024, 13:08
569e597
Код
Авторство
О чём код?
//--------------------------------------------------------------------------- #ifndef fProjectionsH #define fProjectionsH //--------------------------------------------------------------------------- #include <System.Classes.hpp> #include <Vcl.Controls.hpp> #include <Vcl.StdCtrls.hpp> #include <Vcl.Forms.hpp> #include "GLS.GeomObjects.hpp" #include "GLS.Graph.hpp" #include "GLS.Objects.hpp" #include "GLS.Scene.hpp" #include "GLS.SceneViewer.hpp" #include "GLS.RenderContextInfo.hpp" #include <Vcl.ExtCtrls.hpp> #include "GLScene.Coordinates.hpp" #include "GLScene.BaseClasses.hpp" //--------------------------------------------------------------------------- class TFormProjections : public TForm { __published: // IDE-managed Components TGLSceneViewer *SceneViewer; TGLScene *GLScene1; TGLCamera *GLCamera; TGLDummyCube *GLDummyCube; TGLArrowLine *GLArrowLine1; TGLLightSource *GLLightSource1; TGLDirectOpenGL *DirectOpenGL; TGLPoints *GLPoints; TGLPlane *GLPlane; TGLXYZGrid *GLXYZGrid1; void __fastcall FormCreate(TObject *Sender); void __fastcall DirectOpenGLRender(TObject *Sender, TGLRenderContextInfo &rci); void __fastcall SceneViewerMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall SceneViewerMouseMove(TObject *Sender, TShiftState Shift, int X, int Y); void __fastcall FormMouseWheel(TObject *Sender, TShiftState Shift, int WheelDelta, TPoint &MousePos, bool &Handled); private: // User declarations int mx, my; public: // User declarations __fastcall TFormProjections(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TFormProjections *FormProjections; //--------------------------------------------------------------------------- #endif