35 internal::_Window* value;
52 FGAPI Window(
int pWidth,
int pHeight,
const char* pTitle,
53 const Window* pWindow=0,
const bool invisible =
false);
60 FGAPI Window(
const Window& other);
129 FGAPI internal::_Window*
get()
const;
164 FGAPI void draw(
const Image& pImage,
const bool pKeepAspectRatio=
true);
237 FGAPI void draw(
int pColId,
int pRowId,
const Image& pImage,
const char* pTitle=0,
const bool pKeepAspectRatio=
true);
256 FGAPI void draw(
int pColId,
int pRowId,
const Plot& pPlot,
const char* pTitle = 0);
276 FGAPI void draw(
int pColId,
int pRowId,
const Plot3& pPlot3,
const char* pTitle = 0);
295 FGAPI void draw(
int pColId,
int pRowId,
const Surface& pSurface,
const char* pTitle = 0);
314 FGAPI void draw(
int pColId,
int pRowId,
const Histogram& pHist,
const char* pTitle = 0);
FGAPI void swapBuffers()
Swaps background OpenGL buffer with front buffer.
Bar graph to display data frequencey.
Definition: histogram.h:27
Line graph to display plots.
Definition: plot.h:27
FGAPI void makeCurrent()
Make the current window's OpenGL context active context.
Definition: CPUCopy.hpp:13
ColorMap
Color maps.
Definition: defines.h:110
3d graph to display 3d line plots.
Definition: plot3.h:27
FGAPI void setSize(unsigned pWidth, unsigned pHeight)
Set the size of the window programmatically.
FGAPI long long display() const
Get Native Window display handle.
FGAPI long long context() const
Get OpenGL context handle.
FGAPI void hide()
Hide the window.
Window is where other objects such as Images, Plots etc.
Definition: window.h:33
#define FGAPI
Definition: defines.h:32
FGAPI void setPos(int pX, int pY)
Set the start position where the window will appear.
FGAPI void setFont(Font *pFont)
Set font to be used by the window to draw text.
Font object is essentially a resource handler for the specific font you want to use.
Definition: font.h:26
FGAPI void setTitle(const char *pTitle)
Set the window title.
3d graph to display plots.
Definition: surface.h:27
FGAPI void draw(const Image &pImage, const bool pKeepAspectRatio=true)
Render an Image to Window.
FGAPI void setColorMap(ColorMap cmap)
Set the colormap to be used for subsequent rendering calls.
FGAPI bool close()
Check if the window is ready for close.
FGAPI void grid(int pRows, int pCols)
Setup grid layout for multivew mode.
FGAPI ~Window()
Window Destructor.
FGAPI void show()
Show the window if hidden, otherwise no effect.