44         void initWindow(
const int width, 
const int height, 
const char* 
const title);
 
   63         Window(
const char* 
const title);
 
   75         Window(
const int width, 
const int height, 
const char* 
const title=
"ArrayFire");
 
  111         void setPos(
const unsigned x, 
const unsigned y);
 
  120         void setTitle(
const char* 
const title);
 
  122 #if AF_API_VERSION >= 31 
  131         void setSize(
const unsigned w, 
const unsigned h);
 
  141         void setColorMap(
const ColorMap cmap);
 
  153         void image(
const array& in, 
const char* title=NULL);
 
  155 #if AF_API_VERSION >= 32 
  166         void plot3(
const array& in, 
const char* title=NULL);
 
  181         void plot(
const array& X, 
const array& Y, 
const char* 
const title=NULL);
 
  195         void hist(
const array& X, 
const double minval, 
const double maxval, 
const char* 
const title=NULL);
 
  197 #if AF_API_VERSION >= 32 
  208         void surface(
const array& S, 
const char* 
const title);
 
  211 #if AF_API_VERSION >= 32 
  224         void surface(
const array& xVals, 
const array& yVals, 
const array& S, 
const char* 
const title);
 
  235         void grid(
const int rows, 
const int cols);
 
  323 #if AF_API_VERSION >= 31 
  374 #if AF_API_VERSION >= 32 
  412 #if AF_API_VERSION >= 32 
int col
Definition: graphics.h:19
Definition: algorithm.h:14
af_colormap cmap
Definition: graphics.h:21
AFAPI af_err af_draw_hist(const af_window wind, const af_array X, const double minval, const double maxval, const af_cell *const props)
C Interface wrapper for drawing an array as a histogram. 
AFAPI af_err af_destroy_window(const af_window wind)
C Interface wrapper for destroying a window handle. 
Window object to render af::arrays. 
Definition: graphics.h:35
AFAPI af_err af_set_title(const af_window wind, const char *const title)
C Interface wrapper for setting window title. 
const char * title
Definition: graphics.h:20
AFAPI af_err af_is_window_closed(bool *out, const af_window wind)
C Interface wrapper for checking if window is marked for close. 
AFAPI af_err af_show(const af_window wind)
C Interface wrapper for showing a window. 
A multi dimensional data container. 
Definition: array.h:27
af_colormap
Definition: defines.h:329
AFAPI af_err af_draw_plot3(const af_window wind, const af_array P, const af_cell *const props)
C Interface wrapper for drawing an array as a plot. 
AFAPI af_err af_create_window(af_window *out, const int width, const int height, const char *const title)
C Interface wrapper for creating a window. 
Definition: graphics.h:17
af_err
Definition: defines.h:67
#define AFAPI
Definition: defines.h:31
AFAPI af_err af_draw_plot(const af_window wind, const af_array X, const af_array Y, const af_cell *const props)
C Interface wrapper for drawing an array as a plot. 
AFAPI af_err af_set_position(const af_window wind, const unsigned x, const unsigned y)
C Interface wrapper for setting the start position when window is displayed. 
AFAPI af_err af_grid(const af_window wind, const int rows, const int cols)
C Interface wrapper for grid setup in a window. 
AFAPI af_err af_draw_image(const af_window wind, const af_array in, const af_cell *const props)
C Interface wrapper for drawing an array as an image. 
AFAPI af_err af_set_size(const af_window wind, const unsigned w, const unsigned h)
C Interface wrapper for setting window position. 
af_err af_draw_surface(const af_window wind, const af_array xVals, const af_array yVals, const af_array S, const af_cell *const props)
C Interface wrapper for drawing arrayis as a surface. 
void * af_array
Definition: defines.h:219
int row
Definition: graphics.h:18
Window & operator()(const int r, const int c)
This function is used to keep track of which cell in the grid mode is being currently rendered...
Definition: graphics.h:268
unsigned long long af_window
Definition: graphics.h:15