#include <Unit1.h>
Public Member Functions | |
void __fastcall | Open1Click (TObject *Sender) |
void __fastcall | Exit1Click (TObject *Sender) |
void __fastcall | ScrollBarChange (TObject *Sender) |
void __fastcall | XYClick (TObject *Sender) |
void __fastcall | XZClick (TObject *Sender) |
void __fastcall | YZClick (TObject *Sender) |
void __fastcall | TabControl1Change (TObject *Sender) |
void __fastcall | CreateTransferFunction () |
void __fastcall | Image1MouseDown (TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y) |
void __fastcall | Button1Click (TObject *Sender) |
void __fastcall | Button2Click (TObject *Sender) |
void __fastcall | pointArray () |
void __fastcall | texturing (String filename) |
void __fastcall | RadioGroup2Click (TObject *Sender) |
void __fastcall | RadioGroup1Click (TObject *Sender) |
void __fastcall | About1Click (TObject *Sender) |
void __fastcall | ScrollBar1Scroll (TObject *Sender, TScrollCode ScrollCode, int &ScrollPos) |
void __fastcall | ScrollBar2Scroll (TObject *Sender, TScrollCode ScrollCode, int &ScrollPos) |
void __fastcall | ScrollBar3Scroll (TObject *Sender, TScrollCode ScrollCode, int &ScrollPos) |
void __fastcall | Button3Click (TObject *Sender) |
__fastcall | TForm1 (TComponent *Owner) |
void __fastcall | SetPixelFormatDescriptor () |
void __fastcall | SetupRC () |
void __fastcall | IdleLoop (TObject *, bool &done) |
void __fastcall | Redraw (String) |
void __fastcall | BusyGUI () |
void __fastcall | NormalGUI () |
void __fastcall | Volume (bool render) |
int __fastcall | Pixel (int x, int y, int rgb) |
Public Attributes | |
TMainMenu * | MainMenu1 |
TMenuItem * | File1 |
TMenuItem * | Open1 |
TMenuItem * | Exit1 |
TMenuItem * | Help1 |
TMenuItem * | About1 |
TOpenDialog * | OpenDialog |
TScrollBar * | ScrollBar |
TTabControl * | TabControl1 |
TProgressBar * | ProgressBar1 |
TRadioGroup * | RadioGroup1 |
TLabel * | Label2 |
TLabel * | Label3 |
TLabel * | Label4 |
TPanel * | GLPanel |
TImage * | Image1 |
TButton * | Button1 |
TColorDialog * | ColorDialog1 |
TImage * | Current |
TButton * | Button2 |
TRadioGroup * | RadioGroup2 |
TScrollBar * | ScrollBar1 |
TScrollBar * | ScrollBar2 |
TScrollBar * | ScrollBar3 |
TButton * | Button3 |
TLabel * | Label1 |
TLabel * | Label5 |
TLabel * | Label6 |
Private Attributes | |
HDC | hdc |
HGLRC | hrc |
int | PixelFormat |
__fastcall TForm1::TForm1 | ( | TComponent * | Owner | ) |
void __fastcall TForm1::Open1Click | ( | TObject * | Sender | ) |
opens a *.dat file
void __fastcall TForm1::Exit1Click | ( | TObject * | Sender | ) |
void __fastcall TForm1::ScrollBarChange | ( | TObject * | Sender | ) |
browses through the slices
void __fastcall TForm1::XYClick | ( | TObject * | Sender | ) |
select a slice in z direction
void __fastcall TForm1::XZClick | ( | TObject * | Sender | ) |
select a slice in y direction
void __fastcall TForm1::YZClick | ( | TObject * | Sender | ) |
select a slice in x direction
void __fastcall TForm1::TabControl1Change | ( | TObject * | Sender | ) |
void __fastcall TForm1::CreateTransferFunction | ( | ) |
creates the transferfunction
void __fastcall TForm1::Image1MouseDown | ( | TObject * | Sender, | |
TMouseButton | Button, | |||
TShiftState | Shift, | |||
int | x, | |||
int | y | |||
) |
inserts points in the transferfunction
void __fastcall TForm1::Button1Click | ( | TObject * | Sender | ) |
opens the color dialog
void __fastcall TForm1::Button2Click | ( | TObject * | Sender | ) |
apply the transferfunction to the image
void __fastcall TForm1::pointArray | ( | ) |
initialize the default transferfunction
void __fastcall TForm1::texturing | ( | String | filename | ) |
creates the 3D textur for slicing
void __fastcall TForm1::RadioGroup2Click | ( | TObject * | Sender | ) |
switches the interpolation mode
void __fastcall TForm1::RadioGroup1Click | ( | TObject * | Sender | ) |
void __fastcall TForm1::About1Click | ( | TObject * | Sender | ) |
displays the about message box
void __fastcall TForm1::ScrollBar1Scroll | ( | TObject * | Sender, | |
TScrollCode | ScrollCode, | |||
int & | ScrollPos | |||
) |
rotates the volume around the Y axis
void __fastcall TForm1::ScrollBar2Scroll | ( | TObject * | Sender, | |
TScrollCode | ScrollCode, | |||
int & | ScrollPos | |||
) |
rotates the volume around the X axis
void __fastcall TForm1::ScrollBar3Scroll | ( | TObject * | Sender, | |
TScrollCode | ScrollCode, | |||
int & | ScrollPos | |||
) |
zooms the volume
void __fastcall TForm1::Button3Click | ( | TObject * | Sender | ) |
clears the transferfunction
void __fastcall TForm1::SetPixelFormatDescriptor | ( | ) |
setup the pixelformatdescriptor
void __fastcall TForm1::SetupRC | ( | ) |
setup the RC
void __fastcall TForm1::IdleLoop | ( | TObject * | , | |
bool & | done | |||
) |
void __fastcall TForm1::Redraw | ( | String | view | ) |
redraw the selected slice
void __fastcall TForm1::BusyGUI | ( | ) |
disables unusable GUI elements
void __fastcall TForm1::NormalGUI | ( | ) |
enables GUI elements
void __fastcall TForm1::Volume | ( | bool | render | ) |
generates the 2D texture via raycasting (dorendering)
int __fastcall TForm1::Pixel | ( | int | x, | |
int | y, | |||
int | rgb | |||
) |
TMainMenu* TForm1::MainMenu1 |
TMenuItem* TForm1::File1 |
TMenuItem* TForm1::Open1 |
TMenuItem* TForm1::Exit1 |
TMenuItem* TForm1::Help1 |
TMenuItem* TForm1::About1 |
TOpenDialog* TForm1::OpenDialog |
TScrollBar* TForm1::ScrollBar |
TTabControl* TForm1::TabControl1 |
TProgressBar* TForm1::ProgressBar1 |
TRadioGroup* TForm1::RadioGroup1 |
TLabel* TForm1::Label2 |
TLabel* TForm1::Label3 |
TLabel* TForm1::Label4 |
TPanel* TForm1::GLPanel |
TImage* TForm1::Image1 |
TButton* TForm1::Button1 |
TColorDialog* TForm1::ColorDialog1 |
TImage* TForm1::Current |
TButton* TForm1::Button2 |
TRadioGroup* TForm1::RadioGroup2 |
TScrollBar* TForm1::ScrollBar1 |
TScrollBar* TForm1::ScrollBar2 |
TScrollBar* TForm1::ScrollBar3 |
TButton* TForm1::Button3 |
TLabel* TForm1::Label1 |
TLabel* TForm1::Label5 |
TLabel* TForm1::Label6 |
HDC TForm1::hdc [private] |
HGLRC TForm1::hrc [private] |
int TForm1::PixelFormat [private] |