Public Member Functions |
| GraphicsWindowX11 (osg::GraphicsContext::Traits *traits) |
virtual bool | isSameKindAs (const Object *object) const |
virtual const char * | libraryName () const |
virtual const char * | className () const |
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 | checkEvents () |
virtual bool | setWindowDecorationImplementation (bool flag) |
virtual void | grabFocus () |
virtual void | grabFocusIfPointerInWindow () |
virtual void | raiseWindow () |
virtual void | requestWarpPointer (float x, float y) |
virtual bool | setWindowRectangleImplementation (int x, int y, int width, int height) |
virtual void | setWindowName (const std::string &name) |
virtual void | setCursor (MouseCursor cursor) |
Display * | getEventDisplay () const |
Display * | getDisplayToUse () const |
Window & | getParent () |
Window & | getWindow () |
Cursor | getCurrentCursor () |
| GraphicsWindow () |
void | setEventQueue (osgGA::EventQueue *eventQueue) |
osgGA::EventQueue * | getEventQueue () |
const osgGA::EventQueue * | getEventQueue () const |
void | setWindowRectangle (int x, int y, int width, int height) |
virtual void | getWindowRectangle (int &x, int &y, int &width, int &height) |
void | setWindowDecoration (bool flag) |
virtual bool | getWindowDecoration () const |
virtual std::string | getWindowName () |
virtual void | useCursor (bool cursorOn) |
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) |
void | add (Operation *operation) |
void | remove (Operation *operation) |
void | remove (const std::string &name) |
void | removeAllOperations () |
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 |
| Object () |
| Object (bool threadSafeRefUnref) |
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
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 |
| 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 |
virtual | ~GUIActionAdapter () |
virtual osg::View * | asView () |
Public Member Functions inherited from osgViewer::GraphicsHandleX11 |
| GraphicsHandleX11 () |
void | setDisplay (Display *display) |
Display * | getDisplay () const |
void | setContext (Context context) |
Context | getContext () const |
Additional Inherited Members |
enum | MouseCursor {
InheritCursor,
NoCursor,
RightArrowCursor,
LeftArrowCursor,
InfoCursor,
DestroyCursor,
HelpCursor,
CycleCursor,
SprayCursor,
WaitCursor,
TextCursor,
CrosshairCursor,
HandCursor,
UpDownCursor,
LeftRightCursor,
TopSideCursor,
BottomSideCursor,
LeftSideCursor,
RightSideCursor,
TopLeftCorner,
TopRightCorner,
BottomRightCorner,
BottomLeftCorner
} |
typedef std::list
< osgViewer::View * > | Views |
Public Types inherited from osgViewer::GraphicsHandleX11 |
typedef GLXContext | Context |
typedef GLXPbuffer | Pbuffer |
static void | setWindowingSystemInterface (WindowingSystemInterface *wsInterface) |
static WindowingSystemInterface * | getWindowingSystemInterface () |
static GraphicsContext * | createGraphicsContext (Traits *traits) |
static unsigned int | createNewContextID () |
static unsigned int | getMaxContextID () |
static void | incrementContextIDUsageCount (unsigned int contextID) |
static void | decrementContextIDUsageCount (unsigned int contextID) |
static GraphicsContexts | getAllRegisteredGraphicsContexts () |
static GraphicsContexts | getRegisteredGraphicsContexts (unsigned int contextID) |
static void | setCompileContext (unsigned int contextID, GraphicsContext *gc) |
static GraphicsContext * | getOrCreateCompileContext (unsigned int contextID) |
static GraphicsContext * | getCompileContext (unsigned int contextID) |
static void | registerGraphicsContext (GraphicsContext *gc) |
static void | unregisterGraphicsContext (GraphicsContext *gc) |