Links
Flow visualization
VolumeData Namespace

This is namespace VolumeData.

Class 
Description 
TTF 
TTransferFunctions = class ds:TDataSet; histval:array[0..3]of array of cardinal;//values from the histogram xpos,pxpos:integer; scale:array[0..3]of single;
iw,ih:integer; //dimensions of the target image mdx,mdy:integer; //mouse down coordinates
TransFunc:array[0..3] of array of TTransferNode;//nodes of the transfer function TransFuncPoints:array[0..3]of integer;//number of nodes in the transfer function SquareSize:integer; //size of the rectangle drawn around a node
CURRENT:integer;
constructor Create(d:TDataSet; w,h:integer); destructor Destroy;override; procedure Histogram(w:integer); procedure DrawHistogram(c:TCanvas; w,h:integer; zoom:integer); procedure DrawSlider(c:TCanvas; w,h:integer); procedure MoveSlider(x:integer); procedure DrawTransferFunction(c:TCanvas; w,h:integer; zoom:integer); procedure AddTransferPoint(x,y,w,h:integer; c:TColor); procedure MouseDown(x,y:integer); procedure MouseUp(x,y:integer); function PointInSquare(px,py,sx,sy:integer):boolean; procedure SaveToTexture(n:integer); function GetTransfer(p:single;n:integer):TVector4f; function ColorToRGB(c:TColor):TVector3f; function GetInfo(x,y:integer; var n:TTransferNode):integer; procedure SetInfo(n:TTransferNode; i:integer); procedure RemoveNode(i:integer); end; 
Constant 
Description 
 
 
 
 
 
 
 
Struct, Record, Enum 
Description 
Node of transfer function 
Created with a demo version of Doc-O-Matic. This version is supplied for evaluation purposes only, do not distribute this documentation. To obtain a commercial license please see http://www.doc-o-matic.com/purchase.html.
Copyright (c) 2005. All rights reserved.
What do you think about this topic? Send feedback!