#include <Importer.h>
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. | |
Class to import .dat files (ct scans).
| Importer::Importer | ( | Environment^ | _env | ) |
| Importer::~Importer | ( | void | ) | [virtual] |
| short LUVis::Importer::ImportFile | ( | System::String^ | filename | ) | [private] |
reads the content of the file and stores it to memoryData
| filename | name of the file. |
| short LUVis::Importer::ImportVolume | ( | Volume^ | dataVolume, | |
| System::String^ | filename | |||
| ) |
Creates a new Volume and imports the data.
| dataVolume | the data volume, where the loaded data is stored. | |
| filename | location of data. |
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)
1.4.7