#include <OSGRenderOptions.h>

Definition at line 50 of file OSGRenderOptions.h.
typedef RenderOptionsBase osg::RenderOptions::Inherited [private] |
typedef RenderOptionsPtr osg::RenderOptionsBase::Ptr [inherited] |
Definition at line 110 of file OSGRenderOptionsBase.h.
anonymous enum [inherited] |
Definition at line 112 of file OSGRenderOptionsBase.h.
00113 { 00114 StatisticFieldId = Inherited::NextFieldId, 00115 PolygonModeFieldId = StatisticFieldId + 1, 00116 TwoSidedLightingFieldId = PolygonModeFieldId + 1, 00117 SpecTexLightingFieldId = TwoSidedLightingFieldId + 1, 00118 SortTransFieldId = SpecTexLightingFieldId + 1, 00119 ZWriteTransFieldId = SortTransFieldId + 1, 00120 LocalLightsFieldId = ZWriteTransFieldId + 1, 00121 CorrectTwoSidedLightingFieldId = LocalLightsFieldId + 1, 00122 OcclusionCullingFieldId = CorrectTwoSidedLightingFieldId + 1, 00123 OcclusionCullingModeFieldId = OcclusionCullingFieldId + 1, 00124 OcclusionCullingPixelsFieldId = OcclusionCullingModeFieldId + 1, 00125 AntialiasingFieldId = OcclusionCullingPixelsFieldId + 1, 00126 AntialiasingDistanceFieldId = AntialiasingFieldId + 1, 00127 AntialiasingScaleFieldId = AntialiasingDistanceFieldId + 1, 00128 AntialiasingTriggerFieldId = AntialiasingScaleFieldId + 1, 00129 FrustumCullingFieldId = AntialiasingTriggerFieldId + 1, 00130 BackfaceCullingFieldId = FrustumCullingFieldId + 1, 00131 SmallFeatureCullingFieldId = BackfaceCullingFieldId + 1, 00132 SmallFeaturePixelsFieldId = SmallFeatureCullingFieldId + 1, 00133 SmallFeatureThresholdFieldId = SmallFeaturePixelsFieldId + 1, 00134 FirstFrameFieldId = SmallFeatureThresholdFieldId + 1, 00135 NextFieldId = FirstFrameFieldId + 1 00136 };
anonymous enum [inherited] |
Definition at line 86 of file OSGAttachmentImpl.h.
00087 { 00088 ParentsFieldId = Inherited::NextFieldId, 00089 InternalFieldId = ParentsFieldId + 1, 00090 NextFieldId = InternalFieldId + 1 00091 };
anonymous enum [inherited] |
| RenderOptions::RenderOptions | ( | void | ) | [protected] |
| \return |
Definition at line 56 of file OSGRenderOptions.cpp.
00056 : 00057 Inherited(), 00058 _changed(0), 00059 _last_changed(0), 00060 _gl_version(0.0f), 00061 _polygon_mode(GL_FILL), 00062 _backface_culling(false), 00063 _two_sided_lighting(false), 00064 _spec_tex_lighting(false) 00065 { 00066 }
| RenderOptions::RenderOptions | ( | const RenderOptions & | source | ) | [protected] |
| \return |
Definition at line 73 of file OSGRenderOptions.cpp.
00073 : 00074 Inherited(source), 00075 _changed(source._changed), 00076 _last_changed(source._last_changed), 00077 _gl_version(source._gl_version), 00078 _polygon_mode(source._polygon_mode), 00079 _backface_culling(source._backface_culling), 00080 _two_sided_lighting(source._two_sided_lighting), 00081 _spec_tex_lighting(source._spec_tex_lighting) 00082 { 00083 }
| RenderOptions::~RenderOptions | ( | void | ) | [protected, virtual] |
| \return |
Reimplemented from osg::FieldContainer.
Definition at line 108 of file OSGRenderOptions.cpp.
References _changed, and osg::FieldContainer::changed().
00109 { 00110 _changed |= whichField; 00111 Inherited::changed(whichField, origin); 00112 }
| void RenderOptions::setWireframe | ( | bool | value | ) |
Definition at line 114 of file OSGRenderOptions.cpp.
References osg::RenderOptionsBase::setPolygonMode().
00115 { 00116 if(value) 00117 setPolygonMode(GL_LINE); 00118 else 00119 setPolygonMode(GL_FILL); 00120 }
| bool RenderOptions::getWireframe | ( | void | ) |
Definition at line 122 of file OSGRenderOptions.cpp.
References osg::RenderOptionsBase::getPolygonMode().
00123 { 00124 return getPolygonMode() == GL_LINE; 00125 }
| BitVector RenderOptions::getChanged | ( | void | ) |
Definition at line 127 of file OSGRenderOptions.cpp.
References _changed.
00128 { 00129 return _changed; 00130 }
| BitVector RenderOptions::getLastChanged | ( | void | ) |
Definition at line 132 of file OSGRenderOptions.cpp.
References _last_changed.
00133 { 00134 return _last_changed; 00135 }
| void RenderOptions::activateOptions | ( | RenderAction * | action | ) |
Definition at line 137 of file OSGRenderOptions.cpp.
References _backface_culling, _changed, _gl_version, _last_changed, _polygon_mode, _spec_tex_lighting, _two_sided_lighting, osg::RenderOptionsBase::BackfaceCullingFieldMask, osg::RenderOptionsBase::CorrectTwoSidedLightingFieldMask, osg::RenderOptionsBase::FrustumCullingFieldMask, osg::RenderOptionsBase::getBackfaceCulling(), osg::RenderOptionsBase::getCorrectTwoSidedLighting(), osg::RenderOptionsBase::getFrustumCulling(), osg::RenderOptionsBase::getLocalLights(), osg::RenderOptionsBase::getOcclusionCulling(), osg::RenderOptionsBase::getOcclusionCullingMode(), osg::RenderOptionsBase::getOcclusionCullingPixels(), osg::RenderOptionsBase::getPolygonMode(), osg::RenderOptionsBase::getSmallFeatureCulling(), osg::RenderOptionsBase::getSmallFeaturePixels(), osg::RenderOptionsBase::getSmallFeatureThreshold(), osg::RenderOptionsBase::getSortTrans(), osg::RenderOptionsBase::getSpecTexLighting(), osg::RenderOptionsBase::getTwoSidedLighting(), osg::RenderOptionsBase::getZWriteTrans(), GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR, GL_SINGLE_COLOR, osg::RenderOptionsBase::LocalLightsFieldMask, osg::RenderOptionsBase::OcclusionCullingFieldMask, osg::RenderOptionsBase::OcclusionCullingModeFieldMask, osg::RenderOptionsBase::OcclusionCullingPixelsFieldMask, osg::RenderOptionsBase::PolygonModeFieldMask, osg::RenderAction::setCorrectTwoSidedLighting(), osg::DrawActionBase::setFrustumCulling(), osg::RenderAction::setLocalLights(), osg::RenderAction::setOcclusionCulling(), osg::RenderAction::setOcclusionCullingMode(), osg::RenderAction::setOcclusionCullingPixels(), osg::RenderAction::setSmallFeatureCulling(), osg::RenderAction::setSmallFeaturePixels(), osg::RenderAction::setSmallFeatureThreshold(), osg::RenderAction::setSortTrans(), osg::RenderAction::setZWriteTrans(), osg::RenderOptionsBase::SmallFeatureCullingFieldMask, osg::RenderOptionsBase::SmallFeaturePixelsFieldMask, osg::RenderOptionsBase::SmallFeatureThresholdFieldMask, osg::RenderOptionsBase::SortTransFieldMask, osg::RenderOptionsBase::SpecTexLightingFieldMask, osg::RenderOptionsBase::TwoSidedLightingFieldMask, and osg::RenderOptionsBase::ZWriteTransFieldMask.
00138 { 00139 if(_gl_version == 0.0f) 00140 { 00141 // detect OpenGL version. 00142 std::string vstr = (const char *) glGetString(GL_VERSION); 00143 // remove last .x 00144 vstr = vstr.substr(0, 3); 00145 _gl_version = atof(vstr.c_str()); 00146 } 00147 00148 if(_changed & PolygonModeFieldMask) 00149 _polygon_mode = getPolygonMode(); 00150 00151 if(_changed & BackfaceCullingFieldMask) 00152 _backface_culling = getBackfaceCulling(); 00153 00154 if(_changed & CorrectTwoSidedLightingFieldMask) 00155 action->setCorrectTwoSidedLighting(getCorrectTwoSidedLighting()); 00156 00157 if(_changed & TwoSidedLightingFieldMask) 00158 _two_sided_lighting = getTwoSidedLighting(); 00159 00160 if(_changed & SortTransFieldMask) 00161 action->setSortTrans(getSortTrans()); 00162 00163 if(_changed & ZWriteTransFieldMask) 00164 action->setZWriteTrans(getZWriteTrans()); 00165 00166 if(_changed & LocalLightsFieldMask) 00167 action->setLocalLights(getLocalLights()); 00168 00169 if(_changed & SpecTexLightingFieldMask) 00170 _spec_tex_lighting = getSpecTexLighting(); 00171 00172 if(_changed & OcclusionCullingFieldMask) 00173 action->setOcclusionCulling(getOcclusionCulling()); 00174 00175 if(_changed & OcclusionCullingModeFieldMask) 00176 action->setOcclusionCullingMode(getOcclusionCullingMode()); 00177 00178 if(_changed & OcclusionCullingPixelsFieldMask) 00179 action->setOcclusionCullingPixels(getOcclusionCullingPixels()); 00180 00181 if(_changed & SmallFeatureCullingFieldMask) 00182 action->setSmallFeatureCulling(getSmallFeatureCulling()); 00183 00184 if(_changed & SmallFeaturePixelsFieldMask) 00185 action->setSmallFeaturePixels(getSmallFeaturePixels()); 00186 00187 if(_changed & SmallFeatureThresholdFieldMask) 00188 action->setSmallFeatureThreshold(getSmallFeatureThreshold()); 00189 00190 if(_changed & FrustumCullingFieldMask) 00191 action->setFrustumCulling(getFrustumCulling()); 00192 00193 // we update the gl stuff each frame. 00194 glPolygonMode(GL_FRONT_AND_BACK, _polygon_mode); 00195 00196 if(_backface_culling) 00197 { 00198 glEnable(GL_CULL_FACE); 00199 glCullFace(GL_BACK); 00200 } 00201 else 00202 { 00203 glDisable(GL_CULL_FACE); 00204 glCullFace(GL_BACK); 00205 } 00206 00207 if(_two_sided_lighting) 00208 glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE); 00209 else 00210 glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_FALSE); 00211 00212 if(_gl_version >= 1.2f) 00213 { 00214 if(_spec_tex_lighting) 00215 glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR); 00216 else 00217 glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SINGLE_COLOR); 00218 } 00219 00220 _last_changed = _changed; 00221 _changed = 0; 00222 }
| void RenderOptions::initMethod | ( | void | ) | [static, private] |
| void osg::RenderOptions::operator= | ( | const RenderOptions & | source | ) | [private] |
| osg::FieldContainerType & osg::RenderOptionsBase::getClassType | ( | void | ) | [inline, static, inherited] |
Reimplemented from osg::Attachment.
Definition at line 58 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_type.
Referenced by osg::RenderOptionsBase::create().
00059 { 00060 return _type; 00061 }
| osg::UInt32 osg::RenderOptionsBase::getClassTypeId | ( | void | ) | [inline, static, inherited] |
Reimplemented from osg::Attachment.
Definition at line 65 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_type, and osg::TypeBase::getId().
00066 { 00067 return _type.getId(); 00068 }
| FieldContainerType & osg::RenderOptionsBase::getType | ( | void | ) | [virtual, inherited] |
Reimplemented from osg::Attachment.
Definition at line 327 of file OSGRenderOptionsBase.cpp.
References osg::RenderOptionsBase::_type.
00328 { 00329 return _type; 00330 }
| const FieldContainerType & osg::RenderOptionsBase::getType | ( | void | ) | const [virtual, inherited] |
Reimplemented from osg::Attachment.
Definition at line 332 of file OSGRenderOptionsBase.cpp.
References osg::RenderOptionsBase::_type.
00333 { 00334 return _type; 00335 }
| UInt32 osg::RenderOptionsBase::getContainerSize | ( | void | ) | const [virtual, inherited] |
| SFBool * osg::RenderOptionsBase::getSFStatistic | ( | void | ) | [inline, inherited] |
Definition at line 101 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfStatistic.
00102 { 00103 return &_sfStatistic; 00104 }
| SFGLenum * osg::RenderOptionsBase::getSFPolygonMode | ( | void | ) | [inline, inherited] |
Definition at line 108 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfPolygonMode.
00109 { 00110 return &_sfPolygonMode; 00111 }
| SFBool * osg::RenderOptionsBase::getSFTwoSidedLighting | ( | void | ) | [inline, inherited] |
Definition at line 115 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfTwoSidedLighting.
00116 { 00117 return &_sfTwoSidedLighting; 00118 }
| SFBool * osg::RenderOptionsBase::getSFSpecTexLighting | ( | void | ) | [inline, inherited] |
Definition at line 122 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSpecTexLighting.
00123 { 00124 return &_sfSpecTexLighting; 00125 }
| SFBool * osg::RenderOptionsBase::getSFSortTrans | ( | void | ) | [inline, inherited] |
Definition at line 129 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSortTrans.
00130 { 00131 return &_sfSortTrans; 00132 }
| SFBool * osg::RenderOptionsBase::getSFZWriteTrans | ( | void | ) | [inline, inherited] |
Definition at line 136 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfZWriteTrans.
00137 { 00138 return &_sfZWriteTrans; 00139 }
| SFBool * osg::RenderOptionsBase::getSFLocalLights | ( | void | ) | [inline, inherited] |
Definition at line 143 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfLocalLights.
00144 { 00145 return &_sfLocalLights; 00146 }
| SFBool * osg::RenderOptionsBase::getSFCorrectTwoSidedLighting | ( | void | ) | [inline, inherited] |
Definition at line 150 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfCorrectTwoSidedLighting.
00151 { 00152 return &_sfCorrectTwoSidedLighting; 00153 }
| SFBool * osg::RenderOptionsBase::getSFOcclusionCulling | ( | void | ) | [inline, inherited] |
Definition at line 157 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCulling.
00158 { 00159 return &_sfOcclusionCulling; 00160 }
| SFInt32 * osg::RenderOptionsBase::getSFOcclusionCullingMode | ( | void | ) | [inline, inherited] |
Definition at line 164 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingMode.
00165 { 00166 return &_sfOcclusionCullingMode; 00167 }
| SFUInt32 * osg::RenderOptionsBase::getSFOcclusionCullingPixels | ( | void | ) | [inline, inherited] |
Definition at line 171 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingPixels.
00172 { 00173 return &_sfOcclusionCullingPixels; 00174 }
| SFBool * osg::RenderOptionsBase::getSFAntialiasing | ( | void | ) | [inline, inherited] |
Definition at line 178 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasing.
00179 { 00180 return &_sfAntialiasing; 00181 }
| SFReal32 * osg::RenderOptionsBase::getSFAntialiasingDistance | ( | void | ) | [inline, inherited] |
Definition at line 185 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingDistance.
00186 { 00187 return &_sfAntialiasingDistance; 00188 }
| SFReal32 * osg::RenderOptionsBase::getSFAntialiasingScale | ( | void | ) | [inline, inherited] |
Definition at line 192 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingScale.
00193 { 00194 return &_sfAntialiasingScale; 00195 }
| SFUInt32 * osg::RenderOptionsBase::getSFAntialiasingTrigger | ( | void | ) | [inline, inherited] |
Definition at line 199 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingTrigger.
00200 { 00201 return &_sfAntialiasingTrigger; 00202 }
| SFBool * osg::RenderOptionsBase::getSFFrustumCulling | ( | void | ) | [inline, inherited] |
Definition at line 206 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFrustumCulling.
00207 { 00208 return &_sfFrustumCulling; 00209 }
| SFBool * osg::RenderOptionsBase::getSFBackfaceCulling | ( | void | ) | [inline, inherited] |
Definition at line 213 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfBackfaceCulling.
00214 { 00215 return &_sfBackfaceCulling; 00216 }
| SFBool * osg::RenderOptionsBase::getSFSmallFeatureCulling | ( | void | ) | [inline, inherited] |
Definition at line 220 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureCulling.
00221 { 00222 return &_sfSmallFeatureCulling; 00223 }
| SFReal32 * osg::RenderOptionsBase::getSFSmallFeaturePixels | ( | void | ) | [inline, inherited] |
Definition at line 227 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeaturePixels.
00228 { 00229 return &_sfSmallFeaturePixels; 00230 }
| SFUInt32 * osg::RenderOptionsBase::getSFSmallFeatureThreshold | ( | void | ) | [inline, inherited] |
Definition at line 234 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureThreshold.
00235 { 00236 return &_sfSmallFeatureThreshold; 00237 }
| SFBool * osg::RenderOptionsBase::getSFFirstFrame | ( | void | ) | [inline, inherited] |
Definition at line 241 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFirstFrame.
00242 { 00243 return &_sfFirstFrame; 00244 }
| bool & osg::RenderOptionsBase::getStatistic | ( | void | ) | [inline, inherited] |
Definition at line 249 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfStatistic, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00250 { 00251 return _sfStatistic.getValue(); 00252 }
| const bool & osg::RenderOptionsBase::getStatistic | ( | void | ) | const [inline, inherited] |
Definition at line 256 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfStatistic, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00257 { 00258 return _sfStatistic.getValue(); 00259 }
| GLenum & osg::RenderOptionsBase::getPolygonMode | ( | void | ) | [inline, inherited] |
Definition at line 270 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfPolygonMode, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions(), and getWireframe().
00271 { 00272 return _sfPolygonMode.getValue(); 00273 }
| const GLenum & osg::RenderOptionsBase::getPolygonMode | ( | void | ) | const [inline, inherited] |
Definition at line 277 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfPolygonMode, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00278 { 00279 return _sfPolygonMode.getValue(); 00280 }
| bool & osg::RenderOptionsBase::getTwoSidedLighting | ( | void | ) | [inline, inherited] |
Definition at line 291 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfTwoSidedLighting, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00292 { 00293 return _sfTwoSidedLighting.getValue(); 00294 }
| const bool & osg::RenderOptionsBase::getTwoSidedLighting | ( | void | ) | const [inline, inherited] |
Definition at line 298 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfTwoSidedLighting, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00299 { 00300 return _sfTwoSidedLighting.getValue(); 00301 }
| bool & osg::RenderOptionsBase::getSpecTexLighting | ( | void | ) | [inline, inherited] |
Definition at line 312 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSpecTexLighting, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00313 { 00314 return _sfSpecTexLighting.getValue(); 00315 }
| const bool & osg::RenderOptionsBase::getSpecTexLighting | ( | void | ) | const [inline, inherited] |
Definition at line 319 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSpecTexLighting, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00320 { 00321 return _sfSpecTexLighting.getValue(); 00322 }
| bool & osg::RenderOptionsBase::getSortTrans | ( | void | ) | [inline, inherited] |
Definition at line 333 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSortTrans, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00334 { 00335 return _sfSortTrans.getValue(); 00336 }
| const bool & osg::RenderOptionsBase::getSortTrans | ( | void | ) | const [inline, inherited] |
Definition at line 340 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSortTrans, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00341 { 00342 return _sfSortTrans.getValue(); 00343 }
| bool & osg::RenderOptionsBase::getZWriteTrans | ( | void | ) | [inline, inherited] |
Definition at line 354 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfZWriteTrans, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00355 { 00356 return _sfZWriteTrans.getValue(); 00357 }
| const bool & osg::RenderOptionsBase::getZWriteTrans | ( | void | ) | const [inline, inherited] |
Definition at line 361 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfZWriteTrans, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00362 { 00363 return _sfZWriteTrans.getValue(); 00364 }
| bool & osg::RenderOptionsBase::getLocalLights | ( | void | ) | [inline, inherited] |
Definition at line 375 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfLocalLights, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00376 { 00377 return _sfLocalLights.getValue(); 00378 }
| const bool & osg::RenderOptionsBase::getLocalLights | ( | void | ) | const [inline, inherited] |
Definition at line 382 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfLocalLights, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00383 { 00384 return _sfLocalLights.getValue(); 00385 }
| bool & osg::RenderOptionsBase::getCorrectTwoSidedLighting | ( | void | ) | [inline, inherited] |
Definition at line 396 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfCorrectTwoSidedLighting, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00397 { 00398 return _sfCorrectTwoSidedLighting.getValue(); 00399 }
| const bool & osg::RenderOptionsBase::getCorrectTwoSidedLighting | ( | void | ) | const [inline, inherited] |
Definition at line 403 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfCorrectTwoSidedLighting, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00404 { 00405 return _sfCorrectTwoSidedLighting.getValue(); 00406 }
| bool & osg::RenderOptionsBase::getOcclusionCulling | ( | void | ) | [inline, inherited] |
Definition at line 417 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00418 { 00419 return _sfOcclusionCulling.getValue(); 00420 }
| const bool & osg::RenderOptionsBase::getOcclusionCulling | ( | void | ) | const [inline, inherited] |
Definition at line 424 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00425 { 00426 return _sfOcclusionCulling.getValue(); 00427 }
| Int32 & osg::RenderOptionsBase::getOcclusionCullingMode | ( | void | ) | [inline, inherited] |
Definition at line 438 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingMode, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00439 { 00440 return _sfOcclusionCullingMode.getValue(); 00441 }
| const Int32 & osg::RenderOptionsBase::getOcclusionCullingMode | ( | void | ) | const [inline, inherited] |
Definition at line 445 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingMode, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00446 { 00447 return _sfOcclusionCullingMode.getValue(); 00448 }
| UInt32 & osg::RenderOptionsBase::getOcclusionCullingPixels | ( | void | ) | [inline, inherited] |
Definition at line 459 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingPixels, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00460 { 00461 return _sfOcclusionCullingPixels.getValue(); 00462 }
| const UInt32 & osg::RenderOptionsBase::getOcclusionCullingPixels | ( | void | ) | const [inline, inherited] |
Definition at line 466 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingPixels, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00467 { 00468 return _sfOcclusionCullingPixels.getValue(); 00469 }
| bool & osg::RenderOptionsBase::getAntialiasing | ( | void | ) | [inline, inherited] |
Definition at line 480 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasing, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00481 { 00482 return _sfAntialiasing.getValue(); 00483 }
| const bool & osg::RenderOptionsBase::getAntialiasing | ( | void | ) | const [inline, inherited] |
Definition at line 487 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasing, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00488 { 00489 return _sfAntialiasing.getValue(); 00490 }
| Real32 & osg::RenderOptionsBase::getAntialiasingDistance | ( | void | ) | [inline, inherited] |
Definition at line 501 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingDistance, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00502 { 00503 return _sfAntialiasingDistance.getValue(); 00504 }
| const Real32 & osg::RenderOptionsBase::getAntialiasingDistance | ( | void | ) | const [inline, inherited] |
Definition at line 508 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingDistance, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00509 { 00510 return _sfAntialiasingDistance.getValue(); 00511 }
| Real32 & osg::RenderOptionsBase::getAntialiasingScale | ( | void | ) | [inline, inherited] |
Definition at line 522 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingScale, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00523 { 00524 return _sfAntialiasingScale.getValue(); 00525 }
| const Real32 & osg::RenderOptionsBase::getAntialiasingScale | ( | void | ) | const [inline, inherited] |
Definition at line 529 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingScale, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00530 { 00531 return _sfAntialiasingScale.getValue(); 00532 }
| UInt32 & osg::RenderOptionsBase::getAntialiasingTrigger | ( | void | ) | [inline, inherited] |
Definition at line 543 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingTrigger, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00544 { 00545 return _sfAntialiasingTrigger.getValue(); 00546 }
| const UInt32 & osg::RenderOptionsBase::getAntialiasingTrigger | ( | void | ) | const [inline, inherited] |
Definition at line 550 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingTrigger, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00551 { 00552 return _sfAntialiasingTrigger.getValue(); 00553 }
| bool & osg::RenderOptionsBase::getFrustumCulling | ( | void | ) | [inline, inherited] |
Definition at line 564 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFrustumCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00565 { 00566 return _sfFrustumCulling.getValue(); 00567 }
| const bool & osg::RenderOptionsBase::getFrustumCulling | ( | void | ) | const [inline, inherited] |
Definition at line 571 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFrustumCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00572 { 00573 return _sfFrustumCulling.getValue(); 00574 }
| bool & osg::RenderOptionsBase::getBackfaceCulling | ( | void | ) | [inline, inherited] |
Definition at line 585 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfBackfaceCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00586 { 00587 return _sfBackfaceCulling.getValue(); 00588 }
| const bool & osg::RenderOptionsBase::getBackfaceCulling | ( | void | ) | const [inline, inherited] |
Definition at line 592 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfBackfaceCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00593 { 00594 return _sfBackfaceCulling.getValue(); 00595 }
| bool & osg::RenderOptionsBase::getSmallFeatureCulling | ( | void | ) | [inline, inherited] |
Definition at line 606 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00607 { 00608 return _sfSmallFeatureCulling.getValue(); 00609 }
| const bool & osg::RenderOptionsBase::getSmallFeatureCulling | ( | void | ) | const [inline, inherited] |
Definition at line 613 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureCulling, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00614 { 00615 return _sfSmallFeatureCulling.getValue(); 00616 }
| Real32 & osg::RenderOptionsBase::getSmallFeaturePixels | ( | void | ) | [inline, inherited] |
Definition at line 627 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeaturePixels, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00628 { 00629 return _sfSmallFeaturePixels.getValue(); 00630 }
| const Real32 & osg::RenderOptionsBase::getSmallFeaturePixels | ( | void | ) | const [inline, inherited] |
Definition at line 634 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeaturePixels, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00635 { 00636 return _sfSmallFeaturePixels.getValue(); 00637 }
| UInt32 & osg::RenderOptionsBase::getSmallFeatureThreshold | ( | void | ) | [inline, inherited] |
Definition at line 648 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureThreshold, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activateOptions().
00649 { 00650 return _sfSmallFeatureThreshold.getValue(); 00651 }
| const UInt32 & osg::RenderOptionsBase::getSmallFeatureThreshold | ( | void | ) | const [inline, inherited] |
Definition at line 655 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureThreshold, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00656 { 00657 return _sfSmallFeatureThreshold.getValue(); 00658 }
| bool & osg::RenderOptionsBase::getFirstFrame | ( | void | ) | [inline, inherited] |
Definition at line 669 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFirstFrame, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00670 { 00671 return _sfFirstFrame.getValue(); 00672 }
| const bool & osg::RenderOptionsBase::getFirstFrame | ( | void | ) | const [inline, inherited] |
Definition at line 676 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFirstFrame, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00677 { 00678 return _sfFirstFrame.getValue(); 00679 }
| void osg::RenderOptionsBase::setStatistic | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 263 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfStatistic, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00264 { 00265 _sfStatistic.setValue(value); 00266 }
| void osg::RenderOptionsBase::setPolygonMode | ( | const GLenum & | value | ) | [inline, inherited] |
Definition at line 284 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfPolygonMode, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by setWireframe().
00285 { 00286 _sfPolygonMode.setValue(value); 00287 }
| void osg::RenderOptionsBase::setTwoSidedLighting | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 305 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfTwoSidedLighting, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00306 { 00307 _sfTwoSidedLighting.setValue(value); 00308 }
| void osg::RenderOptionsBase::setSpecTexLighting | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 326 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSpecTexLighting, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00327 { 00328 _sfSpecTexLighting.setValue(value); 00329 }
| void osg::RenderOptionsBase::setSortTrans | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 347 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSortTrans, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00348 { 00349 _sfSortTrans.setValue(value); 00350 }
| void osg::RenderOptionsBase::setZWriteTrans | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 368 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfZWriteTrans, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00369 { 00370 _sfZWriteTrans.setValue(value); 00371 }
| void osg::RenderOptionsBase::setLocalLights | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 389 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfLocalLights, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00390 { 00391 _sfLocalLights.setValue(value); 00392 }
| void osg::RenderOptionsBase::setCorrectTwoSidedLighting | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 410 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfCorrectTwoSidedLighting, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00411 { 00412 _sfCorrectTwoSidedLighting.setValue(value); 00413 }
| void osg::RenderOptionsBase::setOcclusionCulling | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 431 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCulling, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00432 { 00433 _sfOcclusionCulling.setValue(value); 00434 }
| void osg::RenderOptionsBase::setOcclusionCullingMode | ( | const Int32 & | value | ) | [inline, inherited] |
Definition at line 452 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingMode, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00453 { 00454 _sfOcclusionCullingMode.setValue(value); 00455 }
| void osg::RenderOptionsBase::setOcclusionCullingPixels | ( | const UInt32 & | value | ) | [inline, inherited] |
Definition at line 473 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfOcclusionCullingPixels, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00474 { 00475 _sfOcclusionCullingPixels.setValue(value); 00476 }
| void osg::RenderOptionsBase::setAntialiasing | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 494 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasing, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00495 { 00496 _sfAntialiasing.setValue(value); 00497 }
| void osg::RenderOptionsBase::setAntialiasingDistance | ( | const Real32 & | value | ) | [inline, inherited] |
Definition at line 515 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingDistance, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00516 { 00517 _sfAntialiasingDistance.setValue(value); 00518 }
| void osg::RenderOptionsBase::setAntialiasingScale | ( | const Real32 & | value | ) | [inline, inherited] |
Definition at line 536 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingScale, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00537 { 00538 _sfAntialiasingScale.setValue(value); 00539 }
| void osg::RenderOptionsBase::setAntialiasingTrigger | ( | const UInt32 & | value | ) | [inline, inherited] |
Definition at line 557 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfAntialiasingTrigger, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00558 { 00559 _sfAntialiasingTrigger.setValue(value); 00560 }
| void osg::RenderOptionsBase::setFrustumCulling | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 578 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFrustumCulling, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00579 { 00580 _sfFrustumCulling.setValue(value); 00581 }
| void osg::RenderOptionsBase::setBackfaceCulling | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 599 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfBackfaceCulling, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00600 { 00601 _sfBackfaceCulling.setValue(value); 00602 }
| void osg::RenderOptionsBase::setSmallFeatureCulling | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 620 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureCulling, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00621 { 00622 _sfSmallFeatureCulling.setValue(value); 00623 }
| void osg::RenderOptionsBase::setSmallFeaturePixels | ( | const Real32 & | value | ) | [inline, inherited] |
Definition at line 641 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeaturePixels, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00642 { 00643 _sfSmallFeaturePixels.setValue(value); 00644 }
| void osg::RenderOptionsBase::setSmallFeatureThreshold | ( | const UInt32 & | value | ) | [inline, inherited] |
Definition at line 662 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfSmallFeatureThreshold, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00663 { 00664 _sfSmallFeatureThreshold.setValue(value); 00665 }
| void osg::RenderOptionsBase::setFirstFrame | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 683 of file OSGRenderOptionsBase.inl.
References osg::RenderOptionsBase::_sfFirstFrame, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00684 { 00685 _sfFirstFrame.setValue(value); 00686 }
Reimplemented from osg::Attachment.
Definition at line 449 of file OSGRenderOptionsBase.cpp.
References osg::RenderOptionsBase::_sfAntialiasing, osg::RenderOptionsBase::_sfAntialiasingDistance, osg::RenderOptionsBase::_sfAntialiasingScale, osg::RenderOptionsBase::_sfAntialiasingTrigger, osg::RenderOptionsBase::_sfBackfaceCulling, osg::RenderOptionsBase::_sfCorrectTwoSidedLighting, osg::RenderOptionsBase::_sfFirstFrame, osg::RenderOptionsBase::_sfFrustumCulling, osg::RenderOptionsBase::_sfLocalLights, osg::RenderOptionsBase::_sfOcclusionCulling, osg::RenderOptionsBase::_sfOcclusionCullingMode, osg::RenderOptionsBase::_sfOcclusionCullingPixels, osg::RenderOptionsBase::_sfPolygonMode, osg::RenderOptionsBase::_sfSmallFeatureCulling, osg::RenderOptionsBase::_sfSmallFeaturePixels, osg::RenderOptionsBase::_sfSmallFeatureThreshold, osg::RenderOptionsBase::_sfSortTrans, osg::RenderOptionsBase::_sfSpecTexLighting, osg::RenderOptionsBase::_sfStatistic, osg::RenderOptionsBase::_sfTwoSidedLighting, osg::RenderOptionsBase::_sfZWriteTrans, osg::RenderOptionsBase::AntialiasingDistanceFieldMask, osg::RenderOptionsBase::AntialiasingFieldMask, osg::RenderOptionsBase::AntialiasingScaleFieldMask, osg::RenderOptionsBase::AntialiasingTriggerFieldMask, osg::RenderOptionsBase::BackfaceCullingFieldMask, osg::RenderOptionsBase::CorrectTwoSidedLightingFieldMask, osg::RenderOptionsBase::FirstFrameFieldMask, osg::RenderOptionsBase::FrustumCullingFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::Attachment::getBinSize(), osg::RenderOptionsBase::LocalLightsFieldMask, osg::FieldBits::NoField, osg::RenderOptionsBase::OcclusionCullingFieldMask, osg::RenderOptionsBase::OcclusionCullingModeFieldMask, osg::RenderOptionsBase::OcclusionCullingPixelsFieldMask, osg::RenderOptionsBase::PolygonModeFieldMask, osg::RenderOptionsBase::SmallFeatureCullingFieldMask, osg::RenderOptionsBase::SmallFeaturePixelsFieldMask, osg::RenderOptionsBase::SmallFeatureThresholdFieldMask, osg::RenderOptionsBase::SortTransFieldMask, osg::RenderOptionsBase::SpecTexLightingFieldMask, osg::RenderOptionsBase::StatisticFieldMask, osg::RenderOptionsBase::TwoSidedLightingFieldMask, and osg::RenderOptionsBase::ZWriteTransFieldMask.
00450 { 00451 UInt32 returnValue = Inherited::getBinSize(whichField); 00452 00453 if(FieldBits::NoField != (StatisticFieldMask & whichField)) 00454 { 00455 returnValue += _sfStatistic.getBinSize(); 00456 } 00457 00458 if(FieldBits::NoField != (PolygonModeFieldMask & whichField)) 00459 { 00460 returnValue += _sfPolygonMode.getBinSize(); 00461 } 00462 00463 if(FieldBits::NoField != (TwoSidedLightingFieldMask & whichField)) 00464 { 00465 returnValue += _sfTwoSidedLighting.getBinSize(); 00466 } 00467 00468 if(FieldBits::NoField != (SpecTexLightingFieldMask & whichField)) 00469 { 00470 returnValue += _sfSpecTexLighting.getBinSize(); 00471 } 00472 00473 if(FieldBits::NoField != (SortTransFieldMask & whichField)) 00474 { 00475 returnValue += _sfSortTrans.getBinSize(); 00476 } 00477 00478 if(FieldBits::NoField != (ZWriteTransFieldMask & whichField)) 00479 { 00480 returnValue += _sfZWriteTrans.getBinSize(); 00481 } 00482 00483 if(FieldBits::NoField != (LocalLightsFieldMask & whichField)) 00484 { 00485 returnValue += _sfLocalLights.getBinSize(); 00486 } 00487 00488 if(FieldBits::NoField != (CorrectTwoSidedLightingFieldMask & whichField)) 00489 { 00490 returnValue += _sfCorrectTwoSidedLighting.getBinSize(); 00491 } 00492 00493 if(FieldBits::NoField != (OcclusionCullingFieldMask & whichField)) 00494 { 00495 returnValue += _sfOcclusionCulling.getBinSize(); 00496 } 00497 00498 if(FieldBits::NoField != (OcclusionCullingModeFieldMask & whichField)) 00499 { 00500 returnValue += _sfOcclusionCullingMode.getBinSize(); 00501 } 00502 00503 if(FieldBits::NoField != (OcclusionCullingPixelsFieldMask & whichField)) 00504 { 00505 returnValue += _sfOcclusionCullingPixels.getBinSize(); 00506 } 00507 00508 if(FieldBits::NoField != (AntialiasingFieldMask & whichField)) 00509 { 00510 returnValue += _sfAntialiasing.getBinSize(); 00511 } 00512 00513 if(FieldBits::NoField != (AntialiasingDistanceFieldMask & whichField)) 00514 { 00515 returnValue += _sfAntialiasingDistance.getBinSize(); 00516 } 00517 00518 if(FieldBits::NoField != (AntialiasingScaleFieldMask & whichField)) 00519 { 00520 returnValue += _sfAntialiasingScale.getBinSize(); 00521 } 00522 00523 if(FieldBits::NoField != (AntialiasingTriggerFieldMask & whichField)) 00524 { 00525 returnValue += _sfAntialiasingTrigger.getBinSize(); 00526 } 00527 00528 if(FieldBits::NoField != (FrustumCullingFieldMask & whichField)) 00529 { 00530 returnValue += _sfFrustumCulling.getBinSize(); 00531 } 00532 00533 if(FieldBits::NoField != (BackfaceCullingFieldMask & whichField)) 00534 { 00535 returnValue += _sfBackfaceCulling.getBinSize(); 00536 } 00537 00538 if(FieldBits::NoField != (SmallFeatureCullingFieldMask & whichField)) 00539 { 00540 returnValue += _sfSmallFeatureCulling.getBinSize(); 00541 } 00542 00543 if(FieldBits::NoField != (SmallFeaturePixelsFieldMask & whichField)) 00544 { 00545 returnValue += _sfSmallFeaturePixels.getBinSize(); 00546 } 00547 00548 if(FieldBits::NoField != (SmallFeatureThresholdFieldMask & whichField)) 00549 { 00550 returnValue += _sfSmallFeatureThreshold.getBinSize(); 00551 } 00552 00553 if(FieldBits::NoField != (FirstFrameFieldMask & whichField)) 00554 { 00555 returnValue += _sfFirstFrame.getBinSize(); 00556 } 00557 00558 00559 return returnValue; 00560 }
| void osg::RenderOptionsBase::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual, inherited] |
Reimplemented from osg::Attachment.
Definition at line 562 of file OSGRenderOptionsBase.cpp.
References osg::RenderOptionsBase::_sfAntialiasing, osg::RenderOptionsBase::_sfAntialiasingDistance, osg::RenderOptionsBase::_sfAntialiasingScale, osg::RenderOptionsBase::_sfAntialiasingTrigger, osg::RenderOptionsBase::_sfBackfaceCulling, osg::RenderOptionsBase::_sfCorrectTwoSidedLighting, osg::RenderOptionsBase::_sfFirstFrame, osg::RenderOptionsBase::_sfFrustumCulling, osg::RenderOptionsBase::_sfLocalLights, osg::RenderOptionsBase::_sfOcclusionCulling, osg::RenderOptionsBase::_sfOcclusionCullingMode, osg::RenderOptionsBase::_sfOcclusionCullingPixels, osg::RenderOptionsBase::_sfPolygonMode, osg::RenderOptionsBase::_sfSmallFeatureCulling, osg::RenderOptionsBase::_sfSmallFeaturePixels, osg::RenderOptionsBase::_sfSmallFeatureThreshold, osg::RenderOptionsBase::_sfSortTrans, osg::RenderOptionsBase::_sfSpecTexLighting, osg::RenderOptionsBase::_sfStatistic, osg::RenderOptionsBase::_sfTwoSidedLighting, osg::RenderOptionsBase::_sfZWriteTrans, osg::RenderOptionsBase::AntialiasingDistanceFieldMask, osg::RenderOptionsBase::AntialiasingFieldMask, osg::RenderOptionsBase::AntialiasingScaleFieldMask, osg::RenderOptionsBase::AntialiasingTriggerFieldMask, osg::RenderOptionsBase::BackfaceCullingFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::Attachment::copyToBin(), osg::RenderOptionsBase::CorrectTwoSidedLightingFieldMask, osg::RenderOptionsBase::FirstFrameFieldMask, osg::RenderOptionsBase::FrustumCullingFieldMask, osg::RenderOptionsBase::LocalLightsFieldMask, osg::FieldBits::NoField, osg::RenderOptionsBase::OcclusionCullingFieldMask, osg::RenderOptionsBase::OcclusionCullingModeFieldMask, osg::RenderOptionsBase::OcclusionCullingPixelsFieldMask, osg::RenderOptionsBase::PolygonModeFieldMask, osg::RenderOptionsBase::SmallFeatureCullingFieldMask, osg::RenderOptionsBase::SmallFeaturePixelsFieldMask, osg::RenderOptionsBase::SmallFeatureThresholdFieldMask, osg::RenderOptionsBase::SortTransFieldMask, osg::RenderOptionsBase::SpecTexLightingFieldMask, osg::RenderOptionsBase::StatisticFieldMask, osg::RenderOptionsBase::TwoSidedLightingFieldMask, and osg::RenderOptionsBase::ZWriteTransFieldMask.
00564 { 00565 Inherited::copyToBin(pMem, whichField); 00566 00567 if(FieldBits::NoField != (StatisticFieldMask & whichField)) 00568 { 00569 _sfStatistic.copyToBin(pMem); 00570 } 00571 00572 if(FieldBits::NoField != (PolygonModeFieldMask & whichField)) 00573 { 00574 _sfPolygonMode.copyToBin(pMem); 00575 } 00576 00577 if(FieldBits::NoField != (TwoSidedLightingFieldMask & whichField)) 00578 { 00579 _sfTwoSidedLighting.copyToBin(pMem); 00580 } 00581 00582 if(FieldBits::NoField != (SpecTexLightingFieldMask & whichField)) 00583 { 00584 _sfSpecTexLighting.copyToBin(pMem); 00585 } 00586 00587 if(FieldBits::NoField != (SortTransFieldMask & whichField)) 00588 { 00589 _sfSortTrans.copyToBin(pMem); 00590 } 00591 00592 if(FieldBits::NoField != (ZWriteTransFieldMask & whichField)) 00593 { 00594 _sfZWriteTrans.copyToBin(pMem); 00595 } 00596 00597 if(FieldBits::NoField != (LocalLightsFieldMask & whichField)) 00598 { 00599 _sfLocalLights.copyToBin(pMem); 00600 } 00601 00602 if(FieldBits::NoField != (CorrectTwoSidedLightingFieldMask & whichField)) 00603 { 00604 _sfCorrectTwoSidedLighting.copyToBin(pMem); 00605 } 00606 00607 if(FieldBits::NoField != (OcclusionCullingFieldMask & whichField)) 00608 { 00609 _sfOcclusionCulling.copyToBin(pMem); 00610 } 00611 00612 if(FieldBits::NoField != (OcclusionCullingModeFieldMask & whichField)) 00613 { 00614 _sfOcclusionCullingMode.copyToBin(pMem); 00615 } 00616 00617 if(FieldBits::NoField != (OcclusionCullingPixelsFieldMask & whichField)) 00618 { 00619 _sfOcclusionCullingPixels.copyToBin(pMem); 00620 } 00621 00622 if(FieldBits::NoField != (AntialiasingFieldMask & whichField)) 00623 { 00624 _sfAntialiasing.copyToBin(pMem); 00625 } 00626 00627 if(FieldBits::NoField != (AntialiasingDistanceFieldMask & whichField)) 00628 { 00629 _sfAntialiasingDistance.copyToBin(pMem); 00630 } 00631 00632 if(FieldBits::NoField != (AntialiasingScaleFieldMask & whichField)) 00633 { 00634 _sfAntialiasingScale.copyToBin(pMem); 00635 } 00636 00637 if(FieldBits::NoField != (AntialiasingTriggerFieldMask & whichField)) 00638 { 00639 _sfAntialiasingTrigger.copyToBin(pMem); 00640 } 00641 00642 if(FieldBits::NoField != (FrustumCullingFieldMask & whichField)) 00643 { 00644 _sfFrustumCulling.copyToBin(pMem); 00645 } 00646 00647 if(FieldBits::NoField != (BackfaceCullingFieldMask & whichField)) 00648 { 00649 _sfBackfaceCulling.copyToBin(pMem); 00650 } 00651 00652 if(FieldBits::NoField != (SmallFeatureCullingFieldMask & whichField)) 00653 { 00654 _sfSmallFeatureCulling.copyToBin(pMem); 00655 } 00656 00657 if(FieldBits::NoField != (SmallFeaturePixelsFieldMask & whichField)) 00658 { 00659 _sfSmallFeaturePixels.copyToBin(pMem); 00660 } 00661 00662 if(FieldBits::NoField != (SmallFeatureThresholdFieldMask & whichField)) 00663 { 00664 _sfSmallFeatureThreshold.copyToBin(pMem); 00665 } 00666 00667 if(FieldBits::NoField != (FirstFrameFieldMask & whichField)) 00668 { 00669 _sfFirstFrame.copyToBin(pMem); 00670 } 00671 00672 00673 }
| void osg::RenderOptionsBase::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual, inherited] |
Reimplemented from osg::Attachment.
Definition at line 675 of file OSGRenderOptionsBase.cpp.
References osg::RenderOptionsBase::_sfAntialiasing, osg::RenderOptionsBase::_sfAntialiasingDistance, osg::RenderOptionsBase::_sfAntialiasingScale, osg::RenderOptionsBase::_sfAntialiasingTrigger, osg::RenderOptionsBase::_sfBackfaceCulling, osg::RenderOptionsBase::_sfCorrectTwoSidedLighting, osg::RenderOptionsBase::_sfFirstFrame, osg::RenderOptionsBase::_sfFrustumCulling, osg::RenderOptionsBase::_sfLocalLights, osg::RenderOptionsBase::_sfOcclusionCulling, osg::RenderOptionsBase::_sfOcclusionCullingMode, osg::RenderOptionsBase::_sfOcclusionCullingPixels, osg::RenderOptionsBase::_sfPolygonMode, osg::RenderOptionsBase::_sfSmallFeatureCulling, osg::RenderOptionsBase::_sfSmallFeaturePixels, osg::RenderOptionsBase::_sfSmallFeatureThreshold, osg::RenderOptionsBase::_sfSortTrans, osg::RenderOptionsBase::_sfSpecTexLighting, osg::RenderOptionsBase::_sfStatistic, osg::RenderOptionsBase::_sfTwoSidedLighting, osg::RenderOptionsBase::_sfZWriteTrans, osg::RenderOptionsBase::AntialiasingDistanceFieldMask, osg::RenderOptionsBase::AntialiasingFieldMask, osg::RenderOptionsBase::AntialiasingScaleFieldMask, osg::RenderOptionsBase::AntialiasingTriggerFieldMask, osg::RenderOptionsBase::BackfaceCullingFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::Attachment::copyFromBin(), osg::RenderOptionsBase::CorrectTwoSidedLightingFieldMask, osg::RenderOptionsBase::FirstFrameFieldMask, osg::RenderOptionsBase::FrustumCullingFieldMask, osg::RenderOptionsBase::LocalLightsFieldMask, osg::FieldBits::NoField, osg::RenderOptionsBase::OcclusionCullingFieldMask, osg::RenderOptionsBase::OcclusionCullingModeFieldMask, osg::RenderOptionsBase::OcclusionCullingPixelsFieldMask, osg::RenderOptionsBase::PolygonModeFieldMask, osg::RenderOptionsBase::SmallFeatureCullingFieldMask, osg::RenderOptionsBase::SmallFeaturePixelsFieldMask, osg::RenderOptionsBase::SmallFeatureThresholdFieldMask, osg::RenderOptionsBase::SortTransFieldMask, osg::RenderOptionsBase::SpecTexLightingFieldMask, osg::RenderOptionsBase::StatisticFieldMask, osg::RenderOptionsBase::TwoSidedLightingFieldMask, and osg::RenderOptionsBase::ZWriteTransFieldMask.
00677 { 00678 Inherited::copyFromBin(pMem, whichField); 00679 00680 if(FieldBits::NoField != (StatisticFieldMask & whichField)) 00681 { 00682 _sfStatistic.copyFromBin(pMem); 00683 } 00684 00685 if(FieldBits::NoField != (PolygonModeFieldMask & whichField)) 00686 { 00687 _sfPolygonMode.copyFromBin(pMem); 00688 } 00689 00690 if(FieldBits::NoField != (TwoSidedLightingFieldMask & whichField)) 00691 { 00692 _sfTwoSidedLighting.copyFromBin(pMem); 00693 } 00694 00695 if(FieldBits::NoField != (SpecTexLightingFieldMask & whichField)) 00696 { 00697 _sfSpecTexLighting.copyFromBin(pMem); 00698 } 00699 00700 if(FieldBits::NoField != (SortTransFieldMask & whichField)) 00701 { 00702 _sfSortTrans.copyFromBin(pMem); 00703 } 00704 00705 if(FieldBits::NoField != (ZWriteTransFieldMask & whichField)) 00706 { 00707 _sfZWriteTrans.copyFromBin(pMem); 00708 } 00709 00710 if(FieldBits::NoField != (LocalLightsFieldMask & whichField)) 00711 { 00712 _sfLocalLights.copyFromBin(pMem); 00713 } 00714 00715 if(FieldBits::NoField != (CorrectTwoSidedLightingFieldMask & whichField)) 00716 { 00717 _sfCorrectTwoSidedLighting.copyFromBin(pMem); 00718 } 00719 00720 if(FieldBits::NoField != (OcclusionCullingFieldMask & whichField)) 00721 { 00722 _sfOcclusionCulling.copyFromBin(pMem); 00723 } 00724 00725 if(FieldBits::NoField != (OcclusionCullingModeFieldMask & whichField)) 00726 { 00727 _sfOcclusionCullingMode.copyFromBin(pMem); 00728 } 00729 00730 if(FieldBits::NoField != (OcclusionCullingPixelsFieldMask & whichField)) 00731 { 00732 _sfOcclusionCullingPixels.copyFromBin(pMem); 00733 } 00734 00735 if(FieldBits::NoField != (AntialiasingFieldMask & whichField)) 00736 { 00737 _sfAntialiasing.copyFromBin(pMem); 00738 } 00739 00740 if(FieldBits::NoField != (AntialiasingDistanceFieldMask & whichField)) 00741 { 00742 _sfAntialiasingDistance.copyFromBin(pMem); 00743 } 00744 00745 if(FieldBits::NoField != (AntialiasingScaleFieldMask & whichField)) 00746 { 00747 _sfAntialiasingScale.copyFromBin(pMem); 00748 } 00749 00750 if(FieldBits::NoField != (AntialiasingTriggerFieldMask & whichField)) 00751 { 00752 _sfAntialiasingTrigger.copyFromBin(pMem); 00753 } 00754 00755 if(FieldBits::NoField != (FrustumCullingFieldMask & whichField)) 00756 { 00757 _sfFrustumCulling.copyFromBin(pMem); 00758 } 00759 00760 if(FieldBits::NoField != (BackfaceCullingFieldMask & whichField)) 00761 { 00762 _sfBackfaceCulling.copyFromBin(pMem); 00763 } 00764 00765 if(FieldBits::NoField != (SmallFeatureCullingFieldMask & whichField)) 00766 { 00767 _sfSmallFeatureCulling.copyFromBin(pMem); 00768 } 00769 00770 if(FieldBits::NoField != (SmallFeaturePixelsFieldMask & whichField)) 00771 { 00772 _sfSmallFeaturePixels.copyFromBin(pMem); 00773 } 00774 00775 if(FieldBits::NoField != (SmallFeatureThresholdFieldMask & whichField)) 00776 { 00777 _sfSmallFeatureThreshold.copyFromBin(pMem); 00778 } 00779 00780 if(FieldBits::NoField != (FirstFrameFieldMask & whichField)) 00781 { 00782 _sfFirstFrame.copyFromBin(pMem); 00783 } 00784 00785 00786 }
| RenderOptionsPtr osg::RenderOptionsBase::create | ( | void | ) | [inline, static, inherited] |
Reimplemented from osg::Attachment.
Definition at line 72 of file OSGRenderOptionsBase.inl.
References osg::AttachmentPtr::dcast(), osg::RenderOptionsBase::getClassType(), osg::NullFC, and osg::RenderOptionsBase::shallowCopy().
00073 { 00074 RenderOptionsPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = RenderOptionsPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 }
| RenderOptionsPtr osg::RenderOptionsBase::createEmpty | ( | void | ) | [inline, static, inherited] |
Reimplemented from osg::Attachment.
Definition at line 87 of file OSGRenderOptionsBase.inl.
References osg::FieldContainer::newPtr().
00088 { 00089 RenderOptionsPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 }
| FieldContainerPtr osg::RenderOptionsBase::shallowCopy | ( | void | ) | const [virtual, inherited] |
Reimplemented from osg::Attachment.
Definition at line 338 of file OSGRenderOptionsBase.cpp.
References osg::FieldContainer::newPtr().
Referenced by osg::RenderOptionsBase::create().
00339 { 00340 RenderOptionsPtr returnValue; 00341 00342 newPtr(returnValue, dynamic_cast<const RenderOptions *>(this)); 00343 00344 return returnValue; 00345 }
| void osg::RenderOptionsBase::executeSyncImpl | ( | RenderOptionsBase * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected, inherited] |
Definition at line 789 of file OSGRenderOptionsBase.cpp.
References osg::RenderOptionsBase::_sfAntialiasing, osg::RenderOptionsBase::_sfAntialiasingDistance, osg::RenderOptionsBase::_sfAntialiasingScale, osg::RenderOptionsBase::_sfAntialiasingTrigger, osg::RenderOptionsBase::_sfBackfaceCulling, osg::RenderOptionsBase::_sfCorrectTwoSidedLighting, osg::RenderOptionsBase::_sfFirstFrame, osg::RenderOptionsBase::_sfFrustumCulling, osg::RenderOptionsBase::_sfLocalLights, osg::RenderOptionsBase::_sfOcclusionCulling, osg::RenderOptionsBase::_sfOcclusionCullingMode, osg::RenderOptionsBase::_sfOcclusionCullingPixels, osg::RenderOptionsBase::_sfPolygonMode, osg::RenderOptionsBase::_sfSmallFeatureCulling, osg::RenderOptionsBase::_sfSmallFeaturePixels, osg::RenderOptionsBase::_sfSmallFeatureThreshold, osg::RenderOptionsBase::_sfSortTrans, osg::RenderOptionsBase::_sfSpecTexLighting, osg::RenderOptionsBase::_sfStatistic, osg::RenderOptionsBase::_sfTwoSidedLighting, osg::RenderOptionsBase::_sfZWriteTrans, osg::RenderOptionsBase::AntialiasingDistanceFieldMask, osg::RenderOptionsBase::AntialiasingFieldMask, osg::RenderOptionsBase::AntialiasingScaleFieldMask, osg::RenderOptionsBase::AntialiasingTriggerFieldMask, osg::RenderOptionsBase::BackfaceCullingFieldMask, osg::RenderOptionsBase::CorrectTwoSidedLightingFieldMask, osg::Attachment::executeSyncImpl(), osg::RenderOptionsBase::FirstFrameFieldMask, osg::RenderOptionsBase::FrustumCullingFieldMask, osg::RenderOptionsBase::LocalLightsFieldMask, osg::FieldBits::NoField, osg::RenderOptionsBase::OcclusionCullingFieldMask, osg::RenderOptionsBase::OcclusionCullingModeFieldMask, osg::RenderOptionsBase::OcclusionCullingPixelsFieldMask, osg::RenderOptionsBase::PolygonModeFieldMask, osg::RenderOptionsBase::SmallFeatureCullingFieldMask, osg::RenderOptionsBase::SmallFeaturePixelsFieldMask, osg::RenderOptionsBase::SmallFeatureThresholdFieldMask, osg::RenderOptionsBase::SortTransFieldMask, osg::RenderOptionsBase::SpecTexLightingFieldMask, osg::RenderOptionsBase::StatisticFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::syncWith(), osg::RenderOptionsBase::TwoSidedLightingFieldMask, and osg::RenderOptionsBase::ZWriteTransFieldMask.
Referenced by osg::RenderOptionsBase::executeSync().
00791 { 00792 00793 Inherited::executeSyncImpl(pOther, whichField); 00794 00795 if(FieldBits::NoField != (StatisticFieldMask & whichField)) 00796 _sfStatistic.syncWith(pOther->_sfStatistic); 00797 00798 if(FieldBits::NoField != (PolygonModeFieldMask & whichField)) 00799 _sfPolygonMode.syncWith(pOther->_sfPolygonMode); 00800 00801 if(FieldBits::NoField != (TwoSidedLightingFieldMask & whichField)) 00802 _sfTwoSidedLighting.syncWith(pOther->_sfTwoSidedLighting); 00803 00804 if(FieldBits::NoField != (SpecTexLightingFieldMask & whichField)) 00805 _sfSpecTexLighting.syncWith(pOther->_sfSpecTexLighting); 00806 00807 if(FieldBits::NoField != (SortTransFieldMask & whichField)) 00808 _sfSortTrans.syncWith(pOther->_sfSortTrans); 00809 00810 if(FieldBits::NoField != (ZWriteTransFieldMask & whichField)) 00811 _sfZWriteTrans.syncWith(pOther->_sfZWriteTrans); 00812 00813 if(FieldBits::NoField != (LocalLightsFieldMask & whichField)) 00814 _sfLocalLights.syncWith(pOther->_sfLocalLights); 00815 00816 if(FieldBits::NoField != (CorrectTwoSidedLightingFieldMask & whichField)) 00817 _sfCorrectTwoSidedLighting.syncWith(pOther->_sfCorrectTwoSidedLighting); 00818 00819 if(FieldBits::NoField != (OcclusionCullingFieldMask & whichField)) 00820 _sfOcclusionCulling.syncWith(pOther->_sfOcclusionCulling); 00821 00822 if(FieldBits::NoField != (OcclusionCullingModeFieldMask & whichField)) 00823 _sfOcclusionCullingMode.syncWith(pOther->_sfOcclusionCullingMode); 00824 00825 if(FieldBits::NoField != (OcclusionCullingPixelsFieldMask & whichField)) 00826 _sfOcclusionCullingPixels.syncWith(pOther->_sfOcclusionCullingPixels); 00827 00828 if(FieldBits::NoField != (AntialiasingFieldMask & whichField)) 00829 _sfAntialiasing.syncWith(pOther->_sfAntialiasing); 00830 00831 if(FieldBits::NoField != (AntialiasingDistanceFieldMask & whichField)) 00832 _sfAntialiasingDistance.syncWith(pOther->_sfAntialiasingDistance); 00833 00834 if(FieldBits::NoField != (AntialiasingScaleFieldMask & whichField)) 00835 _sfAntialiasingScale.syncWith(pOther->_sfAntialiasingScale); 00836 00837 if(FieldBits::NoField != (AntialiasingTriggerFieldMask & whichField)) 00838 _sfAntialiasingTrigger.syncWith(pOther->_sfAntialiasingTrigger); 00839 00840 if(FieldBits::NoField != (FrustumCullingFieldMask & whichField)) 00841 _sfFrustumCulling.syncWith(pOther->_sfFrustumCulling); 00842 00843 if(FieldBits::NoField != (BackfaceCullingFieldMask & whichField)) 00844 _sfBackfaceCulling.syncWith(pOther->_sfBackfaceCulling); 00845 00846 if(FieldBits::NoField != (SmallFeatureCullingFieldMask & whichField)) 00847 _sfSmallFeatureCulling.syncWith(pOther->_sfSmallFeatureCulling); 00848 00849 if(FieldBits::NoField != (SmallFeaturePixelsFieldMask & whichField)) 00850 _sfSmallFeaturePixels.syncWith(pOther->_sfSmallFeaturePixels); 00851 00852 if(FieldBits::NoField != (SmallFeatureThresholdFieldMask & whichField)) 00853 _sfSmallFeatureThreshold.syncWith(pOther->_sfSmallFeatureThreshold); 00854 00855 if(FieldBits::NoField != (FirstFrameFieldMask & whichField)) 00856 _sfFirstFrame.syncWith(pOther->_sfFirstFrame); 00857 00858 00859 }
| void Attachment::executeSyncImpl | ( | Attachment * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected, inherited] |
Definition at line 306 of file OSGAttachment.cpp.
References osg::Attachment::_parents, osg::Attachment::_sfInternal, osg::FieldContainer::executeSyncImpl(), osg::Attachment::InternalFieldMask, osg::FieldBits::NoField, osg::Attachment::ParentsFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::syncWith(), and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().
Referenced by osg::Attachment::executeSync(), osg::StringAttributeMapBase::executeSyncImpl(), osg::StateChunkBase::executeSyncImpl(), osg::RenderOptionsBase::executeSyncImpl(), osg::FCPtrAttributeMapBase::executeSyncImpl(), osg::DVRVolumeTextureBase::executeSyncImpl(), osg::DVRLookupTableBase::executeSyncImpl(), osg::DVRIsoSurfaceBase::executeSyncImpl(), osg::DVRClipObjectsBase::executeSyncImpl(), and osg::SimpleAttachment< AttachmentDescT >::executeSyncImpl().
00308 { 00309 Inherited::executeSyncImpl(pOther, whichField); 00310 00311 if(FieldBits::NoField != (InternalFieldMask & whichField)) 00312 { 00313 _sfInternal.syncWith(pOther->_sfInternal); 00314 } 00315 00316 if(FieldBits::NoField != (ParentsFieldMask & whichField)) 00317 { 00318 _parents.syncWith(pOther->_parents); 00319 } 00320 }
| void osg::FieldContainer::executeSyncImpl | ( | FieldContainer * | pOther, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, inherited] |
Definition at line 333 of file OSGFieldContainerImpl.inl.
Referenced by osg::StateBase::executeSyncImpl(), osg::DVRShaderBase::executeSyncImpl(), osg::DVRClipGeometryBase::executeSyncImpl(), osg::AttachmentContainer::executeSyncImpl(), and osg::Attachment::executeSyncImpl().
| void osg::RenderOptionsBase::executeSync | ( | FieldContainer & | other, | |
| const BitVector & | whichField | |||
| ) | [protected, virtual, inherited] |
Reimplemented from osg::Attachment.
Definition at line 354 of file OSGRenderOptionsBase.cpp.
References osg::RenderOptionsBase::executeSyncImpl().
00356 { 00357 this->executeSyncImpl((RenderOptionsBase *) &other, whichField); 00358 }
| MFFieldContainerPtr & Attachment::getParents | ( | void | ) | [inherited] |
| const MFFieldContainerPtr & Attachment::getParents | ( | void | ) | const [inherited] |
Definition at line 100 of file OSGAttachment.cpp.
References osg::Attachment::_parents.
00101 { 00102 return _parents; 00103 }
| MFFieldContainerPtr * Attachment::getMFParents | ( | void | ) | [inherited] |
Definition at line 105 of file OSGAttachment.cpp.
References osg::Attachment::_parents.
Referenced by osg::DVRLookupTable::changed().
00106 { 00107 return &_parents; 00108 }
| void Attachment::addParent | ( | FieldContainerPtr | parent | ) | [inherited] |
Definition at line 110 of file OSGAttachment.cpp.
References osg::Attachment::_parents, and osg::MField< FieldTypeT, fieldNameSpace >::push_back().
| void Attachment::subParent | ( | FieldContainerPtr | parent | ) | [inherited] |
Definition at line 115 of file OSGAttachment.cpp.
References osg::Attachment::_parents, osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::MField< FieldTypeT, fieldNameSpace >::erase(), and osg::MField< FieldTypeT, fieldNameSpace >::find().
00116 { 00117 MFFieldContainerPtr::iterator parentIt = _parents.find(parent); 00118 00119 if(parentIt != _parents.end()) 00120 { 00121 _parents.erase(parentIt); 00122 } 00123 }
| Int32 Attachment::findParent | ( | FieldContainerPtr | parent | ) | [inherited] |
Definition at line 125 of file OSGAttachment.cpp.
References osg::Attachment::_parents, osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::MField< FieldTypeT, fieldNameSpace >::end(), and osg::MField< FieldTypeT, fieldNameSpace >::find().
00126 { 00127 MFFieldContainerPtr::iterator parentIt = _parents.find(parent); 00128 00129 if(parentIt != _parents.end()) 00130 { 00131 return parentIt - _parents.begin(); 00132 } 00133 else 00134 { 00135 return -1; 00136 } 00137 }
| SFBool & Attachment::getInternal | ( | void | ) | [inherited] |
Definition at line 142 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal.
00143 { 00144 return _sfInternal; 00145 }
| const SFBool & Attachment::getInternal | ( | void | ) | const [inherited] |
Definition at line 147 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal.
00148 { 00149 return _sfInternal; 00150 }
| SFBool * Attachment::getSFInternal | ( | void | ) | [inherited] |
Definition at line 152 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal.
00153 { 00154 return &_sfInternal; 00155 }
| void Attachment::setInternal | ( | bool | bVal | ) | [inherited] |
Definition at line 157 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00158 { 00159 _sfInternal.setValue(bVal); 00160 }
| void Attachment::dump | ( | UInt32 | uiIndent = 0, |
|
| const BitVector | bvFlags = 0 | |||
| ) | const [virtual, inherited] |
Implements osg::FieldContainer.
Reimplemented in osg::FCPtrAttributeMap, osg::StringAttributeMap, osg::SimpleAttachment< AttachmentDescT >, osg::DVRClipObjects, osg::DVRIsoSurface, osg::DVRLookupTable, osg::DVRVolumeTexture, osg::FatBorderChunk, osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::FragmentProgramChunk, osg::LightChunk, osg::LightModelChunk, osg::LineChunk, osg::LogicOpChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::SClipPlaneChunk, osg::StateChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::VertexProgramChunk, osg::ShaderChunk, osg::ShaderParameterChunk, osg::SHLChunk, osg::SHLParameterChunk, osg::SimpleAttachment< osg::NameAttachmentDesc >, and osg::SimpleAttachment< osg::VoidPAttachmentDesc >.
Definition at line 213 of file OSGAttachment.cpp.
References osg::Attachment::_parents, osg::FieldContainerPtrBase::getFieldContainerId(), osg::TypeBase::getName(), osg::Attachment::getType(), osg::indentLog(), PLOG, and osg::MField< FieldTypeT, fieldNameSpace >::size().
Referenced by osg::SimpleAttachment< AttachmentDescT >::dump().
00215 { 00216 UInt32 i; 00217 00218 AttachmentPtr thisP(this); 00219 00220 indentLog(uiIndent, PLOG); 00221 00222 PLOG << "Attachment" 00223 << "(" 00224 << std::dec 00225 << thisP.getFieldContainerId() 00226 << ") : " 00227 << getType().getName() 00228 << "(" 00229 << this 00230 << ")" 00231 << std::endl; 00232 00233 indentLog(uiIndent, PLOG); 00234 PLOG << "[" << std::endl; 00235 00236 indentLog(uiIndent + 4, PLOG); 00237 PLOG << "Parents : " << std::endl; 00238 00239 for(i = 0; i < _parents.size(); i++) 00240 { 00241 indentLog(uiIndent + 4, PLOG); 00242 PLOG << " " << i << ") " << &(*(_parents[i])) << std::endl; 00243 } 00244 00245 // thisP.dump(uiIndent, FCDumpFlags::RefCount); 00246 00247 indentLog(uiIndent, PLOG); 00248 PLOG << "]" << std::endl; 00249 00250 indentLog(uiIndent, PLOG); 00251 PLOG << "{" << std::endl; 00252 00253 indentLog(uiIndent, PLOG); 00254 PLOG << "}" << std::endl; 00255 }
| void Attachment::onDestroy | ( | void | ) | [protected, virtual, inherited] |
Reimplemented from osg::FieldContainer.
Reimplemented in osg::CubeTextureChunk, osg::TextureChunk, osg::ShaderParameterChunk, and osg::SHLChunk.
Definition at line 285 of file OSGAttachment.cpp.
Referenced by osg::TextureChunk::onDestroy(), and osg::ShaderParameterChunk::onDestroy().
| UInt16 osg::FieldContainer::getClassGroupId | ( | void | ) | [inline, static, inherited] |
Definition at line 71 of file OSGFieldContainerImpl.inl.
References osg::FieldContainer::_type, and osg::FieldContainerType::getGroupId().
00072 { 00073 return _type.getGroupId(); 00074 }
| UInt32 osg::FieldContainer::getTypeId | ( | void | ) | const [inline, inherited] |
Definition at line 77 of file OSGFieldContainerImpl.inl.
References osg::TypeBase::getId(), and osg::FieldContainer::getType().
Referenced by osg::TextureChunk::changeFrom(), and osg::CubeTextureChunk::changeFrom().
00078 { 00079 return getType().getId(); 00080 }
| UInt16 osg::FieldContainer::getGroupId | ( | void | ) | const [inline, inherited] |
Definition at line 83 of file OSGFieldContainerImpl.inl.
References osg::FieldContainerType::getGroupId(), and osg::FieldContainer::getType().
Referenced by osg::fcptrAttributeMap(), osg::Image::setAttachmentField(), and osg::stringAttributeMap().
00084 { 00085 return getType().getGroupId(); 00086 }
| const Char8 * osg::FieldContainer::getTypeName | ( | void | ) | const [inline, inherited] |
Definition at line 89 of file OSGFieldContainerImpl.inl.
References osg::TypeBase::getCName(), and osg::FieldContainer::getType().
00090 { 00091 return getType().getCName(); 00092 }
Generic Field Access
Definition at line 95 of file OSGFieldContainerImpl.inl.
References osg::FieldDescription::getField(), osg::FieldContainerType::getFieldDescription(), and osg::FieldContainer::getType().
Referenced by osg::QFCItem::expand(), osg::VRMLShapeDesc::getFieldAndDesc(), osg::QFieldViewBase::getFieldPtr(), osg::QFieldEditorBase::getFieldPtr(), osg::getParentsField(), and osg::QFCItem::setup().
00096 { 00097 const FieldDescription *desc = getType().getFieldDescription(fieldId); 00098 00099 return desc ? desc->getField(*this) : NULL; 00100 }
Generic Field Access
Definition at line 103 of file OSGFieldContainerImpl.inl.
References osg::FieldContainerType::findFieldDescription(), osg::FieldDescription::getField(), and osg::FieldContainer::getType().
00104 { 00105 const FieldDescription *desc =getType().findFieldDescription(fieldName); 00106 00107 return desc ? desc->getField(*this) : NULL; 00108 }
| void osg::FieldContainer::newPtr | ( | ObjectPtrT & | result, | |
| const typename ObjectPtrT::StoredObjectType * | prototypeP | |||
| ) | [inline, static, protected, inherited] |
Definition at line 138 of file OSGFieldContainerImpl.inl.
References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().
Referenced by osg::XWindowBase::createEmpty(), osg::WIN32WindowBase::createEmpty(), osg::ViewportBase::createEmpty(), osg::VertexProgramChunkBase::createEmpty(), osg::TwoSidedLightingChunkBase::createEmpty(), osg::TransformChunkBase::createEmpty(), osg::TransformBase::createEmpty(), osg::TileCameraDecoratorBase::createEmpty(), osg::TextureTransformChunkBase::createEmpty(), osg::TextureGrabForegroundBase::createEmpty(), osg::TextureGrabBackgroundBase::createEmpty(), osg::TextureChunkBase::createEmpty(), osg::TextureBackgroundBase::createEmpty(), osg::TexGenChunkBase::createEmpty(), osg::SwitchMaterialBase::createEmpty(), osg::SwitchBase::createEmpty(), osg::SurfaceBase::createEmpty(), osg::StringAttributeMapBase::createEmpty(), osg::StereoBufferViewportBase::createEmpty(), osg::StencilChunkBase::createEmpty(), osg::StateSortingGroupBase::createEmpty(), osg::StateBase::createEmpty(), osg::SpotLightBase::createEmpty(), osg::SortFirstWindowBase::createEmpty(), osg::SolidBackgroundBase::createEmpty(), osg::SlicesBase::createEmpty(), osg::SkyBackgroundBase::createEmpty(), osg::SimpleTexturedMaterialBase::createEmpty(), osg::SimpleStatisticsForegroundBase::createEmpty(), osg::SimpleMaterialBase::createEmpty(), osg::SHLParameterChunkBase::createEmpty(), osg::SHLChunkBase::createEmpty(), osg::ShearedStereoCameraDecoratorBase::createEmpty(), osg::ShaderParameterVec4fBase::createEmpty(), osg::ShaderParameterVec3fBase::createEmpty(), osg::ShaderParameterVec2fBase::createEmpty(), osg::ShaderParameterStringBase::createEmpty(), osg::ShaderParameterRealBase::createEmpty(), osg::ShaderParameterMVec4fBase::createEmpty(), osg::ShaderParameterMVec3fBase::createEmpty(), osg::ShaderParameterMVec2fBase::createEmpty(), osg::ShaderParameterMRealBase::createEmpty(), osg::ShaderParameterMMatrixBase::createEmpty(), osg::ShaderParameterMIntBase::createEmpty(), osg::ShaderParameterMatrixBase::createEmpty(), osg::ShaderParameterIntBase::createEmpty(), osg::ShaderParameterBoolBase::createEmpty(), osg::ScreenGroupBase::createEmpty(), osg::SClipPlaneChunkBase::createEmpty(), osg::ResolutionDisplayFilterBase::createEmpty(), osg::RenderOptionsBase::createEmpty(), osg::RegisterCombinersChunkBase::createEmpty(), osg::QTWindowBase::createEmpty(), osg::ProxyGroupBase::createEmpty(), osg::ProjectionCameraDecoratorBase::createEmpty(), osg::PolygonForegroundBase::createEmpty(), osg::PolygonChunkBase::createEmpty(), osg::PolygonBackgroundBase::createEmpty(), osg::PointLightBase::createEmpty(), osg::PointChunkBase::createEmpty(), osg::PhongMaterialBase::createEmpty(), osg::PerspectiveCameraBase::createEmpty(), osg::PassiveWindowBase::createEmpty(), osg::PassiveViewportBase::createEmpty(), osg::PassiveBackgroundBase::createEmpty(), osg::ParticlesBase::createEmpty(), osg::OrthographicCameraBase::createEmpty(), osg::OffCenterPerspectiveCameraBase::createEmpty(), osg::MultiPassMaterialBase::createEmpty(), osg::MultiDisplayWindowBase::createEmpty(), osg::MatrixCameraDecoratorBase::createEmpty(), osg::MatrixCameraBase::createEmpty(), osg::MaterialPoolBase::createEmpty(), osg::MaterialGroupBase::createEmpty(), osg::MaterialChunkBase::createEmpty(), osg::LogicOpChunkBase::createEmpty(), osg::LineChunkBase::createEmpty(), osg::LightModelChunkBase::createEmpty(), osg::LightEnvBase::createEmpty(), osg::LightChunkBase::createEmpty(), osg::InverseTransformBase::createEmpty(), osg::InlineBase::createEmpty(), osg::ImageForegroundBase::createEmpty(), osg::ImageBase::createEmpty(), osg::ImageBackgroundBase::createEmpty(), osg::GroupBase::createEmpty(), osg::GraphicStatisticsForegroundBase::createEmpty(), osg::GradientBackgroundBase::createEmpty(), osg::GrabForegroundBase::createEmpty(), osg::GLUTWindowBase::createEmpty(), osg::GeometryBase::createEmpty(), osg::FresnelMaterialBase::createEmpty(), osg::FragmentProgramChunkBase::createEmpty(), osg::FileGrabForegroundBase::createEmpty(), osg::FCPtrAttributeMapBase::createEmpty(), osg::FBOViewportBase::createEmpty(), osg::FatBorderChunkBase::createEmpty(), osg::DVRVolumeTextureBase::createEmpty(), osg::DVRVolumeBase::createEmpty(), osg::DVRSimpleShaderBase::createEmpty(), osg::DVRSimpleLUTShaderBase::createEmpty(), osg::DVRMtexLUTShaderBase::createEmpty(), osg::DVRLookupTableBase::createEmpty(), osg::DVRIsoSurfaceBase::createEmpty(), osg::DVRIsoShaderBase::createEmpty(), osg::DVRGeometryBase::createEmpty(), osg::DVRClipObjectsBase::createEmpty(), osg::DVRClipGeometryBase::createEmpty(), osg::DVRAppearanceBase::createEmpty(), osg::DistortionDisplayFilterBase::createEmpty(), osg::DistanceLODBase::createEmpty(), osg::DisplayFilterForegroundBase::createEmpty(), osg::DisplayCalibrationBase::createEmpty(), osg::DirectionalLightBase::createEmpty(), osg::DepthClearBackgroundBase::createEmpty(), osg::DepthChunkBase::createEmpty(), osg::CubeTextureChunkBase::createEmpty(), osg::ComponentTransformBase::createEmpty(), osg::ColorMaskChunkBase::createEmpty(), osg::ColorDisplayFilterBase::createEmpty(), osg::ColorBufferViewportBase::createEmpty(), osg::ClusterWindowBase::createEmpty(), osg::ClipPlaneChunkBase::createEmpty(), osg::ClipPlaneBase::createEmpty(), osg::ChunkMaterialBase::createEmpty(), osg::BlendChunkBase::createEmpty(), osg::BillboardBase::createEmpty(), osg::XWindowBase::shallowCopy(), osg::WIN32WindowBase::shallowCopy(), osg::ViewportBase::shallowCopy(), osg::VertexProgramChunkBase::shallowCopy(), osg::TwoSidedLightingChunkBase::shallowCopy(), osg::TransformChunkBase::shallowCopy(), osg::TransformBase::shallowCopy(), osg::TileCameraDecoratorBase::shallowCopy(), osg::TextureTransformChunkBase::shallowCopy(), osg::TextureGrabForegroundBase::shallowCopy(), osg::TextureGrabBackgroundBase::shallowCopy(), osg::TextureChunkBase::shallowCopy(), osg::TextureBackgroundBase::shallowCopy(), osg::TexGenChunkBase::shallowCopy(), osg::SwitchMaterialBase::shallowCopy(), osg::SwitchBase::shallowCopy(), osg::SurfaceBase::shallowCopy(), osg::StringAttributeMapBase::shallowCopy(), osg::StereoBufferViewportBase::shallowCopy(), osg::StencilChunkBase::shallowCopy(), osg::StateSortingGroupBase::shallowCopy(), osg::StateBase::shallowCopy(), osg::SpotLightBase::shallowCopy(), osg::SortFirstWindowBase::shallowCopy(), osg::SolidBackgroundBase::shallowCopy(), osg::SlicesBase::shallowCopy(), osg::SkyBackgroundBase::shallowCopy(), osg::SimpleTexturedMaterialBase::shallowCopy(), osg::SimpleStatisticsForegroundBase::shallowCopy(), osg::SimpleMaterialBase::shallowCopy(), osg::SHLParameterChunkBase::shallowCopy(), osg::SHLChunkBase::shallowCopy(), osg::ShearedStereoCameraDecoratorBase::shallowCopy(), osg::ShaderParameterVec4fBase::shallowCopy(), osg::ShaderParameterVec3fBase::shallowCopy(), osg::ShaderParameterVec2fBase::shallowCopy(), osg::ShaderParameterStringBase::shallowCopy(), osg::ShaderParameterRealBase::shallowCopy(), osg::ShaderParameterMVec4fBase::shallowCopy(), osg::ShaderParameterMVec3fBase::shallowCopy(), osg::ShaderParameterMVec2fBase::shallowCopy(), osg::ShaderParameterMRealBase::shallowCopy(), osg::ShaderParameterMMatrixBase::shallowCopy(), osg::ShaderParameterMIntBase::shallowCopy(), osg::ShaderParameterMatrixBase::shallowCopy(), osg::ShaderParameterIntBase::shallowCopy(), osg::ShaderParameterBoolBase::shallowCopy(), osg::ScreenGroupBase::shallowCopy(), osg::SClipPlaneChunkBase::shallowCopy(), osg::ResolutionDisplayFilterBase::shallowCopy(), osg::RenderOptionsBase::shallowCopy(), osg::RegisterCombinersChunkBase::shallowCopy(), osg::QTWindowBase::shallowCopy(), osg::ProxyGroupBase::shallowCopy(), osg::ProjectionCameraDecoratorBase::shallowCopy(), osg::PolygonForegroundBase::shallowCopy(), osg::PolygonChunkBase::shallowCopy(), osg::PolygonBackgroundBase::shallowCopy(), osg::PointLightBase::shallowCopy(), osg::PointChunkBase::shallowCopy(), osg::PhongMaterialBase::shallowCopy(), osg::PerspectiveCameraBase::shallowCopy(), osg::PassiveWindowBase::shallowCopy(), osg::PassiveViewportBase::shallowCopy(), osg::PassiveBackgroundBase::shallowCopy(), osg::ParticlesBase::shallowCopy(), osg::OrthographicCameraBase::shallowCopy(), osg::OffCenterPerspectiveCameraBase::shallowCopy(), osg::MultiPassMaterialBase::shallowCopy(), osg::MultiDisplayWindowBase::shallowCopy(), osg::MatrixCameraDecoratorBase::shallowCopy(), osg::MatrixCameraBase::shallowCopy(), osg::MaterialPoolBase::shallowCopy(), osg::MaterialGroupBase::shallowCopy(), osg::MaterialChunkBase::shallowCopy(), osg::LogicOpChunkBase::shallowCopy(), osg::LineChunkBase::shallowCopy(), osg::LightModelChunkBase::shallowCopy(), osg::LightEnvBase::shallowCopy(), osg::LightChunkBase::shallowCopy(), osg::InverseTransformBase::shallowCopy(), osg::InlineBase::shallowCopy(), osg::ImageForegroundBase::shallowCopy(), osg::ImageBase::shallowCopy(), osg::ImageBackgroundBase::shallowCopy(), osg::GroupBase::shallowCopy(), osg::GraphicStatisticsForegroundBase::shallowCopy(), osg::GradientBackgroundBase::shallowCopy(), osg::GrabForegroundBase::shallowCopy(), osg::GLUTWindowBase::shallowCopy(), osg::GeometryBase::shallowCopy(), osg::FresnelMaterialBase::shallowCopy(), osg::FragmentProgramChunkBase::shallowCopy(), osg::FileGrabForegroundBase::shallowCopy(), osg::FCPtrAttributeMapBase::shallowCopy(), osg::FBOViewportBase::shallowCopy(), osg::FatBorderChunkBase::shallowCopy(), osg::DVRVolumeTextureBase::shallowCopy(), osg::DVRVolumeBase::shallowCopy(), osg::DVRSimpleShaderBase::shallowCopy(), osg::DVRSimpleLUTShaderBase::shallowCopy(), osg::DVRMtexLUTShaderBase::shallowCopy(), osg::DVRLookupTableBase::shallowCopy(), osg::DVRIsoSurfaceBase::shallowCopy(), osg::DVRIsoShaderBase::shallowCopy(), osg::DVRGeometryBase::shallowCopy(), osg::DVRClipObjectsBase::shallowCopy(), osg::DVRClipGeometryBase::shallowCopy(), osg::DVRAppearanceBase::shallowCopy(), osg::DistortionDisplayFilterBase::shallowCopy(), osg::DistanceLODBase::shallowCopy(), osg::DisplayFilterForegroundBase::shallowCopy(), osg::DisplayCalibrationBase::shallowCopy(), osg::DirectionalLightBase::shallowCopy(), osg::DepthClearBackgroundBase::shallowCopy(), osg::DepthChunkBase::shallowCopy(), osg::CubeTextureChunkBase::shallowCopy(), osg::ComponentTransformBase::shallowCopy(), osg::ColorMaskChunkBase::shallowCopy(), osg::ColorDisplayFilterBase::shallowCopy(), osg::ColorBufferViewportBase::shallowCopy(), osg::ClusterWindowBase::shallowCopy(), osg::ClipPlaneChunkBase::shallowCopy(), osg::ClipPlaneBase::shallowCopy(), osg::ChunkMaterialBase::shallowCopy(), osg::BlendChunkBase::shallowCopy(), and osg::BillboardBase::shallowCopy().
00141 { 00142 typedef typename ObjectPtrT::StoredObjectType ObjectType; 00143 00144 UInt8 *pTmp; 00145 00146 result._containerSize = sizeof(ObjectType); 00147 00148 pTmp = 00149 static_cast<UInt8 *>(operator new( 00150 sizeof(Int32) + // ReferenceCount 00151 sizeof(UInt32) + // ContainerId 00152 sizeof(ObjectType) * ThreadManager::getNumAspects())); 00153 00154 *(reinterpret_cast<Int32 *>(pTmp)) = 0; 00155 00156 pTmp += sizeof(Int32); 00157 00158 result._storeP = (pTmp + sizeof(UInt32)); 00159 00160 #ifdef OSG_DEBUG_FCPTR 00161 result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP); 00162 #endif 00163 00164 *(reinterpret_cast<UInt32 *>(pTmp)) = 00165 FieldContainerFactory::the()->registerFieldContainer(result); 00166 00167 Thread::getCurrentChangeList()->addCreated( 00168 *(reinterpret_cast<UInt32 *>(pTmp))); 00169 00170 pTmp += sizeof(UInt32); 00171 00172 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00173 00174 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00175 { 00176 pTmp = 00177 reinterpret_cast<UInt8 *>(new (pTmp) ObjectType(*prototypeP)); 00178 00179 pTmp += sizeof(ObjectType); 00180 } 00181 00182 result->onCreate(prototypeP); 00183 00184 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00185 { 00186 aObject[i].onCreateAspect(aObject, prototypeP); 00187 } 00188 00189 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00190 00191 fprintf(stderr, "GV_MEM_FC_DBG : (%u) cc (%p|%u)\n", 00192 Thread::getAspect(), 00193 result._storeP, 00194 // ObjectType::getClassType().getCName(), 00195 ObjectType::getClassType().getId()); 00196 #endif 00197 00198 #ifdef OSG_DEBUG_TYPED_FCPTR 00199 result.updateTypedStore(); 00200 #endif 00201 }
| void osg::FieldContainer::newPtr | ( | ObjectPtrT & | result | ) | [inline, static, protected, inherited] |
Definition at line 204 of file OSGFieldContainerImpl.inl.
References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().
00205 { 00206 typedef typename ObjectPtrT::StoredObjectType ObjectType; 00207 00208 UInt8 *pTmp; 00209 00210 result._containerSize = sizeof(ObjectType); 00211 00212 pTmp = 00213 static_cast<UInt8 *>(operator new( 00214 sizeof(Int32) + // ReferenceCount 00215 sizeof(UInt32) + // ContainerId 00216 sizeof(ObjectType) * ThreadManager::getNumAspects())); 00217 00218 *(reinterpret_cast<Int32 *>(pTmp)) = 0; 00219 00220 pTmp += sizeof(Int32); 00221 00222 result._storeP = (pTmp + sizeof(UInt32)); 00223 00224 #ifdef OSG_DEBUG_FCPTR 00225 result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP); 00226 #endif 00227 00228 *(reinterpret_cast<UInt32 *>(pTmp)) = 00229 FieldContainerFactory::the()->registerFieldContainer(result); 00230 00231 Thread::getCurrentChangeList()->addCreated( 00232 *(reinterpret_cast<UInt32 *>(pTmp))); 00233 00234 pTmp += sizeof(UInt32); 00235 00236 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00237 00238 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00239 { 00240 pTmp = reinterpret_cast<UInt8 *>(new (pTmp) ObjectType()); 00241 00242 pTmp += sizeof(ObjectType); 00243 } 00244 00245 result->onCreate(); 00246 00247 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00248 { 00249 aObject[i].onCreateAspect(aObject); 00250 } 00251 00252 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00253 fprintf(stderr, "GV_MEM_FC_DBG : (%u) c (%p|%u)\n", 00254 Thread::getAspect(), 00255 result._storeP, 00256 // ObjectType::getClassType().getCName(), 00257 ObjectType::getClassType().getId()); 00258 #endif 00259 00260 #ifdef OSG_DEBUG_TYPED_FCPTR 00261 result.updateTypedStore(); 00262 #endif 00263 }
| void osg::FieldContainer::beginEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
| void osg::FieldContainer::endEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
Definition at line 291 of file OSGFieldContainerImpl.inl.
References osg::endEditCP().
00292 { 00293 FieldContainerPtr tmpPtr(this); 00294 endEditCP(tmpPtr, whichField); 00295 }
| void osg::FieldContainer::onCreate | ( | const FieldContainer * | source = NULL |
) | [inline, protected, inherited] |
Definition at line 318 of file OSGFieldContainerImpl.inl.
Referenced by osg::ShaderParameterChunk::onCreate().
| void osg::FieldContainer::onCreateAspect | ( | const FieldContainer * | aspect0, | |
| const FieldContainer * | source = NULL | |||
| ) | [inline, protected, inherited] |
friend class FieldContainer [friend] |
friend class RenderOptionsBase [friend] |
Definition at line 84 of file OSGRenderOptions.h.
BitVector osg::RenderOptions::_changed [protected] |
Definition at line 73 of file OSGRenderOptions.h.
Referenced by activateOptions(), changed(), and getChanged().
BitVector osg::RenderOptions::_last_changed [protected] |
Definition at line 74 of file OSGRenderOptions.h.
Referenced by activateOptions(), and getLastChanged().
Real32 osg::RenderOptions::_gl_version [protected] |
GLenum osg::RenderOptions::_polygon_mode [protected] |
bool osg::RenderOptions::_backface_culling [protected] |
bool osg::RenderOptions::_two_sided_lighting [protected] |
bool osg::RenderOptions::_spec_tex_lighting [protected] |
const osg::BitVector osg::RenderOptionsBase::StatisticFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::StatisticFieldId)
Definition at line 138 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::PolygonModeFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::PolygonModeFieldId)
Definition at line 139 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::TwoSidedLightingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::TwoSidedLightingFieldId)
Definition at line 140 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::SpecTexLightingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::SpecTexLightingFieldId)
Definition at line 141 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::SortTransFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::SortTransFieldId)
Definition at line 142 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::ZWriteTransFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::ZWriteTransFieldId)
Definition at line 143 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::LocalLightsFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::LocalLightsFieldId)
Definition at line 144 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::CorrectTwoSidedLightingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::CorrectTwoSidedLightingFieldId)
Definition at line 145 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::OcclusionCullingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::OcclusionCullingFieldId)
Definition at line 146 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::OcclusionCullingModeFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::OcclusionCullingModeFieldId)
Definition at line 147 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::OcclusionCullingPixelsFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::OcclusionCullingPixelsFieldId)
Definition at line 148 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::AntialiasingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::AntialiasingFieldId)
Definition at line 149 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::AntialiasingDistanceFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::AntialiasingDistanceFieldId)
Definition at line 150 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::AntialiasingScaleFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::AntialiasingScaleFieldId)
Definition at line 151 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::AntialiasingTriggerFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::AntialiasingTriggerFieldId)
Definition at line 152 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::FrustumCullingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::FrustumCullingFieldId)
Definition at line 153 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::BackfaceCullingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::BackfaceCullingFieldId)
Definition at line 154 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::SmallFeatureCullingFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::SmallFeatureCullingFieldId)
Definition at line 155 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::SmallFeaturePixelsFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::SmallFeaturePixelsFieldId)
Definition at line 156 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::SmallFeatureThresholdFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::SmallFeatureThresholdFieldId)
Definition at line 157 of file OSGRenderOptionsBase.h.
Referenced by activateOptions(), osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::FirstFrameFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << RenderOptionsBase::FirstFrameFieldId)
Definition at line 158 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), and osg::RenderOptionsBase::getBinSize().
const osg::BitVector osg::RenderOptionsBase::MTInfluenceMask [static, inherited] |
Initial value:
(Inherited::MTInfluenceMask) |
(static_cast<BitVector>(0x0) << Inherited::NextFieldId)
Reimplemented from osg::FieldContainer.
Definition at line 161 of file OSGRenderOptionsBase.h.
bool osg::RenderOptionsBase::_sfStatistic [protected, inherited] |
Definition at line 318 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFStatistic(), osg::RenderOptionsBase::getStatistic(), and osg::RenderOptionsBase::setStatistic().
GLenum osg::RenderOptionsBase::_sfPolygonMode [protected, inherited] |
Definition at line 319 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getPolygonMode(), osg::RenderOptionsBase::getSFPolygonMode(), and osg::RenderOptionsBase::setPolygonMode().
bool osg::RenderOptionsBase::_sfTwoSidedLighting [protected, inherited] |
Definition at line 320 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFTwoSidedLighting(), osg::RenderOptionsBase::getTwoSidedLighting(), and osg::RenderOptionsBase::setTwoSidedLighting().
bool osg::RenderOptionsBase::_sfSpecTexLighting [protected, inherited] |
Definition at line 321 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFSpecTexLighting(), osg::RenderOptionsBase::getSpecTexLighting(), and osg::RenderOptionsBase::setSpecTexLighting().
bool osg::RenderOptionsBase::_sfSortTrans [protected, inherited] |
Definition at line 322 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFSortTrans(), osg::RenderOptionsBase::getSortTrans(), and osg::RenderOptionsBase::setSortTrans().
bool osg::RenderOptionsBase::_sfZWriteTrans [protected, inherited] |
Definition at line 323 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFZWriteTrans(), osg::RenderOptionsBase::getZWriteTrans(), and osg::RenderOptionsBase::setZWriteTrans().
bool osg::RenderOptionsBase::_sfLocalLights [protected, inherited] |
Definition at line 324 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getLocalLights(), osg::RenderOptionsBase::getSFLocalLights(), and osg::RenderOptionsBase::setLocalLights().
bool osg::RenderOptionsBase::_sfCorrectTwoSidedLighting [protected, inherited] |
Definition at line 325 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getCorrectTwoSidedLighting(), osg::RenderOptionsBase::getSFCorrectTwoSidedLighting(), and osg::RenderOptionsBase::setCorrectTwoSidedLighting().
bool osg::RenderOptionsBase::_sfOcclusionCulling [protected, inherited] |
Definition at line 326 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getOcclusionCulling(), osg::RenderOptionsBase::getSFOcclusionCulling(), and osg::RenderOptionsBase::setOcclusionCulling().
Int32 osg::RenderOptionsBase::_sfOcclusionCullingMode [protected, inherited] |
OcclusionStopAndWait (1) or OcclusionMultiFrame (2)
Definition at line 327 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getOcclusionCullingMode(), osg::RenderOptionsBase::getSFOcclusionCullingMode(), and osg::RenderOptionsBase::setOcclusionCullingMode().
UInt32 osg::RenderOptionsBase::_sfOcclusionCullingPixels [protected, inherited] |
culls objects with this number of visible pixels default is zero.
Definition at line 328 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getOcclusionCullingPixels(), osg::RenderOptionsBase::getSFOcclusionCullingPixels(), and osg::RenderOptionsBase::setOcclusionCullingPixels().
bool osg::RenderOptionsBase::_sfAntialiasing [protected, inherited] |
Definition at line 329 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getAntialiasing(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFAntialiasing(), and osg::RenderOptionsBase::setAntialiasing().
Real32 osg::RenderOptionsBase::_sfAntialiasingDistance [protected, inherited] |
Definition at line 330 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getAntialiasingDistance(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFAntialiasingDistance(), and osg::RenderOptionsBase::setAntialiasingDistance().
Real32 osg::RenderOptionsBase::_sfAntialiasingScale [protected, inherited] |
Definition at line 331 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getAntialiasingScale(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFAntialiasingScale(), and osg::RenderOptionsBase::setAntialiasingScale().
UInt32 osg::RenderOptionsBase::_sfAntialiasingTrigger [protected, inherited] |
Definition at line 332 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getAntialiasingTrigger(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFAntialiasingTrigger(), and osg::RenderOptionsBase::setAntialiasingTrigger().
bool osg::RenderOptionsBase::_sfFrustumCulling [protected, inherited] |
Definition at line 333 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getFrustumCulling(), osg::RenderOptionsBase::getSFFrustumCulling(), and osg::RenderOptionsBase::setFrustumCulling().
bool osg::RenderOptionsBase::_sfBackfaceCulling [protected, inherited] |
Definition at line 334 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBackfaceCulling(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFBackfaceCulling(), and osg::RenderOptionsBase::setBackfaceCulling().
bool osg::RenderOptionsBase::_sfSmallFeatureCulling [protected, inherited] |
Definition at line 335 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFSmallFeatureCulling(), osg::RenderOptionsBase::getSmallFeatureCulling(), and osg::RenderOptionsBase::setSmallFeatureCulling().
Real32 osg::RenderOptionsBase::_sfSmallFeaturePixels [protected, inherited] |
Definition at line 336 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFSmallFeaturePixels(), osg::RenderOptionsBase::getSmallFeaturePixels(), and osg::RenderOptionsBase::setSmallFeaturePixels().
UInt32 osg::RenderOptionsBase::_sfSmallFeatureThreshold [protected, inherited] |
Definition at line 337 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getSFSmallFeatureThreshold(), osg::RenderOptionsBase::getSmallFeatureThreshold(), and osg::RenderOptionsBase::setSmallFeatureThreshold().
bool osg::RenderOptionsBase::_sfFirstFrame [protected, inherited] |
Definition at line 338 of file OSGRenderOptionsBase.h.
Referenced by osg::RenderOptionsBase::copyFromBin(), osg::RenderOptionsBase::copyToBin(), osg::RenderOptionsBase::executeSyncImpl(), osg::RenderOptionsBase::getBinSize(), osg::RenderOptionsBase::getFirstFrame(), osg::RenderOptionsBase::getSFFirstFrame(), and osg::RenderOptionsBase::setFirstFrame().
const BitVector Attachment::InternalFieldMask = (1 << Attachment::InternalFieldId) [static, inherited] |
Definition at line 93 of file OSGAttachmentImpl.h.
Referenced by osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::executeSyncImpl(), and osg::Attachment::getBinSize().
const BitVector Attachment::ParentsFieldMask = (1 << Attachment::ParentsFieldId) [static, inherited] |
Definition at line 94 of file OSGAttachmentImpl.h.
Referenced by osg::SharePtrGraphOp::addAttachmentParent(), osg::SharePtrGraphOp::clearAttachmentParent(), osg::SharePtrGraphOp::compareFCs(), osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::executeSyncImpl(), osg::Attachment::getBinSize(), osg::Surface::onDestroy(), osg::Geometry::onDestroy(), osg::Particles::setColors(), osg::Geometry::setColors(), osg::Surface::setControlPoints(), osg::Geometry::setIndices(), osg::Geometry::setLengths(), osg::Particles::setNormals(), osg::Geometry::setNormals(), osg::Particles::setPositions(), osg::Geometry::setPositions(), osg::Geometry::setSecondaryColors(), osg::Particles::setSecPositions(), osg::Geometry::setTexCoords(), osg::Geometry::setTexCoords1(), osg::Geometry::setTexCoords2(), osg::Geometry::setTexCoords3(), osg::Geometry::setTexCoords4(), osg::Geometry::setTexCoords5(), osg::Geometry::setTexCoords6(), osg::Geometry::setTexCoords7(), osg::Surface::setTextureControlPoints(), osg::Geometry::setTypes(), osg::AttachmentContainer::subAttachment(), osg::AttachmentContainer::~AttachmentContainer(), and osg::Particles::~Particles().
SFBool osg::Attachment::_sfInternal [protected, inherited] |
Definition at line 165 of file OSGAttachmentImpl.h.
Referenced by osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::executeSyncImpl(), osg::Attachment::getBinSize(), osg::Attachment::getInternal(), osg::Attachment::getSFInternal(), and osg::Attachment::setInternal().
MFFieldContainerPtr osg::Attachment::_parents [protected, inherited] |
Definition at line 166 of file OSGAttachmentImpl.h.
Referenced by osg::Attachment::addParent(), osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::dump(), osg::Attachment::executeSyncImpl(), osg::Attachment::findParent(), osg::Attachment::getBinSize(), osg::Attachment::getMFParents(), osg::Attachment::getParents(), and osg::Attachment::subParent().
const BitVector osg::FieldContainer::NextFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << NextFieldId)
Definition at line 75 of file OSGFieldContainerImpl.h.
const bool osg::FieldContainer::isNodeCore = false [static, inherited] |
UInt32 osg::FieldContainer::_shares [protected, inherited] |
Definition at line 199 of file OSGFieldContainerImpl.h.
1.5.5