#include <OSGRenderActionBase.h>
Inheritance diagram for osg::RenderActionBase:

Definition at line 53 of file OSGRenderActionBase.h.
|
|
Reimplemented from osg::DrawActionBase. Reimplemented in osg::RenderAction. Definition at line 82 of file OSGRenderActionBase.h. |
|
|
Definition at line 95 of file OSGAction.h. |
|
|
Definition at line 99 of file OSGAction.h. |
|
|
Definition at line 87 of file OSGAction.h. 00088 { 00089 Continue, // continue with my children 00090 Skip, // skip my children 00091 // really needed? Cancel, // skip my brothers, go one step up 00092 Quit // forget it, you're done 00093 };
|
|
|
Definition at line 69 of file OSGRenderActionBase.cpp.
|
|
|
Definition at line 56 of file OSGRenderActionBase.cpp. 00056 : 00057 Inherited() 00058 { 00059 }
|
|
|
Definition at line 61 of file OSGRenderActionBase.cpp. 00061 : 00062 Inherited(source) 00063 { 00064 }
|
|
|
|
|
|
|
Definition at line 267 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_viewport. Referenced by osg::Viewport::draw(), osg::PassiveViewport::draw(), osg::Viewport::render(), and osg::PassiveViewport::render(). 00268 { 00269 _viewport = viewport; 00270 }
|
|
|
|
Definition at line 272 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_camera. Referenced by osg::Viewport::draw(), osg::PassiveViewport::draw(), osg::Viewport::render(), and osg::PassiveViewport::render(). 00273 { 00274 _camera = cam; 00275 }
|
|
|
|
Definition at line 107 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_background. 00108 { 00109 return _background; 00110 }
|
|
|
Definition at line 277 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_background. Referenced by osg::Viewport::draw(), osg::PassiveViewport::draw(), osg::Viewport::render(), and osg::PassiveViewport::render(). 00278 { 00279 _background = background; 00280 }
|
|
|
|
Definition at line 282 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_window. Referenced by osg::Window::drawAllViewports(), osg::Window::renderAllViewports(), and osg::SortFirstWindow::serverRender(). 00283 { 00284 _window = window; 00285 }
|
|
|
Definition at line 149 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_ownStat, osg::DrawActionBase::_statistics, and osg::StatCollector::create(). Referenced by osg::TextureChunk::activate(), osg::TextureChunk::changeFrom(), osg::SpotLight::drawEnter(), osg::PointLight::drawEnter(), osg::DirectionalLight::drawEnter(), osg::Slices::drawPrimitives(), osg::Geometry::drawPrimitives(), osg::RenderAction::isVisible(), osg::DrawAction::isVisible(), osg::RenderAction::pushVisibility(), osg::SpotLight::renderEnter(), osg::PointLight::renderEnter(), osg::DirectionalLight::renderEnter(), osg::RenderAction::start(), osg::DrawActionBase::start(), osg::RenderAction::stop(), and osg::DrawActionBase::stop(). 00150 { 00151 if(_statistics == NULL) 00152 { 00153 _statistics = StatCollector::create(); 00154 _ownStat = true; 00155 } 00156 00157 return _statistics; 00158 }
|
|
|
Definition at line 287 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_ownStat, and osg::DrawActionBase::_statistics. Referenced by osg::SimpleSceneManager::setStatistics(). 00288 { 00289 #if 0 // Altered for last frame time 00290 _statistics = statistics; 00291 _ownStat = false; 00292 #else 00293 if (_ownStat) { 00294 delete _statistics; 00295 } 00296 _statistics = statistics; 00297 _ownStat = false; 00298 #endif 00299 }
|
|
|
Definition at line 125 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_frustumCulling. Referenced by osg::RenderAction::isVisible(), osg::DrawAction::isVisible(), osg::RenderAction::popVisibility(), osg::RenderAction::pushVisibility(), osg::DrawActionBase::selectVisibles(), and osg::DrawActionBase::start(). 00126 { 00127 return _frustumCulling; 00128 }
|
|
|
Definition at line 305 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_frustumCulling. 00306 { 00307 _frustumCulling = frustumCulling; 00308 }
|
|
|
Definition at line 131 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_volumeDrawing. Referenced by osg::RenderAction::pushVisibility(), osg::DrawActionBase::selectVisibles(), and osg::DrawActionBase::stop(). 00132 { 00133 return _volumeDrawing; 00134 }
|
|
|
Definition at line 321 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_volumeDrawing. 00322 { 00323 _volumeDrawing = volumeDrawing; 00324 }
|
|
|
Definition at line 137 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_autoFrustum. Referenced by osg::DrawActionBase::start(). 00138 { 00139 return _autoFrustum; 00140 }
|
|
|
Definition at line 313 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_autoFrustum. 00314 { 00315 _autoFrustum = autoFrustum; 00316 }
|
|
|
Definition at line 143 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_frustum. 00144 { 00145 return _frustum; 00146 }
|
|
|
Definition at line 328 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_frustum. 00329 { 00330 _frustum = frustum; 00331 }
|
|
|
Implemented in osg::DrawAction, and osg::RenderAction. Referenced by osg::Switch::draw(), osg::ProxyGroup::draw(), osg::DistanceLOD::draw(), and osg::DrawActionBase::selectVisibles(). |
|
|
|
Definition at line 161 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_pMaterial. Referenced by osg::DVRVolume::doDraw(), osg::MaterialDrawable::drawActionHandler(), osg::MaterialGroup::drawEnter(), osg::RenderAction::dropFunctor(), osg::RenderAction::dropGeometry(), osg::MaterialDrawable::renderActionHandler(), and osg::MaterialGroup::renderEnter(). 00162 { 00163 return _pMaterial; 00164 }
|
|
|
Definition at line 167 of file OSGDrawActionBase.inl. References osg::DrawActionBase::_pMaterialNode. Referenced by osg::MaterialGroup::drawLeave(), and osg::MaterialGroup::renderLeave(). 00168 { 00169 return _pMaterialNode; 00170 }
|
|
||||||||||||
|
Definition at line 175 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_pMaterial, and osg::DrawActionBase::_pMaterialNode. Referenced by osg::MaterialGroup::drawEnter(), osg::MaterialGroup::drawLeave(), osg::MaterialGroup::renderEnter(), and osg::MaterialGroup::renderLeave(). 00176 { 00177 _pMaterial = pMaterial; 00178 _pMaterialNode = node; 00179 }
|
|
|
|
Definition at line 243 of file OSGDrawActionBase.cpp. References osg::DrawActionBase::_frustum, osg::DrawActionBase::_ownStat, osg::DrawActionBase::_statistics, osg::drawVolume(), osg::StatCollector::getElem(), osg::DrawActionBase::getStatistics(), osg::DrawActionBase::getVolumeDrawing(), and osg::DrawActionBase::statTravTime. Referenced by osg::RenderAction::stop(). 00244 { 00245 if ( getVolumeDrawing() ) 00246 drawVolume( _frustum ); 00247 00248 getStatistics()->getElem(statTravTime)->stop(); 00249 00250 #if 0 // Altered for last frame time 00251 if(_ownStat) 00252 { 00253 delete _statistics; 00254 _statistics = NULL; 00255 } 00256 else 00257 { 00258 _ownStat = false; 00259 } 00260 #endif 00261 00262 return res; 00263 }
|
|
|
Reimplemented in osg::RenderAction. Definition at line 425 of file OSGAction.cpp. Referenced by osg::Action::callStop().
|
|
|
Reimplemented from osg::Action. Implemented in osg::DrawAction, and osg::RenderAction. |
|
|
Reimplemented from osg::Action. Implemented in osg::DrawAction, and osg::RenderAction. |
|
|
Reimplemented in osg::DrawAction, osg::IntersectAction, and osg::VRMLWriteAction. Definition at line 109 of file OSGAction.h.
|
|
|
Reimplemented in osg::DrawAction, osg::IntersectAction, osg::RenderAction, and osg::VRMLWriteAction. Definition at line 176 of file OSGAction.cpp. References osg::Action::_prototype, and osg::Action::Action(). 00177 { 00178 Action * act; 00179 00180 if ( _prototype ) 00181 act = new Action( *_prototype ); 00182 else 00183 act = new Action(); 00184 00185 return act; 00186 }
|
|
|
Definition at line 119 of file OSGAction.cpp. References osg::Action::_prototype. 00120 { 00121 _prototype = proto; 00122 }
|
|