Device pointer interface: Surface plot of 2D data.

Parameters
[in]d_a2D device pointer to data with which to draw surfaceace plot
[in]d_wWidth of data and surfaceace plot
[in]d_hHeight of data and surfaceace plot
handle surface (const float *d_a, const unsigned w, const unsigned h)
 

Device pointer interface: Visualize 2D velocity field with an array of arrows

Parameters
[in]d_X0device pointer to X data containing horizontal base positions for arrows
[in]d_Y0device pointer to Y data containing vertical base positions for arrows
[in]d_X1device pointer to data containing horizontal velocity components
[in]d_Y1device pointer to data containing vertical velocity components
[in]cntnumber of arrows to render in velocity plot
handle arrows (const float *d_X0, const float *d_Y0, const float *d_X1, const float *d_Y1, const int cnt)
 

Device pointer interface: Visualize 1D data as a line plot

Parameters
[in]d_Adevice pointer to data to be visualized
[in]lenThe length of the data to be visualized
[in]optionalparameter specifying the visual characteristics of the line plot
handle plot2 (const float *d_A, const unsigned len)
 
handle plot2 (const float *d_A, const unsigned len, const char *linestyle)
 

Device pointer interface: Visualize 2D data with X and Y labels

Parameters
[in]d_Xdevice pointer to X data to be visualized
[in]d_Ydevice pointer to Y data to be visualized
[in]nptsThe length of the data to be visualized
handle plot2 (const float *d_X, const float *d_Y, const unsigned npts)
 

Device pointer interface: Visualize 2D data with X and Y labels, linestyle

Parameters
[in]d_Xdevice pointer to X data to be visualized
[in]d_Ydevice pointer to Y data to be visualized
[in]nptsThe length of the data to be visualized
[in]linestyleOptional parameter determining the visual characteristics of the line plot
handle plot2 (const float *d_X, const float *d_Y, const unsigned npts, const char *linestyle)
 

Device pointer interface: Visualize 3D data as a line plot

Parameters
[in]d_Xdevice pointer to X data to be visualized
[in]d_Ydevice pointer to Y data to be visualized
[in]d_Zdevice pointer to Z data to be visualized
[in]nptsThe length of the data to be visualized
[in]linestyleOptional parameter determining the visual characteristics of the line plot
handle plot3 (const float *d_X, const float *d_Y, const float *d_Z, const unsigned npts)
 
handle plot3 (const float *d_X, const float *d_Y, const float *d_Z, const unsigned npts, const char *linestyle)
 

Device pointer interface: Visualize 3D data as a volume rendering

Parameters
[in]d_Xdevice pointer to 3D data to be visualized
[in]wThe width of the data to be visualized
[in]hThe height of the data to be visualized
[in]dThe depth of the data to be visualized
handle volume (const float *d_X, const unsigned w, const unsigned h, const unsigned d)
 

Device pointer interface: Visualize 3D data as a colored scatter plot

Parameters
[in]d_Xdevice pointer to X component of data to be visualized
[in]d_Ydevice pointer to Y component of data to be visualized
[in]d_Zdevice pointer to Z component of data to be visualized
[in]d_Rdevice pointer to red color component data to be visualized
[in]d_Gdevice pointer to green color component data to be visualized
[in]d_Bdevice pointer to blue color component data to be visualized
[in]nptsThe number of 3D points to visualize
handle scattercolors (const float *d_X, const float *d_Y, const float *d_Z, const float *d_R, const float *d_G, const float *d_B, const unsigned npts)
 

Device pointer interface: Visualize 2D data as single scale image

Parameters
[in]d_XDevice pointer to 2D matrix to be visualized
[in]wwidth of 2D matrix to be visualized
[in]hheight of 2D matrix to be visualized
Note
see Color Palettes for available color schemes
handle image (const float *d_X, const unsigned w, const unsigned h)
 

Device pointer interface: Visualize 2D data as color image

Parameters
[in]d_XDevice pointer to 2D matrix to be visualized.
[in]wwidth of 2D matrix to be visualized
[in]hheight of 2D matrix to be visualized
handle rgbplot (const float *d_X, const unsigned w, const unsigned h)
 

Detailed Description

Function Documentation

handle af::surface ( const float *  d_a,
const unsigned  w,
const unsigned  h 
)
handle af::arrows ( const float *  d_X0,
const float *  d_Y0,
const float *  d_X1,
const float *  d_Y1,
const int  cnt 
)
handle af::plot2 ( const float *  d_A,
const unsigned  len 
)
handle af::plot2 ( const float *  d_X,
const float *  d_Y,
const unsigned  npts 
)
handle af::plot2 ( const float *  d_X,
const float *  d_Y,
const unsigned  npts,
const char *  linestyle 
)
handle af::plot2 ( const float *  d_A,
const unsigned  len,
const char *  linestyle 
)
handle af::plot3 ( const float *  d_X,
const float *  d_Y,
const float *  d_Z,
const unsigned  npts 
)
handle af::plot3 ( const float *  d_X,
const float *  d_Y,
const float *  d_Z,
const unsigned  npts,
const char *  linestyle 
)
handle af::volume ( const float *  d_X,
const unsigned  w,
const unsigned  h,
const unsigned  d 
)
handle af::scattercolors ( const float *  d_X,
const float *  d_Y,
const float *  d_Z,
const float *  d_R,
const float *  d_G,
const float *  d_B,
const unsigned  npts 
)
handle af::image ( const float *  d_X,
const unsigned  w,
const unsigned  h 
)
handle af::rgbplot ( const float *  d_X,
const unsigned  w,
const unsigned  h 
)