Public Member Functions | |
GraphicsWindowEmbedded (osg::GraphicsContext::Traits *traits=0) | |
GraphicsWindowEmbedded (int x, int y, int width, int height) | |
virtual bool | isSameKindAs (const Object *object) const |
virtual const char * | libraryName () const |
return the name of the object's library. | |
virtual const char * | className () const |
return the name of the object's class type. | |
void | init () |
virtual bool | valid () const |
Create a new mouse cursor from the usual bitmap data. | |
virtual bool | realizeImplementation () |
Realise the GraphicsContext implementation, Pure virtual - must be implemented by concrate implementations of GraphicsContext. | |
virtual bool | isRealizedImplementation () const |
Return true if the graphics context has been realised, and is ready to use, implementation. | |
virtual void | closeImplementation () |
Close the graphics context implementation. | |
virtual bool | makeCurrentImplementation () |
Make this graphics context current implementation. | |
virtual bool | releaseContextImplementation () |
Release the graphics context. | |
virtual void | swapBuffersImplementation () |
Swap the front and back buffers implementation. | |
virtual void | grabFocus () |
Get focus. | |
virtual void | grabFocusIfPointerInWindow () |
Get focus on if the pointer is in this window. |
osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded | ( | osg::GraphicsContext::Traits * | traits = 0 |
) | [inline] |
osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height | |||
) | [inline] |
virtual bool osgViewer::GraphicsWindowEmbedded::isSameKindAs | ( | const Object * | object | ) | const [inline, virtual] |
Reimplemented from osgViewer::GraphicsWindow.
virtual const char* osgViewer::GraphicsWindowEmbedded::libraryName | ( | ) | const [inline, virtual] |
return the name of the object's library.
Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Reimplemented from osgViewer::GraphicsWindow.
virtual const char* osgViewer::GraphicsWindowEmbedded::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Reimplemented from osgViewer::GraphicsWindow.
void osgViewer::GraphicsWindowEmbedded::init | ( | ) | [inline] |
virtual bool osgViewer::GraphicsWindowEmbedded::valid | ( | ) | const [inline, virtual] |
Create a new mouse cursor from the usual bitmap data.
Return whether a valid and usable GraphicsContext has been created.
Reimplemented from osgViewer::GraphicsWindow.
virtual bool osgViewer::GraphicsWindowEmbedded::realizeImplementation | ( | ) | [inline, virtual] |
Realise the GraphicsContext implementation, Pure virtual - must be implemented by concrate implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
virtual bool osgViewer::GraphicsWindowEmbedded::isRealizedImplementation | ( | ) | const [inline, virtual] |
Return true if the graphics context has been realised, and is ready to use, implementation.
Pure virtual - must be implemented by concrate implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
virtual void osgViewer::GraphicsWindowEmbedded::closeImplementation | ( | ) | [inline, virtual] |
Close the graphics context implementation.
Pure virtual - must be implemented by concrate implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
virtual bool osgViewer::GraphicsWindowEmbedded::makeCurrentImplementation | ( | ) | [inline, virtual] |
Make this graphics context current implementation.
Pure virtual - must be implemented by concrate implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
virtual bool osgViewer::GraphicsWindowEmbedded::releaseContextImplementation | ( | ) | [inline, virtual] |
virtual void osgViewer::GraphicsWindowEmbedded::swapBuffersImplementation | ( | ) | [inline, virtual] |
Swap the front and back buffers implementation.
Pure virtual - must be implemented by Concrate implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
virtual void osgViewer::GraphicsWindowEmbedded::grabFocus | ( | ) | [inline, virtual] |
virtual void osgViewer::GraphicsWindowEmbedded::grabFocusIfPointerInWindow | ( | ) | [inline, virtual] |