|
| | Window (const std::string &title="GLFW Window", int width=640, int height=480, int fullscreen=0, GLFWwindow *share=nullptr) |
| | Window (const Window &w)=delete |
| | Window (Window &&w) noexcept |
| virtual | ~Window () |
| Window & | operator= (const Window &w)=delete |
| Window & | operator= (Window &&w) noexcept |
| auto * | get () const |
| void | setClose (int flag=GLFW_TRUE) const |
| bool | shouldClose () const |
| | operator bool () |
| void | swapBuffers () const |
| void | restoreViewport () const |
| void | updateViewport () |
| auto | getWidth () const |
| auto | getHeight () const |
| auto | getFboWidth () const |
| auto | getFboHeight () const |
| const auto & | getSize () const |
| void | getSize (GLsizei *size) const |
| const auto & | getFboSize () const |
| void | getFboSize (GLsizei *fboSize) const |
| auto | getAspect () const |
| bool | getKey (int key) const |
| void | selectInterface (int no) |
| void | setVelocity (GLfloat vx, GLfloat vy, GLfloat vz=0.1f) |
| int | getLastKey () |
| auto | getArrow (int direction=0, int mods=0) const |
| auto | getArrowX (int mods=0) const |
| auto | getArrowY (int mods=0) const |
| void | getArrow (GLfloat *arrow, int mods=0) const |
| auto | getShiftArrowX () const |
| auto | getShiftArrowY () const |
| void | getShiftArrow (GLfloat *shift_arrow) const |
| auto | getControlArrowX () const |
| auto | getControlArrowY () const |
| void | getControlArrow (GLfloat *control_arrow) const |
| auto | getAltArrowX () const |
| auto | getAltArrowY () const |
| void | getAltArrow (GLfloat *alt_arrow) const |
| const auto * | getMouse () const |
| void | getMouse (GLfloat *position) const |
| auto | getMouse (int direction) const |
| auto | getMouseX () const |
| auto | getMouseY () const |
| const auto * | getWheel () const |
| void | getWheel (GLfloat *rotation) const |
| auto | getWheel (int direction) const |
| auto | getWheelX () const |
| auto | getWheelY () const |
| const auto & | getTranslation (int button=GLFW_MOUSE_BUTTON_1) const |
| auto | getTranslationMatrix (int button=GLFW_MOUSE_BUTTON_1) const |
| auto | getScrollMatrix (int button=GLFW_MOUSE_BUTTON_1) const |
| auto | getRotation (int button=GLFW_MOUSE_BUTTON_1) const |
| auto | getRotationMatrix (int button=GLFW_MOUSE_BUTTON_1) const |
| void | resetRotation () |
| void | resetTranslation () |
| void | reset () |
| void * | getUserPointer () const |
| void | setUserPointer (void *pointer) |
| void | setResizeFunc (void(*func)(const Window *window, int width, int height)) |
| void | setKeyboardFunc (void(*func)(const Window *window, int key, int scancode, int action, int mods)) |
| void | setMouseFunc (void(*func)(const Window *window, int button, int action, int mods)) |
| void | setWheelFunc (void(*func)(const Window *window, double x, double y)) |
ウィンドウ関連の処理.
- 覚え書き
- GLFW を使って OpenGL のウィンドウを操作するラッパークラス.
GgApp.h の 170 行目に定義があります。