Documentation
|
|
Go to the source code of this file.
Namespaces | |
| af | |
Typedefs | |
| typedef unsigned | handle |
Functions | ||||||||||||||||||||||
| handle | trimesh (const float *d_X, const float *d_Y, const float *d_Z, const float *d_C, const unsigned npts) | |||||||||||||||||||||
Matrix Interface: Surface plot of 2D data. | ||||||||||||||||||||||
| handle | surface (const af::array &X) | |||||||||||||||||||||
Matrix Interface: Visualize 2D velocity field with an array of arrows | ||||||||||||||||||||||
array a(seq(10));
//create arrows along the diagonal
//the arrows rotate around the unit circle
// using existing 2D flow matrices u,v
// ...
// create x,y map for indexing
array xx = tile(array(seq(u.dims(1))).T(),u.dims(0),1);
array yy = tile(array(seq(v.dims(0))),1,v.dims(1));
// draw 2D flow field
arrows(xx,yy,u,v);
| ||||||||||||||||||||||
| handle | arrows (const af::array &X0, const af::array &Y0, const af::array &X1, const af::array &Y1) | |||||||||||||||||||||
Matrix Interface: Visualize 1D data as a line plot | ||||||||||||||||||||||
| ||||||||||||||||||||||
| handle | plot2 (const af::array &X) | |||||||||||||||||||||
| handle | plot2 (const af::array &X, const char *linestyle) | |||||||||||||||||||||
Matrix Interface: Visualize 2D data as a line plot | ||||||||||||||||||||||
| ||||||||||||||||||||||
| handle | plot2 (const array &X, const array &Y) | |||||||||||||||||||||
| handle | plot2 (const array &X, const array &Y, const char *linestyle) | |||||||||||||||||||||
Matrix Interface: Visualize 3D data as scatter plot | ||||||||||||||||||||||
| handle | plot3 (const af::array &X, const af::array &Y, const af::array &Z) | |||||||||||||||||||||
Matrix Interface: Visualize 3D data volume | ||||||||||||||||||||||
| handle | volume (const af::array &X) | |||||||||||||||||||||
Matrix Interface: Visualize 2D data as single scale image | ||||||||||||||||||||||
| handle | image (const af::array &X) | |||||||||||||||||||||
Device pointer interface: Surface plot of 2D data. | ||||||||||||||||||||||
| ||||||||||||||||||||||
| handle | surface (const float *d_a, const unsigned w, const unsigned h) | |||||||||||||||||||||
Device pointer interface: Visualize 2D velocity field with an array of arrows | ||||||||||||||||||||||
| ||||||||||||||||||||||
| 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 | ||||||||||||||||||||||
| ||||||||||||||||||||||
| 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 | ||||||||||||||||||||||
| ||||||||||||||||||||||
| 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 | ||||||||||||||||||||||
| ||||||||||||||||||||||
| 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 | ||||||||||||||||||||||
| ||||||||||||||||||||||
| 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 | ||||||||||||||||||||||
| ||||||||||||||||||||||
| 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 | ||||||||||||||||||||||
| ||||||||||||||||||||||
| 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 | ||||||||||||||||||||||
| ||||||||||||||||||||||
| handle | image (const float *d_X, const unsigned w, const unsigned h) | |||||||||||||||||||||
Device pointer interface: Visualize 2D data as color image | ||||||||||||||||||||||
| ||||||||||||||||||||||
| handle | rgbplot (const float *d_X, const unsigned w, const unsigned h) | |||||||||||||||||||||
Display a figure window | ||||||||||||||||||||||
| ||||||||||||||||||||||
| handle | fig (const char *key, const char *val=NULL) | |||||||||||||||||||||
Create figure with tiled layout. | ||||||||||||||||||||||
| handle | fig (const char *key, int nx, int ny, int i) | |||||||||||||||||||||
Display the current figure with given geometry | ||||||||||||||||||||||
| ||||||||||||||||||||||
| handle | fig (int x, int y, int w, int h) | |||||||||||||||||||||
| typedef unsigned handle |