|
Extension handling |
| bool | hasExtension (UInt32 id) |
| bool | hasExtension (const Char8 *s) |
| void * | getFunction (UInt32 id) |
| void * | getFunctionNoCheck (UInt32 id) |
| void | dumpExtensions (void) |
| GLExtensionFunction | getFunctionByName (const Char8 *s) |
| Real32 | getConstantValue (GLenum val) |
| const Vec2f & | getConstantValuev (GLenum val) |
| const std::vector< std::string > & | getRegisteredFunctions (void) |
| const std::vector< std::string > & | getExtensions (void) |
| const std::vector< std::string > & | getIgnoredExtensions (void) |
| *static void | setGLLibraryName (const Char8 *s) |
| static Int32 | getExtensionId (const Char8 *s) |
| static bool | hasCommonExtension (UInt32 id) |
static const std::vector<
std::string > & | getRegisteredExtensions (void) |
GL object handling |
| *void | validateGLObject (UInt32 id) |
| void | validateAllGLObjects (void) |
| GLObjectStatusE | getGLObjectStatus (UInt32 id) |
| void | setGLObjectId (UInt32 id, UInt32 id2) |
| UInt32 | getGLObjectId (UInt32 id) |
| static void | refreshGLObject (UInt32 id) |
| static void | reinitializeGLObject (UInt32 id) |
| static void | destroyGLObject (UInt32 id, UInt32 num=1) |
| static void | unpackIdStatus (UInt32 idstatus, UInt32 &id, GLObjectStatusE &status) |
GL object handling |
| void | doInitRegisterGLObject (UInt32 id, UInt32 num) |
| *static void | initRegisterGLObject (UInt32 id, UInt32 num) |
| static UInt32 | packIdStatus (UInt32 id, GLObjectStatusE status) |
Public Types |
| typedef PassiveWindowPtr | Ptr |
| typedef ArgsCollector< UInt32 > | GLObjectFunctorArgs |
typedef TypedVoidFunctor2Base<
PtrCallArg< Window >, GLObjectFunctorArgs > | GLObjectFunctor |
| typedef void(* | GLExtensionFunction )(void) |
| enum | GLObjectStatusE {
notused = 1,
initialize,
reinitialize,
initialized,
needrefresh,
destroy,
finaldestroy
} |
| enum | { invalidExtensionID = 0x7fffffff,
invalidFunctionID = 0x7fffffff
} |
| enum | { statusShift = 3,
statusMask = 7
} |
Public Member Functions |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
|
| *virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
|
| *virtual UInt32 | getBinSize (const BitVector &whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, const BitVector &whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField) |
|
| *virtual FieldContainerPtr | shallowCopy (void) const |
|
| *virtual void | changed (BitVector whichField, UInt32 origin) |
|
| *void | addPort (const ViewportPtr &portP) |
| void | insertPort (UInt32 portIndex, const ViewportPtr &portP) |
| void | replacePort (UInt32 portIndex, const ViewportPtr &portP) |
| void | replacePortBy (const ViewportPtr &portP, const ViewportPtr &newPortP) |
| void | subPort (const ViewportPtr &portP) |
| void | subPort (UInt32 portIndex) |
|
| *bool | isResizePending (void) |
| virtual void | resize (int width, int height) |
| virtual void | resizeGL (void) |
| void | setSize (UInt16 width, UInt16 height) |
|
| *virtual void | frameInit (void) |
| virtual void | frameExit (void) |
| virtual void | draw (DrawAction *action=NULL) |
| virtual void | drawAllViewports (DrawAction *action=NULL) |
| virtual void | render (RenderActionBase *action=NULL) |
| virtual void | renderAllViewports (RenderActionBase *action=NULL) |
|
| *virtual void | init (void)=0 |
| virtual void | activate (void)=0 |
| virtual void | deactivate (void)=0 |
| virtual void | swap (void)=0 |
|
| *virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
|
| *SFUInt16 * | getSFWidth (void) |
| | Get the Window::_sfWidth field.
|
| SFUInt16 * | getSFHeight (void) |
| | Get the Window::_sfHeight field.
|
| MFViewportPtr * | getMFPort (void) |
| | Get the Window::_mfPort field.
|
| SFBool * | getSFResizePending (void) |
| | Get the Window::_sfResizePending field.
|
| UInt16 & | getWidth (void) |
| | Get the value of the Window::_sfWidth field.
|
| const UInt16 & | getWidth (void) const |
| | Get the value of the Window::_sfWidth field.
|
| UInt16 & | getHeight (void) |
| | Get the value of the Window::_sfHeight field.
|
| const UInt16 & | getHeight (void) const |
| | Get the value of the Window::_sfHeight field.
|
| bool & | getResizePending (void) |
| | Get the value of the Window::_sfResizePending field.
|
| const bool & | getResizePending (void) const |
| | Get the value of the Window::_sfResizePending field.
|
| ViewportPtr & | getPort (const UInt32 index) |
| | Get the value of the index element the Window::_mfPort field.
|
| MFViewportPtr & | getPort (void) |
| | Get the Window::_mfPort field.
|
| const MFViewportPtr & | getPort (void) const |
| | Get the Window::_mfPort field.
|
|
| *void | setWidth (const UInt16 &value) |
| | Set the value of the Window::_sfWidth field.
|
| void | setHeight (const UInt16 &value) |
| | Set the value of the Window::_sfHeight field.
|
| void | setResizePending (const bool &value) |
| | Set the value of the Window::_sfResizePending field.
|
|
| *void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
|
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
Static Public Member Functions |
|
| *static FieldContainerType & | getClassType (void) |
| | access the type of the class
|
| static UInt32 | getClassTypeId (void) |
| | access the numerical type of the class
|
|
| *static PassiveWindowPtr | create (void) |
| | create a new instance of the class
|
| static PassiveWindowPtr | createEmpty (void) |
| | create an empty new instance of the class, do not copy the prototype
|
|
| *static const char * | getClassname (void) |
|
| *static UInt32 | registerExtension (const Char8 *s) |
| static void | ignoreExtensions (const Char8 *s) |
| static UInt32 | registerFunction (const Char8 *s, Int32 ext=-1) |
| static void | registerConstant (GLenum val) |
|
| *static UInt32 | registerGLObject (GLObjectFunctor functor, UInt32 num=1) |
Static Public Attributes |
| static const osg::BitVector | MTInfluenceMask |
| static const Real32 | unknownConstant = -1e100 |
| static const osg::BitVector | WidthFieldMask |
| static const osg::BitVector | HeightFieldMask |
| static const osg::BitVector | PortFieldMask |
| static const osg::BitVector | ResizePendingFieldMask |
| static const osg::BitVector | GlObjectEventCounterFieldMask |
| static const osg::BitVector | GlObjectLastRefreshFieldMask |
| static const osg::BitVector | GlObjectLastReinitializeFieldMask |
| static const BitVector | AttachmentsFieldMask |
| static const BitVector | NextFieldMask |
Protected Member Functions |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
|
| * | PassiveWindowBase (void) |
| | PassiveWindowBase (const PassiveWindowBase &source) |
|
| *virtual | ~PassiveWindowBase (void) |
|
| *void | executeSyncImpl (PassiveWindowBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
|
| *virtual void | setupGL (void) |
|
| *SFUInt32 * | getSFGlObjectEventCounter (void) |
| | Get the Window::_sfGlObjectEventCounter field.
|
| MFUInt32 * | getMFGlObjectLastRefresh (void) |
| | Get the Window::_mfGlObjectLastRefresh field.
|
| MFUInt32 * | getMFGlObjectLastReinitialize (void) |
| | Get the Window::_mfGlObjectLastReinitialize field.
|
| UInt32 & | getGlObjectEventCounter (void) |
| | Get the value of the Window::_sfGlObjectEventCounter field.
|
| const UInt32 & | getGlObjectEventCounter (void) const |
| | Get the value of the Window::_sfGlObjectEventCounter field.
|
| UInt32 & | getGlObjectLastRefresh (UInt32 index) |
| | Get the value of the index element the Window::_mfGlObjectLastRefresh field.
|
| MFUInt32 & | getGlObjectLastRefresh (void) |
| | Get the Window::_mfGlObjectLastRefresh field.
|
| const MFUInt32 & | getGlObjectLastRefresh (void) const |
| | Get the Window::_mfGlObjectLastRefresh field.
|
| UInt32 & | getGlObjectLastReinitialize (UInt32 index) |
| | Get the value of the index element the Window::_mfGlObjectLastReinitialize field.
|
| MFUInt32 & | getGlObjectLastReinitialize (void) |
| | Get the Window::_mfGlObjectLastReinitialize field.
|
| const MFUInt32 & | getGlObjectLastReinitialize (void) const |
| | Get the Window::_mfGlObjectLastReinitialize field.
|
|
| *void | setGlObjectEventCounter (const UInt32 &value) |
| | Set the value of the Window::_sfGlObjectEventCounter field.
|
|
| *void | executeSyncImpl (WindowBase *pOther, const BitVector &whichField) |
|
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
|
| *AttachmentContainerPtr | getPtr (void) |
Protected Attributes |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
| *SFAttachmentMap | _attachmentMap |
|
*typedef std::map< GLenum,
Vec2f > | ConstHash |
|
| *SFUInt16 | _sfWidth |
| SFUInt16 | _sfHeight |
| MFViewportPtr | _mfPort |
| SFBool | _sfResizePending |
| SFUInt32 | _sfGlObjectEventCounter |
| MFUInt32 | _mfGlObjectLastRefresh |
| MFUInt32 | _mfGlObjectLastReinitialize |
|
| *SFAttachmentMap | _attachmentMap |
Private Types |
| typedef Window | Inherited |
Private Member Functions |
| void | operator= (const PassiveWindowBase &source) |
Static Private Attributes |
| static FieldContainerType | _type |
Friends |
| class | FieldContainer |
|
| class | GLObject |