openscenegraph
Public Member Functions
osgViewer::GraphicsWindowEmbedded Class Reference
Inheritance diagram for osgViewer::GraphicsWindowEmbedded:
osgViewer::GraphicsWindow osg::GraphicsContext osgGA::GUIActionAdapter osg::Object osg::Referenced

List of all members.

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
virtual const char * className () const
void init ()
virtual bool valid () const
virtual bool realizeImplementation ()
virtual bool isRealizedImplementation () const
virtual void closeImplementation ()
virtual bool makeCurrentImplementation ()
virtual bool releaseContextImplementation ()
virtual void swapBuffersImplementation ()
virtual void grabFocus ()
virtual void grabFocusIfPointerInWindow ()
virtual void raiseWindow ()

Constructor & Destructor Documentation

osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded ( osg::GraphicsContext::Traits traits = 0) [inline]
osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded ( int  x,
int  y,
int  width,
int  height 
) [inline]

Member Function Documentation

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.

virtual void osgViewer::GraphicsWindowEmbedded::closeImplementation ( ) [inline, virtual]

Close the graphics context implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.

Reimplemented from osgViewer::GraphicsWindow.

virtual void osgViewer::GraphicsWindowEmbedded::grabFocus ( ) [inline, virtual]

Get focus.

Reimplemented from osgViewer::GraphicsWindow.

virtual void osgViewer::GraphicsWindowEmbedded::grabFocusIfPointerInWindow ( ) [inline, virtual]

Get focus on if the pointer is in this window.

Reimplemented from osgViewer::GraphicsWindow.

void osgViewer::GraphicsWindowEmbedded::init ( ) [inline]
virtual bool osgViewer::GraphicsWindowEmbedded::isRealizedImplementation ( ) const [inline, virtual]

Return true if the graphics context has been realized, and is ready to use, implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.

Reimplemented from osgViewer::GraphicsWindow.

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 bool osgViewer::GraphicsWindowEmbedded::makeCurrentImplementation ( ) [inline, virtual]

Make this graphics context current implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.

Reimplemented from osgViewer::GraphicsWindow.

virtual void osgViewer::GraphicsWindowEmbedded::raiseWindow ( ) [inline, virtual]

Raise the window to the top.

Reimplemented from osgViewer::GraphicsWindow.

virtual bool osgViewer::GraphicsWindowEmbedded::realizeImplementation ( ) [inline, virtual]

Realize the GraphicsContext implementation, Pure virtual - must be implemented by concrete implementations of GraphicsContext.

Reimplemented from osgViewer::GraphicsWindow.

virtual bool osgViewer::GraphicsWindowEmbedded::releaseContextImplementation ( ) [inline, virtual]

Release the graphics context.

Reimplemented from osgViewer::GraphicsWindow.

virtual void osgViewer::GraphicsWindowEmbedded::swapBuffersImplementation ( ) [inline, virtual]

Swap the front and back buffers implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.

Reimplemented from osgViewer::GraphicsWindow.

virtual bool osgViewer::GraphicsWindowEmbedded::valid ( ) const [inline, virtual]

Return whether a valid and usable GraphicsContext has been created.

Reimplemented from osgViewer::GraphicsWindow.

Referenced by init().


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