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

MDIAverage.h

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

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