Public Member Functions | |
DatFile (string fileName) | |
generates a new datfile object, from a VISLU formatted .dat file | |
bool | ReadFromFile () |
reads from the file, without reporting progress to a worker | |
bool | ReadFromFile (BackgroundWorker worker) |
reads from the file, and reports progress to a worker | |
Vector3[,,] | GenerateGradients (BackgroundWorker worker) |
Generates the normalized Gradient Vectors from the DataSet. | |
Properties | |
string | FileNameFullPath [get] |
returns the full path of the .dat file | |
string | FileName [get] |
returns only the filename of the .dat file | |
Vector3[,,] | Gradients [get, set] |
returns the generated gradient vectors | |
float[] | gradients2 [get, set] |
returns the generated gradient vectors in onedimensional array | |
int | SizeZ [get] |
returns the Z size of the dataset | |
int | SizeY [get] |
returns the Y size of the dataset | |
int | SizeX [get] |
returns the X size of the dataset | |
float[] | Data [get] |
returns the full normalized DataSet as contained in the .dat file | |
int[] | DataInt [get] |
returns the non-normalized Data | |
byte[] | VolumeData [get] |
create volume data in Format, to produce grayscale image R = G = B, X = 255. thanks to the allmighty gamedev.net community. |
Visualization::Common::DatFile::DatFile | ( | string | fileName | ) | [inline] |
generates a new datfile object, from a VISLU formatted .dat file
fileName | path to the file |
Vector3 [, ,] Visualization::Common::DatFile::GenerateGradients | ( | BackgroundWorker | worker | ) | [inline] |
Generates the normalized Gradient Vectors from the DataSet.
worker | The worker it reports progress to, or null |
bool Visualization::Common::DatFile::ReadFromFile | ( | BackgroundWorker | worker | ) | [inline] |
reads from the file, and reports progress to a worker
bool Visualization::Common::DatFile::ReadFromFile | ( | ) | [inline] |
reads from the file, without reporting progress to a worker
float [] Visualization::Common::DatFile::Data [get] |
returns the full normalized DataSet as contained in the .dat file
int [] Visualization::Common::DatFile::DataInt [get] |
returns the non-normalized Data
string Visualization::Common::DatFile::FileName [get] |
returns only the filename of the .dat file
string Visualization::Common::DatFile::FileNameFullPath [get] |
returns the full path of the .dat file
Vector3 [, ,] Visualization::Common::DatFile::Gradients [get, set] |
returns the generated gradient vectors
float [] Visualization::Common::DatFile::gradients2 [get, set] |
returns the generated gradient vectors in onedimensional array
int Visualization::Common::DatFile::SizeX [get] |
returns the X size of the dataset
int Visualization::Common::DatFile::SizeY [get] |
returns the Y size of the dataset
int Visualization::Common::DatFile::SizeZ [get] |
returns the Z size of the dataset
byte [] Visualization::Common::DatFile::VolumeData [get] |
create volume data in Format, to produce grayscale image R = G = B, X = 255. thanks to the allmighty gamedev.net community.