osgWidget::WindowManager Class Reference

Inheritance diagram for osgWidget::WindowManager:

Inheritance graph
[legend]

List of all members.

Public Types

enum  WmFlags {
  WM_USE_LUA = 0x00000001, WM_USE_PYTHON = 0x00000002, WM_PICK_DEBUG = 0x00000004, WM_NO_INVERT_Y = 0x00000008,
  WM_NO_BETA_WARN = 0x00000010
}
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)
bool pointerMove (float, float)
bool pointerDrag (float, float)
bool mouseScroll (float, float)
osg::CameracreateParentOrthoCamera ()
unsigned int getNodeMask () const
 Get the node Mask.
point_type getWidth () const
point_type getHeight () const
bool isUsingLua () const
bool isUsingPython () const
bool isInvertedY () const
int getMouseKeysDown () const
ScriptEnginegetLuaEngine ()
const ScriptEnginegetLuaEngine () const
ScriptEnginegetPythonEngine ()
const ScriptEnginegetPythonEngine () const
StyleManagergetStyleManager ()
const StyleManagergetStyleManager () 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)
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)

Static Public Member Functions

static void setEventFromInterface (Event &, EventInterface *)
template<typename T>
static EventInterfacegetFirstEventInterface (T &, Event &)

Classes

struct  WindowZCompare


Member Enumeration Documentation

Enumerator:
WM_USE_LUA 
WM_USE_PYTHON 
WM_PICK_DEBUG 
WM_NO_INVERT_Y 
WM_NO_BETA_WARN 

Enumerator:
PD_NONE 
PD_LEFT 
PD_RIGHT 
PD_UP 
PD_DOWN 

Enumerator:
PFM_FOCUS 
PFM_UNFOCUS 
PFM_SLOPPY 


Constructor & Destructor Documentation

osgWidget::WindowManager::WindowManager ( osgViewer::View = 0,
point_type  = 0.0f,
point_type  = 0.0f,
unsigned  int = 0,
unsigned  int = 0 
)

osgWidget::WindowManager::WindowManager ( const WindowManager ,
const osg::CopyOp  
)

virtual osgWidget::WindowManager::~WindowManager (  )  [virtual]


Member Function Documentation

osgWidget::WindowManager::META_Object ( osgWidget  ,
WindowManager   
)

static void osgWidget::WindowManager::setEventFromInterface ( Event ,
EventInterface  
) [static]

template<typename T>
EventInterface * osgWidget::WindowManager::getFirstEventInterface ( T &  container,
Event ev 
) [inline, static]

bool osgWidget::WindowManager::pickAtXY ( float  ,
float  ,
WidgetList  
)

bool osgWidget::WindowManager::setFocused ( Window  ) 

void osgWidget::WindowManager::setPointerXY ( float  ,
float   
)

void osgWidget::WindowManager::setStyleManager ( StyleManager  ) 

void osgWidget::WindowManager::resizeAllWindows ( bool  = true  ) 

bool osgWidget::WindowManager::pointerMove ( float  ,
float   
)

bool osgWidget::WindowManager::pointerDrag ( float  ,
float   
)

bool osgWidget::WindowManager::mouseScroll ( float  ,
float   
)

osg::Camera* osgWidget::WindowManager::createParentOrthoCamera (  ) 

unsigned int osgWidget::WindowManager::getNodeMask (  )  const [inline]

Get the node Mask.

Reimplemented from osg::Node.

point_type osgWidget::WindowManager::getWidth (  )  const [inline]

point_type osgWidget::WindowManager::getHeight (  )  const [inline]

bool osgWidget::WindowManager::isUsingLua (  )  const [inline]

bool osgWidget::WindowManager::isUsingPython (  )  const [inline]

bool osgWidget::WindowManager::isInvertedY (  )  const [inline]

int osgWidget::WindowManager::getMouseKeysDown (  )  const [inline]

ScriptEngine* osgWidget::WindowManager::getLuaEngine (  )  [inline]

const ScriptEngine* osgWidget::WindowManager::getLuaEngine (  )  const [inline]

ScriptEngine* osgWidget::WindowManager::getPythonEngine (  )  [inline]

const ScriptEngine* osgWidget::WindowManager::getPythonEngine (  )  const [inline]

StyleManager* osgWidget::WindowManager::getStyleManager (  )  [inline]

const StyleManager* osgWidget::WindowManager::getStyleManager (  )  const [inline]

PointerDirection osgWidget::WindowManager::getPointerVerticalDirection (  )  const [inline]

PointerDirection osgWidget::WindowManager::getPointerHorizontalDirection (  )  const [inline]

PointerFocusMode osgWidget::WindowManager::getPointerFocusMode (  )  const [inline]

int osgWidget::WindowManager::getPointerDirectionVector (  )  const [inline]

bool osgWidget::WindowManager::isPointerMovingUp (  )  const [inline]

bool osgWidget::WindowManager::isPointerMovingDown (  )  const [inline]

bool osgWidget::WindowManager::isPointerMovingLeft (  )  const [inline]

bool osgWidget::WindowManager::isPointerMovingRight (  )  const [inline]

bool osgWidget::WindowManager::isPointerMovingVertically (  )  const [inline]

bool osgWidget::WindowManager::isPointerMovingHorizontally (  )  const [inline]

bool osgWidget::WindowManager::isLeftMouseButtonDown (  )  const [inline]

bool osgWidget::WindowManager::isMiddleMouseButtonDown (  )  const [inline]

bool osgWidget::WindowManager::isRightMouseButtonDown (  )  const [inline]

bool osgWidget::WindowManager::isMouseScrollingUp (  )  const [inline]

bool osgWidget::WindowManager::isMouseScrollingDown (  )  const [inline]

bool osgWidget::WindowManager::setFocusedByName ( const std::string &  name  )  [inline]

void osgWidget::WindowManager::setScrollingMotion ( osgGA::GUIEventAdapter::ScrollingMotion  sm  )  [inline]

void osgWidget::WindowManager::setPointerFocusMode ( PointerFocusMode  pfm  )  [inline]

void osgWidget::WindowManager::setWidth ( point_type  w  )  [inline]

void osgWidget::WindowManager::setHeight ( point_type  h  )  [inline]

void osgWidget::WindowManager::setSize ( point_type  w,
point_type  h 
) [inline]

bool osgWidget::WindowManager::mousePushedLeft ( float  x,
float  y 
) [inline]

bool osgWidget::WindowManager::mousePushedMiddle ( float  x,
float  y 
) [inline]

bool osgWidget::WindowManager::mousePushedRight ( float  x,
float  y 
) [inline]

bool osgWidget::WindowManager::mouseReleasedLeft ( float  x,
float  y 
) [inline]

bool osgWidget::WindowManager::mouseReleasedMiddle ( float  x,
float  y 
) [inline]

bool osgWidget::WindowManager::mouseReleasedRight ( float  x,
float  y 
) [inline]

bool osgWidget::WindowManager::keyDown ( int  ,
int   
)

bool osgWidget::WindowManager::keyUp ( int  ,
int   
)


The documentation for this class was generated from the following file:

Generated at Thu Aug 14 04:13:55 2008 for the OpenSceneGraph by doxygen 1.5.6.