![]() |
GLVis
v4.2
Accurate and flexible finite element visualization
|
Go to the source code of this file.
Functions | |
| void | SDLMainLoop (bool server_mode=false) |
| int | InitVisualization (const char name[], int x, int y, int w, int h) |
| Initializes the visualization and some keys. More... | |
| void | SetVisualizationScene (VisualizationScene *scene, int view=3, const char *keys=NULL) |
| void | RunVisualization () |
| Start the infinite visualization loop. More... | |
| void | SendExposeEvent () |
| Send expose event. In our case MyReshape is executed and Draw after it. More... | |
| void | MyExpose () |
| void | MainLoop () |
| SdlWindow * | GetAppWindow () |
| VisualizationScene * | GetVisualizationScene () |
| void | SetLegacyGLOnly (bool status) |
| void | AddIdleFunc (void(*Func)(void)) |
| void | RemoveIdleFunc (void(*Func)(void)) |
| void | LeftButtonDown (EventInfo *event) |
| void | LeftButtonLoc (EventInfo *event) |
| void | LeftButtonUp (EventInfo *event) |
| void | MiddleButtonDown (EventInfo *event) |
| void | MiddleButtonLoc (EventInfo *event) |
| void | MiddleButtonUp (EventInfo *event) |
| void | RightButtonDown (EventInfo *event) |
| void | RightButtonLoc (EventInfo *event) |
| void | RightButtonUp (EventInfo *event) |
| void | TouchPinch (SDL_MultiGestureEvent &e) |
| void | KeyCtrlP () |
| void | KeyS () |
| void | KeyQPressed () |
| void | ToggleThreads () |
| void | ThreadsPauseFunc (GLenum) |
| void | ThreadsStop () |
| void | ThreadsRun () |
| void | Key1Pressed () |
| void | Key2Pressed () |
| void | Key3Pressed () |
| void | Key4Pressed () |
| void | Key5Pressed () |
| void | Key6Pressed () |
| void | Key7Pressed () |
| void | Key8Pressed () |
| void | Key9Pressed () |
| void | Key0Pressed () |
| void | KeyDeletePressed () |
| void | KeyEnterPressed () |
| void | KeyLeftPressed (GLenum) |
| void | KeyRightPressed (GLenum) |
| void | KeyUpPressed (GLenum) |
| void | KeyDownPressed (GLenum) |
| void | KeyJPressed () |
| void | KeyMinusPressed () |
| void | KeyPlusPressed () |
| void | ZoomIn () |
| void | ZoomOut () |
| void | ScaleUp () |
| void | ScaleDown () |
| void | LookAt () |
| void | ShrinkWindow () |
| void | EnlargeWindow () |
| void | MoveResizeWindow (int x, int y, int w, int h) |
| void | ResizeWindow (int w, int h) |
| void | SetWindowTitle (const char *title) |
| int | Screenshot (const char *fname, bool convert=false) |
| Take a screenshot using libtiff, libpng or sdl2. More... | |
| int | SaveAsPNG (const char *fname, int w, int h, bool is_hidpi, bool with_alpha=false, std::function< void(int, void *)> get_row=nullptr) |
| void | SendKeySequence (const char *seq) |
| Send a sequence of keystrokes to the visualization window. More... | |
| void | CallKeySequence (const char *seq) |
| void | SetUseTexture (int ut) |
| int | GetUseTexture () |
| void | Set_Texture_Image () |
| int | GetMultisample () |
| void | SetMultisample (int m) |
| void | SetLineWidth (float width) |
| float | GetLineWidth () |
| void | SetLineWidthMS (float width_ms) |
| float | GetLineWidthMS () |
| void | InitFont () |
| GlVisFont * | GetFont () |
| bool | SetFont (const vector< std::string > &patterns, int height) |
| void | SetFont (const std::string &fn) |
| void | SetUseHiDPI (bool status) |
| void AddIdleFunc | ( | void(*)(void) | Func | ) |
Definition at line 491 of file aux_vis.cpp.
| void CallKeySequence | ( | const char * | seq | ) |
Definition at line 253 of file aux_vis.cpp.
| void EnlargeWindow | ( | ) |
Definition at line 1528 of file aux_vis.cpp.
| SdlWindow* GetAppWindow | ( | ) |
Definition at line 58 of file aux_vis.cpp.
| GlVisFont* GetFont | ( | ) |
Definition at line 1678 of file aux_vis.cpp.
| float GetLineWidth | ( | ) |
Definition at line 1609 of file aux_vis.cpp.
| float GetLineWidthMS | ( | ) |
Definition at line 1614 of file aux_vis.cpp.
| int GetMultisample | ( | ) |
Definition at line 1573 of file aux_vis.cpp.
| int GetUseTexture | ( | ) |
Definition at line 1556 of file aux_vis.cpp.
| VisualizationScene* GetVisualizationScene | ( | ) |
Definition at line 63 of file aux_vis.cpp.
| void InitFont | ( | ) |
Definition at line 1646 of file aux_vis.cpp.
| int InitVisualization | ( | const char | name[], |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Initializes the visualization and some keys.
Definition at line 81 of file aux_vis.cpp.
| void Key0Pressed | ( | ) |
Definition at line 1296 of file aux_vis.cpp.
| void Key1Pressed | ( | ) |
Definition at line 1377 of file aux_vis.cpp.
| void Key2Pressed | ( | ) |
Definition at line 1383 of file aux_vis.cpp.
| void Key3Pressed | ( | ) |
Definition at line 1389 of file aux_vis.cpp.
| void Key4Pressed | ( | ) |
Definition at line 1352 of file aux_vis.cpp.
| void Key5Pressed | ( | ) |
Definition at line 1358 of file aux_vis.cpp.
| void Key6Pressed | ( | ) |
Definition at line 1371 of file aux_vis.cpp.
| void Key7Pressed | ( | ) |
Definition at line 1334 of file aux_vis.cpp.
| void Key8Pressed | ( | ) |
Definition at line 1340 of file aux_vis.cpp.
| void Key9Pressed | ( | ) |
Definition at line 1346 of file aux_vis.cpp.
| void KeyCtrlP | ( | ) |
Definition at line 1190 of file aux_vis.cpp.
| void KeyDeletePressed | ( | ) |
Definition at line 1306 of file aux_vis.cpp.
| void KeyDownPressed | ( | GLenum | ) |
Definition at line 1449 of file aux_vis.cpp.
| void KeyEnterPressed | ( | ) |
Definition at line 1324 of file aux_vis.cpp.
| void KeyJPressed | ( | ) |
Definition at line 1462 of file aux_vis.cpp.
| void KeyLeftPressed | ( | GLenum | ) |
Definition at line 1410 of file aux_vis.cpp.
| void KeyMinusPressed | ( | ) |
Definition at line 1468 of file aux_vis.cpp.
| void KeyPlusPressed | ( | ) |
Definition at line 1474 of file aux_vis.cpp.
| void KeyQPressed | ( | ) |
Definition at line 1231 of file aux_vis.cpp.
| void KeyRightPressed | ( | GLenum | ) |
Definition at line 1423 of file aux_vis.cpp.
| void KeyS | ( | ) |
Definition at line 1119 of file aux_vis.cpp.
| void KeyUpPressed | ( | GLenum | ) |
Definition at line 1436 of file aux_vis.cpp.
| void LeftButtonDown | ( | EventInfo * | event | ) |
Definition at line 570 of file aux_vis.cpp.
| void LeftButtonLoc | ( | EventInfo * | event | ) |
Definition at line 588 of file aux_vis.cpp.
| void LeftButtonUp | ( | EventInfo * | event | ) |
Definition at line 646 of file aux_vis.cpp.
| void LookAt | ( | ) |
Definition at line 1504 of file aux_vis.cpp.
| void MainLoop | ( | ) |
Definition at line 515 of file aux_vis.cpp.
| void MiddleButtonDown | ( | EventInfo * | event | ) |
Definition at line 672 of file aux_vis.cpp.
| void MiddleButtonLoc | ( | EventInfo * | event | ) |
Definition at line 678 of file aux_vis.cpp.
| void MiddleButtonUp | ( | EventInfo * | event | ) |
Definition at line 746 of file aux_vis.cpp.
| void MoveResizeWindow | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 1540 of file aux_vis.cpp.
| void MyExpose | ( | ) |
Definition at line 404 of file aux_vis.cpp.
| void RemoveIdleFunc | ( | void(*)(void) | Func | ) |
Definition at line 497 of file aux_vis.cpp.
| void ResizeWindow | ( | int | w, |
| int | h | ||
| ) |
Definition at line 1546 of file aux_vis.cpp.
| void RightButtonDown | ( | EventInfo * | event | ) |
Definition at line 749 of file aux_vis.cpp.
| void RightButtonLoc | ( | EventInfo * | event | ) |
Definition at line 755 of file aux_vis.cpp.
| void RightButtonUp | ( | EventInfo * | event | ) |
Definition at line 803 of file aux_vis.cpp.
| void RunVisualization | ( | ) |
Start the infinite visualization loop.
Definition at line 334 of file aux_vis.cpp.
| int SaveAsPNG | ( | const char * | fname, |
| int | w, | ||
| int | h, | ||
| bool | is_hidpi, | ||
| bool | with_alpha = false, |
||
| std::function< void(int, void *)> | get_row = nullptr |
||
| ) |
Definition at line 895 of file aux_vis.cpp.
| void ScaleDown | ( | ) |
Definition at line 1498 of file aux_vis.cpp.
| void ScaleUp | ( | ) |
Definition at line 1492 of file aux_vis.cpp.
| int Screenshot | ( | const char * | fname, |
| bool | convert = false |
||
| ) |
Take a screenshot using libtiff, libpng or sdl2.
Definition at line 970 of file aux_vis.cpp.
| void SDLMainLoop | ( | bool | server_mode = false | ) |
Definition at line 53 of file aux_vis.cpp.
| void SendExposeEvent | ( | ) |
Send expose event. In our case MyReshape is executed and Draw after it.
Definition at line 346 of file aux_vis.cpp.
| void SendKeySequence | ( | const char * | seq | ) |
Send a sequence of keystrokes to the visualization window.
Definition at line 198 of file aux_vis.cpp.
| void Set_Texture_Image | ( | ) |
| bool SetFont | ( | const vector< std::string > & | patterns, |
| int | height | ||
| ) |
Definition at line 1683 of file aux_vis.cpp.
| void SetFont | ( | const std::string & | fn | ) |
Definition at line 1767 of file aux_vis.cpp.
| void SetLegacyGLOnly | ( | bool | status | ) |
Definition at line 68 of file aux_vis.cpp.
| void SetLineWidth | ( | float | width | ) |
Definition at line 1590 of file aux_vis.cpp.
| void SetLineWidthMS | ( | float | width_ms | ) |
Definition at line 1599 of file aux_vis.cpp.
| void SetMultisample | ( | int | m | ) |
Definition at line 1578 of file aux_vis.cpp.
| void SetUseHiDPI | ( | bool | status | ) |
Definition at line 73 of file aux_vis.cpp.
| void SetUseTexture | ( | int | ut | ) |
Definition at line 1561 of file aux_vis.cpp.
| void SetVisualizationScene | ( | VisualizationScene * | scene, |
| int | view = 3, |
||
| const char * | keys = NULL |
||
| ) |
Definition at line 307 of file aux_vis.cpp.
| void SetWindowTitle | ( | const char * | title | ) |
Definition at line 1551 of file aux_vis.cpp.
| void ShrinkWindow | ( | ) |
Definition at line 1516 of file aux_vis.cpp.
| void ThreadsPauseFunc | ( | GLenum | ) |
Definition at line 1247 of file aux_vis.cpp.
| void ThreadsRun | ( | ) |
Definition at line 1267 of file aux_vis.cpp.
| void ThreadsStop | ( | ) |
Definition at line 1259 of file aux_vis.cpp.
| void ToggleThreads | ( | ) |
Definition at line 1237 of file aux_vis.cpp.
| void TouchPinch | ( | SDL_MultiGestureEvent & | e | ) |
Definition at line 806 of file aux_vis.cpp.
| void ZoomIn | ( | ) |
Definition at line 1480 of file aux_vis.cpp.
| void ZoomOut | ( | ) |
Definition at line 1486 of file aux_vis.cpp.
1.8.5