|
OSG
3.4.0
|
#include <GraphicsWindow.h>


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 () |
Public Member Functions inherited from osgViewer::GraphicsWindow | |
| GraphicsWindow () | |
| void | setEventQueue (osgGA::EventQueue *eventQueue) |
| osgGA::EventQueue * | getEventQueue () |
| const osgGA::EventQueue * | getEventQueue () const |
| virtual bool | checkEvents () |
| void | setWindowRectangle (int x, int y, int width, int height) |
| virtual bool | setWindowRectangleImplementation (int, int, int, int) |
| virtual void | getWindowRectangle (int &x, int &y, int &width, int &height) |
| void | setWindowDecoration (bool flag) |
| virtual bool | setWindowDecorationImplementation (bool) |
| virtual bool | getWindowDecoration () const |
| virtual void | setWindowName (const std::string &) |
| virtual std::string | getWindowName () |
| virtual void | useCursor (bool cursorOn) |
| virtual void | setCursor (MouseCursor) |
| virtual void | setSyncToVBlank (bool on) |
| bool | getSyncToVBlank () const |
| virtual void | setSwapGroup (bool on, GLuint group, GLuint barrier) |
| void | getSwapGroup (bool &on, GLuint &group, GLuint &barrier) const |
| virtual bool | makeContextCurrentImplementation (GraphicsContext *) |
| virtual void | bindPBufferToTextureImplementation (GLenum) |
| void | getViews (Views &views) |
| virtual void | requestRedraw () |
| virtual void | requestContinuousUpdate (bool=true) |
| virtual void | requestWarpPointer (float, float) |
Public Member Functions inherited from osg::GraphicsContext | |
| void | add (Operation *operation) |
| void | remove (Operation *operation) |
| void | remove (const std::string &name) |
| void | removeAllOperations () |
| virtual void | runOperations () |
| GraphicsOperationQueue & | getOperationsQueue () |
| OpenThreads::Mutex * | getOperationsMutex () |
| osg::RefBlock * | getOperationsBlock () |
| Operation * | getCurrentOperation () |
| const Traits * | getTraits () const |
| void | setState (State *state) |
| State * | getState () |
| const State * | getState () const |
| void | setClearColor (const Vec4 &color) |
| const Vec4 & | getClearColor () const |
| void | setClearMask (GLbitfield mask) |
| GLbitfield | getClearMask () const |
| virtual void | clear () |
| double | getTimeSinceLastClear () const |
| bool | realize () |
| void | close (bool callCloseImplementation=true) |
| void | swapBuffers () |
| bool | isRealized () const |
| bool | makeCurrent () |
| bool | makeContextCurrent (GraphicsContext *readContext) |
| bool | releaseContext () |
| bool | isCurrent () const |
| void | bindPBufferToTexture (GLenum buffer) |
| void | createGraphicsThread () |
| void | setGraphicsThread (GraphicsThread *gt) |
| GraphicsThread * | getGraphicsThread () |
| const GraphicsThread * | getGraphicsThread () const |
| virtual bool | makeContextCurrentImplementation (GraphicsContext *readContext)=0 |
| void | setSwapCallback (SwapCallback *rc) |
| SwapCallback * | getSwapCallback () |
| const SwapCallback * | getSwapCallback () const |
| void | swapBuffersCallbackOrImplemenation () |
| void | resized (int x, int y, int width, int height) |
| void | setResizedCallback (ResizedCallback *rc) |
| ResizedCallback * | getResizedCallback () |
| const ResizedCallback * | getResizedCallback () const |
| virtual void | resizedImplementation (int x, int y, int width, int height) |
| Cameras & | getCameras () |
| const Cameras & | getCameras () const |
| void | setDefaultFboId (GLuint i) |
| GLuint | getDefaultFboId () const |
| virtual bool | isSameKindAs (const Object *object) const |
Public Member Functions inherited from osg::Object | |
| Object () | |
| Object (bool threadSafeRefUnref) | |
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| std::string | getCompoundClassName () const |
| virtual Node * | asNode () |
| virtual const Node * | asNode () const |
| virtual NodeVisitor * | asNodeVisitor () |
| virtual const NodeVisitor * | asNodeVisitor () const |
| virtual StateAttribute * | asStateAttribute () |
| virtual const StateAttribute * | asStateAttribute () const |
| virtual Uniform * | asUniform () |
| virtual const Uniform * | asUniform () const |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| virtual void | setName (const std::string &name) |
| void | setName (const char *name) |
| const std::string & | getName () const |
| void | setDataVariance (DataVariance dv) |
| DataVariance | getDataVariance () const |
| virtual void | computeDataVariance () |
| void | setUserDataContainer (osg::UserDataContainer *udc) |
| osg::UserDataContainer * | getUserDataContainer () |
| const osg::UserDataContainer * | getUserDataContainer () const |
| osg::UserDataContainer * | getOrCreateUserDataContainer () |
| virtual void | setUserData (Referenced *obj) |
| virtual Referenced * | getUserData () |
| virtual const Referenced * | getUserData () const |
| template<typename T > | |
| bool | getUserValue (const std::string &name, T &value) const |
| template<typename T > | |
| void | setUserValue (const std::string &name, const T &value) |
| virtual void | resizeGLObjectBuffers (unsigned int) |
| virtual void | releaseGLObjects (osg::State *=0) const |
| template<typename T > | |
| BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject BoundingSpheredValueObject bool | getUserValue (const std::string &name, T &value) const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| bool | getThreadSafeRefUnref () const |
| OpenThreads::Mutex * | getRefMutex () const |
| int | ref () const |
| int | unref () const |
| int | unref_nodelete () const |
| int | referenceCount () const |
| ObserverSet * | getObserverSet () const |
| ObserverSet * | getOrCreateObserverSet () const |
| void | addObserver (Observer *observer) const |
| void | removeObserver (Observer *observer) const |
Public Member Functions inherited from osgGA::GUIActionAdapter | |
| virtual | ~GUIActionAdapter () |
| virtual osg::View * | asView () |
| virtual bool | computeIntersections (const osgGA::GUIEventAdapter &, osgUtil::LineSegmentIntersector::Intersections &, osg::Node::NodeMask=0xffffffff) |
| virtual bool | computeIntersections (const osgGA::GUIEventAdapter &, const osg::NodePath &, osgUtil::LineSegmentIntersector::Intersections &, osg::Node::NodeMask=0xffffffff) |
Definition at line 217 of file GraphicsWindow.h.
|
inline |
|
inline |
|
inlinevirtual |
return the name of the object's class type. Must be defined by derived classes.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 242 of file GraphicsWindow.h.
|
inlinevirtual |
Close the graphics context implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 267 of file GraphicsWindow.h.
|
inlinevirtual |
Get focus.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 271 of file GraphicsWindow.h.
|
inlinevirtual |
Get focus on if the pointer is in this window.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 272 of file GraphicsWindow.h.
|
inline |
Definition at line 244 of file GraphicsWindow.h.


|
inlinevirtual |
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.
Definition at line 266 of file GraphicsWindow.h.
|
inlinevirtual |
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 240 of file GraphicsWindow.h.
|
inlinevirtual |
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.
Definition at line 241 of file GraphicsWindow.h.
|
inlinevirtual |
Make this graphics context current implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 268 of file GraphicsWindow.h.
|
inlinevirtual |
Raise the window to the top.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 273 of file GraphicsWindow.h.
|
inlinevirtual |
Realize the GraphicsContext implementation, Pure virtual - must be implemented by concrete implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 265 of file GraphicsWindow.h.
|
inlinevirtual |
Release the graphics context.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 269 of file GraphicsWindow.h.
|
inlinevirtual |
Swap the front and back buffers implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 270 of file GraphicsWindow.h.
|
inlinevirtual |
Return whether a valid and usable GraphicsContext has been created.
Reimplemented from osgViewer::GraphicsWindow.
Definition at line 264 of file GraphicsWindow.h.

1.8.8