Unit u_dataset

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
packed record TRGBColor  
record TDataDimension  
record T3DVector  

Functions and Procedures

function MakeRGBColor(const r,g,b : Byte) : TRGBColor;
function Get3DVectorLength(const Vector : T3DVector) : Single;
function Normalize3DVector(const Vector : T3DVector) : T3DVector;
function GetGradientVector(const VolumeRawData : TVolumeRawData; const Dimensions : TDataDimension; const x,y,z : Integer) : T3DVector;

Types

TVolumeRawData = Array of Array of Array of Word;
TVolumeDataRGB = Array of Array of Array of TRGBColor;
TVolumeDataClassification = Array of Array of Array of Single;

Description

Functions and Procedures

function MakeRGBColor(const r,g,b : Byte) : TRGBColor;

This function can be used to obtain a TRGBColor record from single r,g,b components.

parameters
r
red-component in the interval [0..255].
g
green-component in the interval [0..255].
b
blue-component in the interval [0..255].
returns

TRGBColor record containing the specified values.

function Get3DVectorLength(const Vector : T3DVector) : Single;
 
function Normalize3DVector(const Vector : T3DVector) : T3DVector;
 
function GetGradientVector(const VolumeRawData : TVolumeRawData; const Dimensions : TDataDimension; const x,y,z : Integer) : T3DVector;
 

Types

TVolumeRawData = Array of Array of Array of Word;

Type to represent volume data.

TVolumeDataRGB = Array of Array of Array of TRGBColor;

Type to represent voxel colors.

TVolumeDataClassification = Array of Array of Array of Single;

Type to represent data after classification