LUVis::frmImporter Class Reference

Importer Class. More...

#include <frmImporter.h>

List of all members.

Public Member Functions

 frmImporter (Flow^flow)
virtual ~frmImporter (void)
void ImportFlow (System::String^filename, bool multi)

Public Attributes

System::Text::Encoding encoding

Private Member Functions

void InitializeComponent (void)
 Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
short ImportGrid (System::String^filename)
short ImportData (System::String^filename, int index)
String GetGridFilename ()
void OnLoadGridClick (System::Object^sender, System::EventArgs^e)
void OnLoadDataClick (System::Object^sender, System::EventArgs^e)
void OnSelectDeselectAllClick (System::Object^sender, System::EventArgs^e)
void OnUse3DTexture (System::Object^sender, System::EventArgs^e)

Private Attributes

array< unsigned short, 1 > size
 one dimensional array, which contain the size of the volume (X,Y and Z)
array< unsigned short, 1 > memoryData
 A one dimensional array with all the data loaded from the data file.
array< float, 3 > memoryGrid
Flow theFlow
bool tex3D
System::Windows::Forms::Button btnImportGrid
System::Windows::Forms::CheckedListBox chkListDatFiles
System::Windows::Forms::Button btnImportData
System::Windows::Forms::CheckBox chkSelectUnselectAll
System::Windows::Forms::CheckBox chkUse3DTextures
System::ComponentModel::Container components


Detailed Description

Importer Class.

Class to import .dat files (ct scans).


Constructor & Destructor Documentation

frmImporter::frmImporter ( Flow flow  ) 

frmImporter::~frmImporter ( void   )  [virtual]


Member Function Documentation

String frmImporter::GetGridFilename (  )  [private]

reads the content of a file and stores it to memoryData

Parameters:
filename name of the file.
Returns:
-1 in case of an error, otherwise 0

short LUVis::frmImporter::ImportData ( System::String^  filename,
int  index 
) [private]

Parameters:
filename location of data.
Returns:
-1 in case of an error, otherwise 0

void LUVis::frmImporter::ImportFlow ( System::String^  filename,
bool  multi 
)

short LUVis::frmImporter::ImportGrid ( System::String^  filename  )  [private]

Parameters:
filename location of Gridfile.
Returns:
-1 in case of an error, otherwise 0

void LUVis::frmImporter::InitializeComponent ( void   )  [inline, private]

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

void frmImporter::OnLoadDataClick ( System::Object^  sender,
System::EventArgs^  e 
) [private]

void frmImporter::OnLoadGridClick ( System::Object^  sender,
System::EventArgs^  e 
) [private]

void frmImporter::OnSelectDeselectAllClick ( System::Object^  sender,
System::EventArgs^  e 
) [private]

void frmImporter::OnUse3DTexture ( System::Object^  sender,
System::EventArgs^  e 
) [private]


Member Data Documentation

System::Windows::Forms::Button LUVis::frmImporter::btnImportData [private]

System::Windows::Forms::Button LUVis::frmImporter::btnImportGrid [private]

System::Windows::Forms::CheckedListBox LUVis::frmImporter::chkListDatFiles [private]

System::Windows::Forms::CheckBox LUVis::frmImporter::chkSelectUnselectAll [private]

System::Windows::Forms::CheckBox LUVis::frmImporter::chkUse3DTextures [private]

System::ComponentModel::Container LUVis::frmImporter::components [private]

System::Text::Encoding LUVis::frmImporter::encoding

array<unsigned short,1> LUVis::frmImporter::memoryData [private]

A one dimensional array with all the data loaded from the data file.

array<float,3> LUVis::frmImporter::memoryGrid [private]

array<unsigned short, 1> LUVis::frmImporter::size [private]

one dimensional array, which contain the size of the volume (X,Y and Z)

bool LUVis::frmImporter::tex3D [private]

Flow LUVis::frmImporter::theFlow [private]


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 16:23:54 2007 by  doxygen 1.4.7