Main Page   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

MDIMIP.h

00001 
00006 //---------------------------------------------------------------------------
00007 
00008 #ifndef MDIMIPH
00009 #define MDIMIPH
00010 //---------------------------------------------------------------------------
00011 #include <Classes.hpp>
00012 #include <Controls.hpp>
00013 #include <StdCtrls.hpp>
00014 #include <Forms.hpp>
00015 #include <ComCtrls.hpp>
00016 #include <Menus.hpp>
00017 #include <Dialogs.hpp>
00018 #include <Printers.hpp>
00019 #include <Clipbrd.hpp>
00020 #include <ExtCtrls.hpp>
00021 #include <ActnCtrls.hpp>
00022 #include <ActnMan.hpp>
00023 #include <CustomizeDlg.hpp>
00024 #include <ToolWin.hpp>
00025 #include <gl\gl.h>
00026 #include <gl\glu.h>
00027 #include "MDIEdit.h"
00028 //---------------------------------------------------------------------------
00029 class TMIPForm : public TForm
00030 {
00031 __published:    // IDE-managed Components
00032         TPanel *Hauptpanel;
00033         TBevel *Bevel;
00034         TGroupBox *GroupBox2;
00035         TLabel *Label4;
00036         TEdit *txrot;
00037         TEdit *tyrot;
00038         TEdit *tzrot;
00039         TGroupBox *GroupBox1;
00040         TBevel *Bevel2;
00041         TCheckBox *trilinear;
00042         TGroupBox *GroupBox;
00043         TLabel *Label2;
00044         TLabel *textx;
00045         TLabel *texty;
00046         TBevel *Bevel4;
00047         TCheckBox *autores;
00048         TTrackBar *ResTrackBar;
00049         TCheckBox *arepaint;
00050         TCheckBox *depth;
00051         void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
00052         void __fastcall FormCreate(TObject *Sender);
00053         void __fastcall FormResize(TObject *Sender);
00054         void __fastcall FormPaint(TObject *Sender);
00055         void __fastcall FormActivate(TObject *Sender);
00056         void __fastcall FormMouseDown(TObject *Sender, TMouseButton Button,
00057           TShiftState Shift, int X, int Y);
00058         void __fastcall FormMouseMove(TObject *Sender, TShiftState Shift,
00059           int X, int Y);
00060         void __fastcall FormMouseUp(TObject *Sender, TMouseButton Button,
00061           TShiftState Shift, int X, int Y);
00062         void __fastcall Button1Click(TObject *Sender);
00063         void __fastcall ResTrackBarChange(TObject *Sender);
00064         void __fastcall autoresClick(TObject *Sender);
00065         void __fastcall trilinearClick(TObject *Sender);
00066 private:        // User declarations
00067     HDC hdc;
00068     HGLRC hrc;
00069     int PixelFormat,xres,yres, thresh;
00070     GLfloat w, h, wh;
00071     vertex o, dx,dy,dz, ppos, pos;
00072     float xratio, yratio;
00073     int ox,oy, mrotx, mroty;
00074     bool mdown;
00080     void __fastcall PaintGL();
00086     void __fastcall PrepareGLWindow();
00092     void __fastcall RayCast();
00093 public:         // User declarations
00094         __fastcall TMIPForm(TComponent* Owner);
00095     void __fastcall SetPixelFormatDescriptor();
00096 };
00097 //---------------------------------------------------------------------------
00098 extern PACKAGE TMIPForm *MIPForm;
00099 //---------------------------------------------------------------------------
00100 #endif

Generated on Thu Jan 23 06:17:38 2003 for Vol by doxygen1.2.18