Classes |
struct | WindowBinNumberCompare |
struct | WindowZCompare |
Public Types |
enum | WmFlags { WM_USE_LUA = 0x00000001,
WM_USE_PYTHON = 0x00000002,
WM_USE_RENDERBINS = 0x00000004,
WM_PICK_DEBUG = 0x00000008
} |
enum | PointerDirection {
PD_NONE = 0x00000000,
PD_LEFT = 0x00000001,
PD_RIGHT = 0x00000002,
PD_UP = 0x00000004,
PD_DOWN = 0x00000008
} |
enum | PointerFocusMode { PFM_FOCUS = 0x00000000,
PFM_UNFOCUS = 0x00000001,
PFM_SLOPPY = 0x00000002
} |
Public Member Functions |
| META_Object (osgWidget, WindowManager) |
| WindowManager (osgViewer::View *=0, point_type=0.0f, point_type=0.0f, unsigned int=0, unsigned int=0) |
| WindowManager (const WindowManager &, const osg::CopyOp &) |
virtual | ~WindowManager () |
bool | pickAtXY (float, float, WidgetList &) |
bool | setFocused (Window *) |
void | setPointerXY (float, float) |
void | setStyleManager (StyleManager *) |
void | resizeAllWindows (bool=true) |
XYCoord | windowXY (double, double) const |
XYCoord | localXY (double, double) const |
bool | pointerMove (float, float) |
bool | pointerDrag (float, float) |
bool | mouseScroll (float, float) |
osg::Camera * | createParentOrthoCamera () |
unsigned int | getNodeMask () const |
| Get the node Mask.
|
point_type | getWidth () const |
point_type | getHeight () const |
bool | isUsingLua () const |
bool | isUsingPython () const |
bool | isUsingRenderBins () const |
int | getMouseKeysDown () const |
ScriptEngine * | getLuaEngine () |
const ScriptEngine * | getLuaEngine () const |
ScriptEngine * | getPythonEngine () |
const ScriptEngine * | getPythonEngine () const |
StyleManager * | getStyleManager () |
const StyleManager * | getStyleManager () const |
PointerDirection | getPointerVerticalDirection () const |
PointerDirection | getPointerHorizontalDirection () const |
PointerFocusMode | getPointerFocusMode () const |
int | getPointerDirectionVector () const |
bool | isPointerMovingUp () const |
bool | isPointerMovingDown () const |
bool | isPointerMovingLeft () const |
bool | isPointerMovingRight () const |
bool | isPointerMovingVertically () const |
bool | isPointerMovingHorizontally () const |
bool | isLeftMouseButtonDown () const |
bool | isMiddleMouseButtonDown () const |
bool | isRightMouseButtonDown () const |
bool | isMouseScrollingUp () const |
bool | isMouseScrollingDown () const |
bool | setFocusedByName (const std::string &name) |
void | setScrollingMotion (osgGA::GUIEventAdapter::ScrollingMotion sm) |
void | setPointerFocusMode (PointerFocusMode pfm) |
void | setWidth (point_type w) |
void | setHeight (point_type h) |
void | setSize (point_type w, point_type h) |
void | setWindowSize (point_type w, point_type h) |
bool | mousePushedLeft (float x, float y) |
bool | mousePushedMiddle (float x, float y) |
bool | mousePushedRight (float x, float y) |
bool | mouseReleasedLeft (float x, float y) |
bool | mouseReleasedMiddle (float x, float y) |
bool | mouseReleasedRight (float x, float y) |
bool | keyDown (int, int) |
bool | keyUp (int, int) |
osgViewer::View * | getView () |
const osgViewer::View * | getView () const |
Static Public Member Functions |
static void | setEventFromInterface (Event &, EventInterface *) |
template<typename T > |
static EventInterface * | getFirstEventInterface (T &, Event &) |