#include <OSGWindowBase.h>
Inheritance diagram for osg::WindowBase:

Sync | |
| *void | executeSyncImpl (WindowBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Public Types | |
| typedef WindowPtr | Ptr |
| enum | { WidthFieldId = Inherited::NextFieldId, HeightFieldId = WidthFieldId + 1, PortFieldId = HeightFieldId + 1, ResizePendingFieldId = PortFieldId + 1, GlObjectEventCounterFieldId = ResizePendingFieldId + 1, GlObjectLastRefreshFieldId = GlObjectEventCounterFieldId + 1, GlObjectLastReinitializeFieldId = GlObjectLastRefreshFieldId + 1, NextFieldId = GlObjectLastReinitializeFieldId + 1 } |
Public Member Functions | |
FieldContainer Get | |
| *virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Binary Access | |
| *virtual UInt32 | getBinSize (const BitVector &whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, const BitVector &whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField) |
Changed | |
| *virtual void | changed (BitVector whichField, UInt32 origin) |
Dump | |
| *virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
Clone | |
| *virtual FieldContainerPtr | shallowCopy (void) const =0 |
Static Public Member Functions | |
Class Get | |
| *static FieldContainerType & | getClassType (void) |
| access the type of the class | |
| static UInt32 | getClassTypeId (void) |
| access the numerical type of the class | |
Static Public Attributes | |
| 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 osg::BitVector | MTInfluenceMask |
| static const BitVector | AttachmentsFieldMask |
| static const BitVector | NextFieldMask |
Protected Member Functions | |
Constructors | |
| * | WindowBase (void) |
| WindowBase (const WindowBase &source) | |
Destructors | |
| *virtual | ~WindowBase (void) |
Private Types | |
| typedef AttachmentContainer | Inherited |
Private Member Functions | |
| void | operator= (const WindowBase &source) |
Static Private Attributes | |
| static FieldDescription * | _desc [] |
| Window description. | |
| static FieldContainerType | _type |
Friends | |
| class | FieldContainer |
Definition at line 87 of file OSGWindowBase.h.
|
|
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::ClusterWindow, osg::ClusterWindowBase, osg::MultiDisplayWindow, osg::MultiDisplayWindowBase, osg::SortFirstWindow, osg::SortFirstWindowBase, osg::PassiveWindow, osg::PassiveWindowBase, osg::Window, osg::XWindow, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, osg::QTWindow, and osg::QTWindowBase. Definition at line 91 of file OSGWindowBase.h. |
|
|
Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, and osg::GLUTWindowBase. Definition at line 96 of file OSGWindowBase.h. |
|
|
Reimplemented from osg::AttachmentContainer. Definition at line 98 of file OSGWindowBase.h. 00099 { 00100 WidthFieldId = Inherited::NextFieldId, 00101 HeightFieldId = WidthFieldId + 1, 00102 PortFieldId = HeightFieldId + 1, 00103 ResizePendingFieldId = PortFieldId + 1, 00104 GlObjectEventCounterFieldId = ResizePendingFieldId + 1, 00105 GlObjectLastRefreshFieldId = GlObjectEventCounterFieldId + 1, 00106 GlObjectLastReinitializeFieldId = GlObjectLastRefreshFieldId + 1, 00107 NextFieldId = GlObjectLastReinitializeFieldId + 1 00108 };
|
|
|
Definition at line 224 of file OSGWindowBase.cpp. 00224 : 00225 _sfWidth (), 00226 _sfHeight (), 00227 _mfPort (), 00228 _sfResizePending (), 00229 _sfGlObjectEventCounter (UInt32(1)), 00230 _mfGlObjectLastRefresh (), 00231 _mfGlObjectLastReinitialize(), 00232 Inherited() 00233 { 00234 }
|
|
|
Definition at line 240 of file OSGWindowBase.cpp. 00240 : 00241 _sfWidth (source._sfWidth ), 00242 _sfHeight (source._sfHeight ), 00243 _mfPort (source._mfPort ), 00244 _sfResizePending (source._sfResizePending ), 00245 _sfGlObjectEventCounter (source._sfGlObjectEventCounter ), 00246 _mfGlObjectLastRefresh (source._mfGlObjectLastRefresh ), 00247 _mfGlObjectLastReinitialize(source._mfGlObjectLastReinitialize), 00248 Inherited (source) 00249 { 00250 }
|
|
|
Definition at line 254 of file OSGWindowBase.cpp.
|
|
|
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase. Definition at line 58 of file OSGWindowBase.inl. References _type. Referenced by osg::RemoteAspect::RemoteAspect(). 00059 { 00060 return _type; 00061 }
|
|
|
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase. Definition at line 65 of file OSGWindowBase.inl. References _type, and osg::TypeBase::getId(). 00066 { 00067 return _type.getId(); 00068 }
|
|
|
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase. Definition at line 172 of file OSGWindowBase.cpp. References _type. 00173 { 00174 return _type; 00175 }
|
|
|
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase. Definition at line 177 of file OSGWindowBase.cpp. References _type. 00178 { 00179 return _type; 00180 }
|
|
|
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase. Definition at line 183 of file OSGWindowBase.cpp. 00184 { 00185 return sizeof(Window); 00186 }
|
|
|
Definition at line 75 of file OSGWindowBase.inl. References _sfWidth. 00076 { 00077 return &_sfWidth; 00078 }
|
|
|
Definition at line 82 of file OSGWindowBase.inl. References _sfHeight. 00083 { 00084 return &_sfHeight; 00085 }
|
|
|
Definition at line 89 of file OSGWindowBase.inl. References _mfPort. 00090 { 00091 return &_mfPort; 00092 }
|
|
|
Definition at line 96 of file OSGWindowBase.inl. References _sfResizePending. 00097 { 00098 return &_sfResizePending; 00099 }
|
|
|
Definition at line 125 of file OSGWindowBase.inl. References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::SortFirstWindow::clientPreSync(), osg::SortFirstWindow::clientSwap(), osg::Window::resizeGL(), and osg::MultiDisplayWindow::serverRender(). 00126 { 00127 return _sfWidth.getValue(); 00128 }
|
|
|
Definition at line 132 of file OSGWindowBase.inl. References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00133 { 00134 return _sfWidth.getValue(); 00135 }
|
|
|
Definition at line 146 of file OSGWindowBase.inl. References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::SortFirstWindow::clientPreSync(), osg::SortFirstWindow::clientSwap(), osg::Window::resizeGL(), and osg::MultiDisplayWindow::serverRender(). 00147 { 00148 return _sfHeight.getValue(); 00149 }
|
|
|
Definition at line 153 of file OSGWindowBase.inl. References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00154 { 00155 return _sfHeight.getValue(); 00156 }
|
|
|
Definition at line 167 of file OSGWindowBase.inl. References _sfResizePending, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00168 { 00169 return _sfResizePending.getValue(); 00170 }
|
|
|
Definition at line 174 of file OSGWindowBase.inl. References _sfResizePending, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00175 { 00176 return _sfResizePending.getValue(); 00177 }
|
|
|
Definition at line 210 of file OSGWindowBase.inl. References _mfPort. 00211 { 00212 return _mfPort[index]; 00213 }
|
|
|
Definition at line 217 of file OSGWindowBase.inl. References _mfPort. Referenced by osg::MultiDisplayWindow::clientInit(), osg::SortFirstWindow::clientPreSync(), osg::SortFirstWindow::clientSwap(), osg::SortFirstWindow::serverRender(), and osg::MultiDisplayWindow::serverRender(). 00218 { 00219 return _mfPort; 00220 }
|
|
|
Definition at line 224 of file OSGWindowBase.inl. References _mfPort. 00225 { 00226 return _mfPort; 00227 }
|
|
|
Definition at line 139 of file OSGWindowBase.inl. References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). Referenced by osg::Window::operator=(), osg::Window::resize(), osg::MultiDisplayWindow::serverRender(), and osg::Window::setSize().
|
|
|
Definition at line 160 of file OSGWindowBase.inl. References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). Referenced by osg::Window::operator=(), osg::Window::resize(), osg::MultiDisplayWindow::serverRender(), and osg::Window::setSize().
|
|
|
Definition at line 181 of file OSGWindowBase.inl. References _sfResizePending, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). Referenced by osg::Window::resize(), and osg::Window::resizeGL(). 00182 { 00183 _sfResizePending.setValue(value); 00184 }
|
|
|
||||||||||||
|
||||||||||||
|
|
Definition at line 103 of file OSGWindowBase.inl. References _sfGlObjectEventCounter. 00104 { 00105 return &_sfGlObjectEventCounter; 00106 }
|
|
|
Definition at line 110 of file OSGWindowBase.inl. References _mfGlObjectLastRefresh. 00111 { 00112 return &_mfGlObjectLastRefresh; 00113 }
|
|
|
Definition at line 117 of file OSGWindowBase.inl. References _mfGlObjectLastReinitialize. 00118 { 00119 return &_mfGlObjectLastReinitialize; 00120 }
|
|
|
Definition at line 188 of file OSGWindowBase.inl. References _sfGlObjectEventCounter, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::Window::validateGLObject(). 00189 { 00190 return _sfGlObjectEventCounter.getValue(); 00191 }
|
|
|
Definition at line 195 of file OSGWindowBase.inl. References _sfGlObjectEventCounter, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00196 { 00197 return _sfGlObjectEventCounter.getValue(); 00198 }
|
|
|
Definition at line 231 of file OSGWindowBase.inl. References _mfGlObjectLastRefresh. 00232 { 00233 return _mfGlObjectLastRefresh[index]; 00234 }
|
|
|
Definition at line 238 of file OSGWindowBase.inl. References _mfGlObjectLastRefresh. 00239 { 00240 return _mfGlObjectLastRefresh; 00241 }
|
|
|
Definition at line 245 of file OSGWindowBase.inl. References _mfGlObjectLastRefresh. 00246 { 00247 return _mfGlObjectLastRefresh; 00248 }
|
|
|
Definition at line 252 of file OSGWindowBase.inl. References _mfGlObjectLastReinitialize. 00253 { 00254 return _mfGlObjectLastReinitialize[index]; 00255 }
|
|
|
Definition at line 259 of file OSGWindowBase.inl. References _mfGlObjectLastReinitialize. Referenced by osg::Window::frameExit(), and osg::Window::onDestroy(). 00260 { 00261 return _mfGlObjectLastReinitialize; 00262 }
|
|
|
Definition at line 266 of file OSGWindowBase.inl. References _mfGlObjectLastReinitialize. 00267 { 00268 return _mfGlObjectLastReinitialize; 00269 }
|
|
|
Definition at line 202 of file OSGWindowBase.inl. References _sfGlObjectEventCounter, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00203 { 00204 _sfGlObjectEventCounter.setValue(value); 00205 }
|
|
||||||||||||