LUVis::Importer Class Reference

Importer Class. More...

#include <Importer.h>

List of all members.

Public Member Functions

 Importer (Environment^_env)
virtual ~Importer (void)
short ImportVolume (Volume^dataVolume, System::String^filename)
 Creates a new Volume and imports the data.

Private Member Functions

short ImportFile (System::String^filename)
 reads the content of the file and stores it to memoryData

Private Attributes

System::String filename
 filename of the file to import
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.
LUVis::Environment env
 Pointer to the environment.


Detailed Description

Importer Class.

Class to import .dat files (ct scans).


Constructor & Destructor Documentation

Importer::Importer ( Environment _env  ) 

Importer::~Importer ( void   )  [virtual]


Member Function Documentation

short LUVis::Importer::ImportFile ( System::String^  filename  )  [private]

reads the content of the file and stores it to memoryData

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

short LUVis::Importer::ImportVolume ( Volume dataVolume,
System::String^  filename 
)

Creates a new Volume and imports the data.

Parameters:
dataVolume the data volume, where the loaded data is stored.
filename location of data.
Returns:
-1 in case of an error, otherwise 0


Member Data Documentation

LUVis::Environment LUVis::Importer::env [private]

Pointer to the environment.

System::String LUVis::Importer::filename [private]

filename of the file to import

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

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

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

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


The documentation for this class was generated from the following files:
Generated on Wed Dec 6 16:25:58 2006 by  doxygen 1.4.7