DrawAction class. More...
#include <OSGDrawAction.h>
The draw action class.
Definition at line 74 of file OSGDrawAction.h.
typedef DrawActionBase osg::DrawAction::Inherited [private] |
Reimplemented from osg::DrawActionBase.
Definition at line 182 of file OSGDrawAction.h.
typedef ArgsCollector<Action *> osg::Action::FunctorArgs [inherited] |
Definition at line 95 of file OSGAction.h.
typedef TypedFunctor2Base<ResultE, CPtrRefCallArg<CNodePtr>, FunctorArgs > osg::Action::Functor [inherited] |
Definition at line 99 of file OSGAction.h.
enum osg::Action::ResultE [inherited] |
Definition at line 87 of file OSGAction.h.
| DrawAction::~DrawAction | ( | void | ) | [virtual] |
Definition at line 208 of file OSGDrawAction.cpp.
| DrawAction::DrawAction | ( | void | ) | [protected] |
Definition at line 168 of file OSGDrawAction.cpp.
References _defaultEnterFunctors, _defaultLeaveFunctors, osg::Action::_enterFunctors, and osg::Action::_leaveFunctors.
Referenced by create().
00168 : 00169 Inherited (), 00170 _lightCount(0) 00171 { 00172 if ( _defaultEnterFunctors ) 00173 _enterFunctors = *_defaultEnterFunctors; 00174 00175 if ( _defaultLeaveFunctors ) 00176 _leaveFunctors = *_defaultLeaveFunctors; 00177 }
| DrawAction::DrawAction | ( | const DrawAction & | source | ) | [protected] |
Definition at line 183 of file OSGDrawAction.cpp.
00183 : 00184 Inherited (source), 00185 _lightCount(source._lightCount) 00186 { 00187 }
| static const char* osg::DrawAction::getClassname | ( | void | ) | [inline, static] |
Reimplemented from osg::Action.
Definition at line 90 of file OSGDrawAction.h.
| DrawAction * DrawAction::create | ( | void | ) | [static] |
Reimplemented from osg::Action.
Definition at line 192 of file OSGDrawAction.cpp.
References _prototype, and DrawAction().
00193 { 00194 DrawAction * act; 00195 00196 if ( _prototype ) 00197 act = new DrawAction( *_prototype ); 00198 else 00199 act = new DrawAction(); 00200 00201 return act; 00202 }
| void DrawAction::setPrototype | ( | DrawAction * | proto | ) | [static] |
Reimplemented from osg::Action.
Definition at line 134 of file OSGDrawAction.cpp.
References _prototype.
00135 { 00136 _prototype = proto; 00137 }
| DrawAction * DrawAction::getPrototype | ( | void | ) | [static] |
Reimplemented from osg::Action.
Definition at line 139 of file OSGDrawAction.cpp.
References _prototype.
00140 { 00141 return _prototype; 00142 }
| void DrawAction::registerEnterDefault | ( | const FieldContainerType & | type, | |
| const Action::Functor & | func | |||
| ) | [static] |
Reimplemented from osg::Action.
Definition at line 97 of file OSGDrawAction.cpp.
References osg::Action::_defaultEnterFunction(), _defaultEnterFunctors, osg::TypeBase::getId(), and osg::osgTypedFunctionFunctor2CPtrRef().
Referenced by osg::Transform::initMethod(), osg::Switch::initMethod(), osg::Surface::initMethod(), osg::StateSortingGroup::initMethod(), osg::SpotLight::initMethod(), osg::Slices::initMethod(), osg::ScreenGroup::initMethod(), osg::ProxyGroup::initMethod(), osg::PointLight::initMethod(), osg::Particles::initMethod(), osg::MultiSwitch::initMethod(), osg::MaterialGroup::initMethod(), osg::InverseTransform::initMethod(), osg::Inline::initMethod(), osg::Group::initMethod(), osg::Geometry::initMethod(), osg::Fog::initMethod(), osg::DVRVolume::initMethod(), osg::DistanceLOD::initMethod(), osg::DirectionalLight::initMethod(), osg::ComponentTransform::initMethod(), and osg::Billboard::initMethod().
00099 { 00100 if ( ! _defaultEnterFunctors ) 00101 _defaultEnterFunctors = new std::vector<Action::Functor>; 00102 00103 while(type.getId() >= _defaultEnterFunctors->size()) 00104 { 00105 _defaultEnterFunctors->push_back( 00106 osgTypedFunctionFunctor2CPtrRef< 00107 ResultE, 00108 CNodePtr, 00109 Action * >(&Action::_defaultEnterFunction)); 00110 } 00111 00112 (*_defaultEnterFunctors)[ type.getId() ] = func; 00113 }
| void DrawAction::registerLeaveDefault | ( | const FieldContainerType & | type, | |
| const Action::Functor & | func | |||
| ) | [static] |
Reimplemented from osg::Action.
Definition at line 115 of file OSGDrawAction.cpp.
References osg::Action::_defaultLeaveFunction(), _defaultLeaveFunctors, osg::TypeBase::getId(), and osg::osgTypedFunctionFunctor2CPtrRef().
Referenced by osg::Transform::initMethod(), osg::Surface::initMethod(), osg::StateSortingGroup::initMethod(), osg::SpotLight::initMethod(), osg::Slices::initMethod(), osg::ScreenGroup::initMethod(), osg::PointLight::initMethod(), osg::Particles::initMethod(), osg::MaterialGroup::initMethod(), osg::InverseTransform::initMethod(), osg::Inline::initMethod(), osg::Group::initMethod(), osg::Geometry::initMethod(), osg::Fog::initMethod(), osg::DirectionalLight::initMethod(), osg::ComponentTransform::initMethod(), and osg::Billboard::initMethod().
00117 { 00118 if ( ! _defaultLeaveFunctors ) 00119 _defaultLeaveFunctors = new std::vector<Action::Functor>; 00120 00121 while(type.getId() >= _defaultLeaveFunctors->size()) 00122 { 00123 _defaultLeaveFunctors->push_back( 00124 osgTypedFunctionFunctor2CPtrRef< 00125 ResultE, 00126 CNodePtr, 00127 Action * >(&Action::_defaultLeaveFunction)); 00128 } 00129 00130 (*_defaultLeaveFunctors)[ type.getId() ] = func; 00131 }
| UInt32 osg::DrawAction::getLightCount | ( | void | ) | const [inline] |
Destructor
Definition at line 105 of file OSGDrawAction.inl.
References _lightCount.
Referenced by osg::SpotLight::drawEnter(), osg::PointLight::drawEnter(), osg::Light::drawEnter(), osg::DirectionalLight::drawEnter(), and osg::Light::drawLeave().
00106 { 00107 return _lightCount; 00108 }
| void osg::DrawAction::incLightCount | ( | void | ) | [inline] |
Definition at line 111 of file OSGDrawAction.inl.
References _lightCount.
Referenced by osg::Light::drawEnter().
00112 { 00113 ++_lightCount; 00114 }
| void osg::DrawAction::decLightCount | ( | void | ) | [inline] |
Definition at line 117 of file OSGDrawAction.inl.
References _lightCount.
Referenced by osg::Light::drawLeave().
00118 { 00119 --_lightCount; 00120 }
| Action::ResultE DrawAction::start | ( | void | ) | [virtual] |
Reimplemented from osg::DrawActionBase.
Definition at line 217 of file OSGDrawAction.cpp.
References _lightCount, osg::Action::Continue, and osg::DrawActionBase::start().
00218 { 00219 Inherited::start(); 00220 00221 _lightCount = 0; 00222 00223 return Continue; 00224 }
| bool DrawAction::isVisible | ( | Node * | node | ) | [virtual] |
Implements osg::DrawActionBase.
Definition at line 226 of file OSGDrawAction.cpp.
References osg::DrawActionBase::_frustum, osg::StatCollector::getElem(), osg::DrawActionBase::getFrustumCulling(), osg::DrawActionBase::getStatistics(), osg::Node::getWorldVolume(), osg::FrustumVolume::intersect(), osg::DrawActionBase::statCulledNodes, and osg::DrawActionBase::statCullTestedNodes.
00227 { 00228 if ( getFrustumCulling() == false ) 00229 return true; 00230 00231 getStatistics()->getElem(statCullTestedNodes)->inc(); 00232 00233 #ifndef OSG_2_PREP 00234 DynamicVolume vol; 00235 #else 00236 BoxVolume vol; 00237 #endif 00238 node->getWorldVolume( vol ); 00239 00240 if ( _frustum.intersect( vol ) ) 00241 { 00242 // fprintf(stderr,"%p: node 0x%p vis\n", Thread::getCurrent(), node); 00243 return true; 00244 } 00245 00246 getStatistics()->getElem(statCulledNodes)->inc(); 00247 00248 // fprintf(stderr,"%p: node 0x%p invis\n", Thread::getCurrent(), node); 00249 // _frustum.dump(); 00250 return false; 00251 }
| bool DrawAction::operator< | ( | const DrawAction & | other | ) | const |
assignment
Definition at line 282 of file OSGDrawAction.cpp.
| bool DrawAction::operator== | ( | const DrawAction & | other | ) | const |
Definition at line 290 of file OSGDrawAction.cpp.
| bool DrawAction::operator!= | ( | const DrawAction & | other | ) | const |
Definition at line 298 of file OSGDrawAction.cpp.
| std::vector< DrawAction::Functor > * DrawAction::getDefaultEnterFunctors | ( | void | ) | [protected, virtual] |
Implements osg::DrawActionBase.
Definition at line 309 of file OSGDrawAction.cpp.
References _defaultEnterFunctors.
00310 { 00311 return _defaultEnterFunctors; 00312 }
| std::vector< DrawAction::Functor > * DrawAction::getDefaultLeaveFunctors | ( | void | ) | [protected, virtual] |
Implements osg::DrawActionBase.
Definition at line 314 of file OSGDrawAction.cpp.
References _defaultLeaveFunctors.
00315 { 00316 return _defaultLeaveFunctors; 00317 }
| DrawAction& osg::DrawAction::operator= | ( | const DrawAction & | source | ) | [private] |
Reimplemented from osg::DrawActionBase.
| Viewport * osg::DrawActionBase::getViewport | ( | void | ) | const [inline, inherited] |
Definition at line 119 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_viewport.
Referenced by osg::TextureTransformChunk::activate(), osg::TexGenChunk::activate(), osg::ScreenGroup::calcMatrix(), osg::TextureTransformChunk::changeFrom(), osg::TexGenChunk::changeFrom(), osg::DVRIsoShader::deactivate_ColorMatrixShading(), osg::RenderAction::deleteOcclusionQueriesPool(), osg::DVRIsoShader::getCoveredScreenRect(), osg::DrawActionBase::start(), osg::SHLChunk::updateCameraOrientation(), osg::SHLChunk::updateCameraPosition(), osg::SHLChunk::updateInvViewMatrix(), osg::SHLChunk::updateInvWorldMatrix(), osg::SHLChunk::updateNearFar(), osg::SHLChunk::updateStereoLeftEye(), osg::SHLChunk::updateTransInvWorldMatrix(), osg::SHLChunk::updateViewMatrix(), and osg::SHLChunk::updateWorldMatrix().
00120 { 00121 return _viewport; 00122 }
| void DrawActionBase::setViewport | ( | Viewport * | viewport | ) | [inherited] |
Definition at line 274 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_viewport.
Referenced by osg::Viewport::draw(), osg::Viewport::render(), and osg::FBOViewport::render().
00275 { 00276 _viewport = viewport; 00277 }
| Camera * osg::DrawActionBase::getCamera | ( | void | ) | const [inline, inherited] |
Definition at line 95 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_camera.
Referenced by osg::TextureTransformChunk::activate(), osg::TexGenChunk::activate(), osg::ScreenGroup::calcMatrix(), osg::TextureTransformChunk::changeFrom(), osg::TexGenChunk::changeFrom(), osg::SkyBackground::clear(), osg::PolygonBackground::clear(), osg::GradientBackground::clear(), osg::PolygonForeground::draw(), drawViewerObjects< posTrait, colTrait, sizeTrait, geoTrait >::draw(), drawViewerObjects< posTrait, colTrait, sizeTrait, geoTrait >::drawIndexed(), osg::DVRIsoShader::getCoveredScreenRect(), osg::DrawActionBase::start(), osg::SHLChunk::updateCameraOrientation(), osg::SHLChunk::updateCameraPosition(), osg::SHLChunk::updateInvViewMatrix(), osg::SHLChunk::updateInvWorldMatrix(), osg::SHLChunk::updateNearFar(), osg::SHLChunk::updateStereoLeftEye(), osg::SHLChunk::updateTransInvWorldMatrix(), osg::SHLChunk::updateViewMatrix(), and osg::SHLChunk::updateWorldMatrix().
00096 { 00097 return _camera; 00098 }
| void DrawActionBase::setCamera | ( | Camera * | cam | ) | [inherited] |
Definition at line 279 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_camera.
Referenced by osg::Viewport::draw(), osg::Viewport::render(), and osg::FBOViewport::render().
00280 { 00281 _camera = cam; 00282 }
| const Matrix & osg::DrawActionBase::getCameraToWorld | ( | void | ) | [inline, inherited] |
Definition at line 101 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_mCameraToWorld.
Referenced by osg::ClipPlaneChunk::activate(), osg::DistanceLOD::calcDistance(), osg::Particles::calcIndex(), osg::Billboard::calcMatrix(), osg::ClipPlaneChunk::changeFrom(), drawViewerQuads< posTrait, colTrait, texTrait, sizeTrait >::draw(), drawViewDirQuads< posTrait, colTrait, texTrait, sizeTrait >::draw(), osg::DVRVolume::draw(), drawViewerQuads< posTrait, colTrait, texTrait, sizeTrait >::drawIndexed(), drawViewDirQuads< posTrait, colTrait, texTrait, sizeTrait >::drawIndexed(), osg::Slices::drawPrimitives(), osg::Particles::drawPrimitives(), osg::DVRIsoShader::getCoveredScreenRect(), osg::Slicer::getSlicingDirection(), and osg::Slicer::rotateToLocal().
00102 { 00103 return _mCameraToWorld; 00104 }
| Background * osg::DrawActionBase::getBackground | ( | void | ) | const [inline, inherited] |
Definition at line 107 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_background.
00108 { 00109 return _background; 00110 }
| void DrawActionBase::setBackground | ( | Background * | background | ) | [inherited] |
Definition at line 284 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_background.
Referenced by osg::Viewport::draw(), osg::Viewport::render(), and osg::FBOViewport::render().
00285 { 00286 _background = background; 00287 }
| Window * osg::DrawActionBase::getWindow | ( | void | ) | const [inline, inherited] |
Definition at line 113 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_window.
Referenced by osg::TextureTransformChunk::activate(), osg::TextureChunk::activate(), osg::TexGenChunk::activate(), osg::SHLParameterChunk::activate(), osg::SHLChunk::activate(), osg::RegisterCombinersChunk::activate(), osg::ProgramChunk::activate(), osg::PointChunk::activate(), osg::DVRSimpleLUTShader::activate(), osg::CubeTextureChunk::activate(), osg::BlendChunk::activate(), osg::DVRIsoShader::activate_NVRegisterCombinerShading(), osg::DVRSimpleLUTShader::brickActivate(), osg::TextureTransformChunk::changeFrom(), osg::TextureChunk::changeFrom(), osg::TexGenChunk::changeFrom(), osg::SHLParameterChunk::changeFrom(), osg::SHLChunk::changeFrom(), osg::ProgramChunk::changeFrom(), osg::PointChunk::changeFrom(), osg::CubeTextureChunk::changeFrom(), osg::BlendChunk::changeFrom(), osg::TextureGrabBackground::clear(), osg::SkyBackground::clear(), osg::TextureTransformChunk::deactivate(), osg::TextureChunk::deactivate(), osg::TexGenChunk::deactivate(), osg::SHLChunk::deactivate(), osg::ProgramChunk::deactivate(), osg::PointChunk::deactivate(), osg::DVRSimpleLUTShader::deactivate(), osg::CubeTextureChunk::deactivate(), osg::BlendChunk::deactivate(), osg::TextureGrabForeground::draw(), drawShaderStrips< posTrait, secPosTrait, colTrait, texTrait, sizeTrait, normalTrait >::draw(), drawShaderQuads< posTrait, secPosTrait, colTrait, texTrait, sizeTrait, normalTrait >::draw(), osg::DVRVolume::draw(), osg::RenderAction::drawDepth(), drawShaderStrips< posTrait, secPosTrait, colTrait, texTrait, sizeTrait, normalTrait >::drawIndexed(), drawShaderQuads< posTrait, secPosTrait, colTrait, texTrait, sizeTrait, normalTrait >::drawIndexed(), osg::Surface::drawPrimitives(), osg::Slices::drawPrimitives(), osg::Geometry::drawPrimitives(), osg::DVRMtexLUTShader::initCombiners(), osg::DVRIsoShader::initCombiners_Diffuse2Combiners(), osg::DVRIsoShader::initCombiners_DiffuseMultiCombiners(), osg::DVRIsoShader::initCombiners_IsoSurfaceDiffuse(), osg::DVRIsoShader::initCombiners_IsoSurfaceSpecular(), osg::DVRIsoShader::initCombiners_Specular2Combiners(), osg::DVRIsoShader::initCombiners_SpecularMultiCombiners(), osg::DVRSimpleLUTShader::initialize(), osg::DVRMtexLUTShader::initialize(), osg::DVRVolume::initializeClipObjects(), osg::DVRSimpleLUTShader::isModeSupported(), osg::DVRIsoShader::isModeSupported(), osg::BrickSet::reloadBrickTextures(), osg::FBOViewport::render(), osg::DVRMtexLUTShader::renderSlice(), osg::DVRIsoShader::renderSlice_NVRegisterCombinerShading(), osg::DVRSimpleLUTShader::setupAlphaCorrectionRegisterCombiners(), osg::DVRIsoShader::setupCombinerParametersDiffuse(), osg::DVRIsoShader::setupCombinerParametersSpecular(), osg::SHLChunk::update(), osg::SHLChunk::updateActiveLightsCount(), osg::SHLChunk::updateActiveLightsMask(), osg::SHLChunk::updateCameraOrientation(), osg::SHLChunk::updateCameraPosition(), osg::SHLChunk::updateClusterId(), osg::SHLChunk::updateInvViewMatrix(), osg::SHLChunk::updateInvWorldMatrix(), osg::SHLChunk::updateLight0Active(), osg::SHLChunk::updateLight1Active(), osg::SHLChunk::updateLight2Active(), osg::SHLChunk::updateLight3Active(), osg::SHLChunk::updateLight4Active(), osg::SHLChunk::updateLight5Active(), osg::SHLChunk::updateLight6Active(), osg::SHLChunk::updateLight7Active(), osg::SHLChunk::updateNearFar(), osg::SHLChunk::updateOSGParameters(), osg::SHLChunk::updateStereoLeftEye(), osg::SHLChunk::updateTransInvWorldMatrix(), osg::SHLChunk::updateViewMatrix(), and osg::SHLChunk::updateWorldMatrix().
00114 { 00115 return _window; 00116 }
| void DrawActionBase::setWindow | ( | Window * | window | ) | [inherited] |
Definition at line 289 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_window.
Referenced by osg::Window::drawAllViewports(), osg::Window::renderAllViewports(), osg::SortFirstWindow::serverRender(), and osg::ClusterWindow::serverRender().
00290 { 00291 _window = window; 00292 }
| StatCollector * osg::DrawActionBase::getStatistics | ( | void | ) | [inline, inherited] |
Definition at line 149 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_ownStat, osg::DrawActionBase::_statistics, and osg::Action::create().
Referenced by osg::TextureChunk::activate(), osg::CubeTextureChunk::activate(), osg::TextureChunk::changeFrom(), osg::CubeTextureChunk::changeFrom(), osg::SpotLight::drawEnter(), osg::PointLight::drawEnter(), osg::DirectionalLight::drawEnter(), osg::Slices::drawPrimitives(), osg::Geometry::drawPrimitives(), osg::RenderAction::isOccluded(), osg::RenderAction::isVisible(), 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 }
| void DrawActionBase::setStatistics | ( | StatCollector * | stat | ) | [inherited] |
Definition at line 294 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_ownStat, and osg::DrawActionBase::_statistics.
Referenced by osg::SimpleSceneManager::setStatistics().
00295 { 00296 #if 0 // Altered for last frame time 00297 _statistics = statistics; 00298 _ownStat = false; 00299 #else 00300 if (_ownStat) { 00301 delete _statistics; 00302 } 00303 _statistics = statistics; 00304 _ownStat = false; 00305 #endif 00306 }
| bool osg::DrawActionBase::hasOwnStat | ( | void | ) | [inline, inherited] |
Definition at line 160 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_ownStat.
00161 { 00162 return _ownStat; 00163 }
| bool osg::DrawActionBase::getFrustumCulling | ( | void | ) | const [inline, inherited] |
Definition at line 125 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_frustumCulling.
Referenced by osg::RenderAction::isVisible(), isVisible(), osg::RenderAction::popVisibility(), osg::RenderAction::pushVisibility(), osg::DrawActionBase::selectVisibles(), and osg::DrawActionBase::start().
00126 { 00127 return _frustumCulling; 00128 }
| void DrawActionBase::setFrustumCulling | ( | bool | val = true |
) | [inherited] |
Definition at line 312 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_frustumCulling.
Referenced by osg::RenderOptions::activateOptions().
00313 { 00314 _frustumCulling = frustumCulling; 00315 }
| bool osg::DrawActionBase::getVolumeDrawing | ( | void | ) | const [inline, inherited] |
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 }
| void DrawActionBase::setVolumeDrawing | ( | bool | val = false |
) | [inherited] |
Definition at line 328 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_volumeDrawing.
00329 { 00330 _volumeDrawing = volumeDrawing; 00331 }
| bool osg::DrawActionBase::getAutoFrustum | ( | void | ) | const [inline, inherited] |
Definition at line 137 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_autoFrustum.
Referenced by osg::DrawActionBase::start().
00138 { 00139 return _autoFrustum; 00140 }
| void DrawActionBase::setAutoFrustum | ( | bool | val = true |
) | [inherited] |
Definition at line 320 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_autoFrustum.
00321 { 00322 _autoFrustum = autoFrustum; 00323 }
| const FrustumVolume & osg::DrawActionBase::getFrustum | ( | void | ) | const [inline, inherited] |
Definition at line 143 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_frustum.
00144 { 00145 return _frustum; 00146 }
| void DrawActionBase::setFrustum | ( | FrustumVolume & | frust | ) | [inherited] |
Definition at line 335 of file OSGDrawActionBase.cpp.
References osg::DrawActionBase::_frustum.
00336 { 00337 _frustum = frustum; 00338 }
| UInt32 DrawActionBase::selectVisibles | ( | void | ) | [inherited] |
Definition at line 341 of file OSGDrawActionBase.cpp.
References osg::Action::addNode(), osg::dropVolume(), osg::getCPtr(), osg::DrawActionBase::getFrustumCulling(), osg::Action::getNNodes(), osg::Action::getNode(), osg::DrawActionBase::getVolumeDrawing(), osg::DrawActionBase::isVisible(), osg::Color3< ValueTypeT >::setValuesRGB(), and osg::Action::useNodeList().
Referenced by osg::Switch::draw(), osg::MultiSwitch::draw(), osg::MaterialDrawable::drawActionEnterHandler(), osg::Transform::drawEnter(), osg::MaterialGroup::drawEnter(), osg::Light::drawEnter(), osg::Inline::drawEnter(), osg::Group::drawEnter(), osg::MaterialDrawable::renderActionEnterHandler(), osg::Light::renderEnter(), osg::Group::renderEnter(), osg::Fog::renderEnter(), and osg::ClipPlane::renderEnter().
00342 { 00343 if(getFrustumCulling() == false) 00344 return getNNodes(); 00345 00346 useNodeList(); 00347 00348 Color3f col; 00349 00350 UInt32 count = 0; 00351 for ( UInt32 i = 0; i < getNNodes(); i++ ) 00352 { 00353 if ( isVisible( getCPtr(getNode(i)) ) ) 00354 { 00355 col.setValuesRGB(0,1,0); 00356 addNode( getNode(i) ); 00357 ++count; 00358 } 00359 else 00360 col.setValuesRGB(1,0,0); 00361 00362 if(getVolumeDrawing()) 00363 { 00364 dropVolume(this, getNode(i), col); 00365 } 00366 } 00367 00368 return count; 00369 }
| Material * osg::DrawActionBase::getMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 166 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_pMaterial.
Referenced by osg::DVRVolume::doDraw(), osg::MaterialDrawable::drawActionEnterHandler(), osg::MaterialGroup::drawEnter(), osg::RenderAction::dropFunctor(), osg::RenderAction::dropGeometry(), osg::MaterialDrawable::renderActionEnterHandler(), and osg::MaterialGroup::renderEnter().
00167 { 00168 return _pMaterial; 00169 }
| NodePtr osg::DrawActionBase::getMaterialNode | ( | void | ) | const [inline, inherited] |
Definition at line 172 of file OSGDrawActionBase.inl.
References osg::DrawActionBase::_pMaterialNode.
Referenced by osg::MaterialGroup::drawLeave(), and osg::MaterialGroup::renderLeave().
00173 { 00174 return _pMaterialNode; 00175 }
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 }
| Action::ResultE DrawActionBase::stop | ( | Action::ResultE | res | ) | [virtual, inherited] |
Reimplemented from osg::Action.
Reimplemented in osg::RenderAction.
Definition at line 244 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().
00245 { 00246 if ( getVolumeDrawing() ) 00247 drawVolume( _frustum ); 00248 00249 getStatistics()->getElem(statTravTime)->stop(); 00250 00251 #if 0 // Altered for last frame time 00252 if(_ownStat) 00253 { 00254 delete _statistics; 00255 _statistics = NULL; 00256 } 00257 else 00258 { 00259 _ownStat = false; 00260 } 00261 #else 00262 if(_ownStat) 00263 { 00264 delete _statistics; 00265 _statistics = NULL; 00266 } 00267 #endif 00268 00269 return res; 00270 }
| void Action::registerEnterFunction | ( | const FieldContainerType & | type, | |
| const Functor & | func | |||
| ) | [inherited] |
Definition at line 201 of file OSGAction.cpp.
References osg::Action::_defaultEnterFunction(), osg::Action::_enterFunctors, osg::TypeBase::getId(), and osg::osgTypedFunctionFunctor2CPtrRef().
00203 { 00204 while ( type.getId() >= _enterFunctors.size() ) 00205 { 00206 _enterFunctors.push_back( 00207 osgTypedFunctionFunctor2CPtrRef< 00208 ResultE, 00209 CNodePtr, 00210 Action * >(&Action::_defaultEnterFunction)); 00211 } 00212 00213 _enterFunctors[ type.getId() ] = func; 00214 }
| void Action::registerLeaveFunction | ( | const FieldContainerType & | type, | |
| const Functor & | func | |||
| ) | [inherited] |
Definition at line 216 of file OSGAction.cpp.
References osg::Action::_defaultLeaveFunction(), osg::Action::_leaveFunctors, osg::TypeBase::getId(), and osg::osgTypedFunctionFunctor2CPtrRef().
00218 { 00219 while ( type.getId() >= _leaveFunctors.size() ) 00220 { 00221 _leaveFunctors.push_back( 00222 osgTypedFunctionFunctor2CPtrRef< 00223 ResultE, 00224 CNodePtr, 00225 Action * >(&Action::_defaultLeaveFunction)); 00226 } 00227 00228 _leaveFunctors[ type.getId() ] = func; 00229 }
| Action::ResultE Action::apply | ( | std::vector< NodePtr >::iterator | begin, | |
| std::vector< NodePtr >::iterator | end | |||
| ) | [virtual, inherited] |
Reimplemented in osg::VRMLWriteAction.
Definition at line 235 of file OSGAction.cpp.
References osg::Action::callStart(), osg::Action::callStop(), osg::Action::Continue, osg::NullFC, osg::Action::Quit, osg::Action::recurse(), and SWARNING.
Referenced by osg::VRMLWriteAction::apply(), osg::Action::apply(), osg::Navigator::buttonRelease(), osg::Viewport::draw(), osg::WalkNavigator::forward(), osg::Navigator::getIntersectionPoint(), osg::Viewport::render(), osg::FBOViewport::render(), osg::WalkNavigator::right(), and osg::VRMLWriteAction::write().
00237 { 00238 Action::ResultE res = Continue; 00239 00240 // call the start function and its' returns 00241 if ( ( res = callStart() ) != Continue ) 00242 return res; 00243 00244 // call the given nodes 00245 00246 for ( ; begin != end; begin ++ ) 00247 { 00248 if ( *begin == NullFC ) 00249 { 00250 SWARNING << "apply: encountered NullNode!" << std::endl; 00251 return Quit; 00252 } 00253 else 00254 { 00255 res = recurse( *begin ); 00256 00257 if ( res != Continue ) 00258 break; 00259 } 00260 } 00261 00262 // call the stop function and its' returns 00263 res = callStop( res ); 00264 00265 return res; 00266 }
| Action::ResultE Action::apply | ( | NodePtr | node | ) | [virtual, inherited] |
Reimplemented in osg::VRMLWriteAction.
Definition at line 268 of file OSGAction.cpp.
References osg::Action::apply(), osg::NullFC, osg::Action::Quit, and SWARNING.
| NodePtr osg::Action::getActNode | ( | void | ) | [inline, inherited] |
Definition at line 55 of file OSGAction.inl.
References osg::Action::_actNode.
Referenced by osg::ClipPlaneChunk::activate(), osg::Particles::calcIndex(), osg::ClipPlaneChunk::changeFrom(), osg::ProxyGroup::draw(), drawViewerObjects< posTrait, colTrait, sizeTrait, geoTrait >::draw(), drawViewerQuads< posTrait, colTrait, texTrait, sizeTrait >::draw(), drawViewDirQuads< posTrait, colTrait, texTrait, sizeTrait >::draw(), osg::DVRVolume::draw(), osg::DistanceLOD::draw(), osg::ScreenGroup::drawEnter(), osg::MaterialGroup::drawEnter(), osg::Light::drawEnter(), osg::InverseTransform::drawEnter(), osg::Billboard::drawEnter(), drawViewerObjects< posTrait, colTrait, sizeTrait, geoTrait >::drawIndexed(), drawViewerQuads< posTrait, colTrait, texTrait, sizeTrait >::drawIndexed(), drawViewDirQuads< posTrait, colTrait, texTrait, sizeTrait >::drawIndexed(), osg::MaterialGroup::drawLeave(), osg::Slices::drawPrimitives(), osg::Particles::drawPrimitives(), osg::RenderAction::dropFunctor(), osg::RenderAction::dropGeometry(), osg::DVRIsoShader::getCoveredScreenRect(), osg::Slicer::getSlicingDirection(), osg::Group::intersect(), osg::Geometry::intersect(), osg::DVRVolume::intersect(), osg::RenderAction::pushVisibility(), osg::MaterialGroup::renderEnter(), osg::MaterialGroup::renderLeave(), and osg::Slicer::rotateToLocal().
00056 { 00057 return _actNode; 00058 }
| UInt32 osg::Action::getNNodes | ( | void | ) | const [inline, inherited] |
Definition at line 92 of file OSGAction.inl.
References osg::Action::_actList, and osg::Action::_actNode.
Referenced by osg::Switch::draw(), osg::MultiSwitch::draw(), osg::DistanceLOD::draw(), osg::Switch::intersect(), osg::MultiSwitch::intersect(), and osg::DrawActionBase::selectVisibles().
| const NodePtr osg::Action::getNode | ( | int | index | ) | [inline, inherited] |
Definition at line 67 of file OSGAction.inl.
References osg::Action::_actList, and osg::Action::_actNode.
Referenced by osg::Switch::draw(), osg::MultiSwitch::draw(), osg::DistanceLOD::draw(), osg::Switch::intersect(), osg::MultiSwitch::intersect(), and osg::DrawActionBase::selectVisibles().
| void osg::Action::addNode | ( | NodePtr | node | ) | [inline, inherited] |
Definition at line 80 of file OSGAction.inl.
References osg::Action::_newList.
Referenced by osg::Switch::draw(), osg::ProxyGroup::draw(), osg::MultiSwitch::draw(), osg::DistanceLOD::draw(), osg::Switch::intersect(), osg::MultiSwitch::intersect(), and osg::DrawActionBase::selectVisibles().
00081 { 00082 _newList.push_back( node ); 00083 }
| void osg::Action::useNodeList | ( | void | ) | [inline, inherited] |
Definition at line 86 of file OSGAction.inl.
References osg::Action::_useNewList.
Referenced by osg::Switch::draw(), osg::ProxyGroup::draw(), osg::MultiSwitch::draw(), osg::DistanceLOD::draw(), osg::RenderAction::pushVisibility(), and osg::DrawActionBase::selectVisibles().
00087 { 00088 _useNewList = true; 00089 }
| Action::ResultE osg::Action::callEnter | ( | NodePtr | node | ) | [inline, inherited] |
Definition at line 124 of file OSGAction.inl.
References osg::Action::_defaultEnterFunction(), osg::Action::_enterFunctors, osg::NodePtr::getCore(), osg::Action::getDefaultEnterFunctors(), osg::TypeBase::getId(), and osg::FieldContainer::getType().
Referenced by osg::Action::recurse().
00125 { 00126 ResultE result; 00127 00128 UInt32 uiFunctorIndex = node->getCore()->getType().getId(); 00129 CNodePtr cnode(node); 00130 00131 if ( uiFunctorIndex < _enterFunctors.size() ) 00132 result = _enterFunctors[uiFunctorIndex].call(cnode,this); 00133 else if ( getDefaultEnterFunctors() && 00134 uiFunctorIndex < getDefaultEnterFunctors()->size() ) 00135 { 00136 // field container registered method after this action was instantiated 00137 // copy the new functors from default vector 00138 std::vector<Functor> *defaultEnter = getDefaultEnterFunctors(); 00139 00140 while ( defaultEnter->size() > _enterFunctors.size() ) 00141 { 00142 _enterFunctors.push_back( (*defaultEnter)[_enterFunctors.size()] ); 00143 } 00144 result = _enterFunctors[uiFunctorIndex].call(cnode,this); 00145 } 00146 else // unknown field container 00147 result = _defaultEnterFunction(cnode,this); 00148 00149 return result; 00150 }
| Action::ResultE osg::Action::callLeave | ( | NodePtr | node | ) | [inline, inherited] |
Definition at line 153 of file OSGAction.inl.
References osg::Action::_defaultLeaveFunction(), osg::Action::_leaveFunctors, osg::NodePtr::getCore(), osg::Action::getDefaultLeaveFunctors(), osg::TypeBase::getId(), and osg::FieldContainer::getType().
Referenced by osg::Action::recurse().
00154 { 00155 ResultE result; 00156 00157 UInt32 uiFunctorIndex = node->getCore()->getType().getId(); 00158 CNodePtr cnode(node); 00159 00160 if ( uiFunctorIndex < _leaveFunctors.size() ) 00161 result = _leaveFunctors[uiFunctorIndex].call(cnode,this); 00162 else if ( getDefaultLeaveFunctors() && 00163 uiFunctorIndex < getDefaultLeaveFunctors()->size() ) 00164 { 00165 // field container registered method after this action was instantiated 00166 // copy the new functors from default vector 00167 std::vector<Functor> *defaultLeave = getDefaultLeaveFunctors(); 00168 00169 while ( defaultLeave->size() > _leaveFunctors.size() ) 00170 { 00171 _leaveFunctors.push_back( (*defaultLeave)[_leaveFunctors.size()] ); 00172 } 00173 result = _leaveFunctors[uiFunctorIndex].call(cnode,this); 00174 } 00175 else // unknown field container 00176 result = _defaultLeaveFunction(cnode,this); 00177 00178 return result; 00179 }
| UInt32 osg::Action::getTravMask | ( | void | ) | const [inline, inherited] |
Definition at line 106 of file OSGAction.inl.
References osg::Action::_travMask.
Referenced by osg::Action::recurse().
00107 { 00108 return _travMask; 00109 }
| void osg::Action::setTravMask | ( | UInt32 | val | ) | [inline, inherited] |
Definition at line 112 of file OSGAction.inl.
References osg::Action::_travMask.
Referenced by osg::Viewport::draw(), osg::Viewport::render(), and osg::FBOViewport::render().
00113 { 00114 _travMask = val; 00115 }
| bool Action::operator< | ( | const Action & | other | ) | [inherited] |
Definition at line 462 of file OSGAction.cpp.
| bool Action::operator== | ( | const Action & | other | ) | [inherited] |
Definition at line 470 of file OSGAction.cpp.
| bool Action::operator!= | ( | const Action & | other | ) | [inherited] |
Definition at line 478 of file OSGAction.cpp.
| Action::ResultE Action::recurse | ( | NodePtr | node | ) | [protected, inherited] |
Definition at line 288 of file OSGAction.cpp.
References osg::Action::_actList, osg::Action::_actNode, osg::Action::_newList, osg::Action::_useNewList, osg::Action::callEnter(), osg::Action::callLeave(), osg::Action::callNewList(), osg::Action::Continue, osg::NodePtr::getCore(), osg::Action::getTravMask(), osg::NullFC, osg::Action::Quit, osg::Action::Skip, and SWARNING.
Referenced by osg::Action::apply(), and osg::Action::callNewList().
00289 { 00290 if ( node == NullFC ) 00291 return Continue; 00292 00293 if((node->getTravMask() & getTravMask()) == 0) 00294 return Continue; 00295 00296 if(node->getOcclusionMask() & 1) 00297 return Continue; 00298 00299 NodeCorePtr core = node->getCore(); 00300 00301 if ( core == NullFC ) 00302 { 00303 SWARNING << "recurse: core is Null, don't know what to do!" 00304 << std::endl; 00305 return Quit; 00306 } 00307 00308 Action::ResultE result; 00309 00310 _actList = NULL; 00311 _actNode = node; 00312 _newList.clear(); 00313 _useNewList = false; 00314 00315 result = callEnter( node ); 00316 00317 if ( result != Continue ) 00318 { 00319 if ( result == Skip ) 00320 return Continue; 00321 00322 return result; 00323 } 00324 00325 if ( ! _newList.empty() ) 00326 { 00327 result = callNewList(); 00328 } 00329 else if ( ! _useNewList ) // new list is empty, but not used? 00330 { 00331 std::vector<NodePtr>::const_iterator it = 00332 node->getMFChildren()->begin(); 00333 std::vector<NodePtr>::const_iterator en = 00334 node->getMFChildren()->end(); 00335 00336 for ( ; it != en; ++it ) 00337 { 00338 result = recurse( *it ); 00339 00340 if ( result != Continue ) 00341 break; 00342 } 00343 } 00344 00345 _actNode = node; 00346 if ( result == Continue ) 00347 result = callLeave( node ); 00348 else 00349 callLeave( node ); 00350 00351 if ( result == Skip ) 00352 return Continue; 00353 00354 return result; 00355 }
| Action::ResultE Action::callNewList | ( | void | ) | [protected, inherited] |
Definition at line 358 of file OSGAction.cpp.
References osg::Action::_actList, osg::Action::_newList, osg::Action::Continue, and osg::Action::recurse().
Referenced by osg::Action::callStart(), osg::Action::callStop(), and osg::Action::recurse().
00359 { 00360 Action::ResultE result = Continue; 00361 00362 // need to make a copy, because the one in the action is cleared 00363 00364 std::vector<NodePtr> nodeList; 00365 nodeList.swap(_newList); 00366 00367 std::vector<NodePtr>::iterator it = nodeList.begin(); 00368 std::vector<NodePtr>::iterator en = nodeList.end(); 00369 00370 _actList = &nodeList; 00371 00372 for ( ; it != en; ++it ) 00373 { 00374 result = recurse(*it); 00375 00376 if(result != Continue) 00377 break; 00378 } 00379 00380 return result; 00381 }
| Action::ResultE Action::_defaultEnterFunction | ( | CNodePtr & | node, | |
| Action * | action | |||
| ) | [static, protected, inherited] |
Definition at line 505 of file OSGAction.cpp.
References osg::Action::Continue.
Referenced by osg::Action::callEnter(), osg::VRMLWriteAction::registerEnterDefault(), osg::RenderAction::registerEnterDefault(), osg::IntersectAction::registerEnterDefault(), registerEnterDefault(), osg::Action::registerEnterDefault(), and osg::Action::registerEnterFunction().
00507 { 00508 return Continue; 00509 }
| Action::ResultE Action::_defaultLeaveFunction | ( | CNodePtr & | node, | |
| Action * | action | |||
| ) | [static, protected, inherited] |
Definition at line 511 of file OSGAction.cpp.
References osg::Action::Continue.
Referenced by osg::Action::callLeave(), osg::VRMLWriteAction::registerLeaveDefault(), osg::RenderAction::registerLeaveDefault(), osg::IntersectAction::registerLeaveDefault(), registerLeaveDefault(), osg::Action::registerLeaveDefault(), and osg::Action::registerLeaveFunction().
00513 { 00514 return Continue; 00515 }
| void osg::Action::setActNode | ( | NodePtr | node | ) | [inline, protected, inherited] |
Definition at line 61 of file OSGAction.inl.
References osg::Action::_actNode.
Referenced by osg::RenderAction::draw(), and osg::RenderAction::drawDepth().
00062 { 00063 _actNode = node; 00064 }
char DrawAction::cvsid = "@(#)$Id: $" [static, private] |
Reimplemented from osg::DrawActionBase.
Definition at line 196 of file OSGDrawAction.h.
DrawAction * DrawAction::_prototype = NULL [static, private] |
Reimplemented from osg::Action.
Definition at line 199 of file OSGDrawAction.h.
Referenced by create(), getPrototype(), and setPrototype().
std::vector< Action::Functor > * DrawAction::_defaultEnterFunctors = NULL [static, private] |
Reimplemented from osg::Action.
Definition at line 202 of file OSGDrawAction.h.
Referenced by DrawAction(), getDefaultEnterFunctors(), and registerEnterDefault().
std::vector< Action::Functor > * DrawAction::_defaultLeaveFunctors = NULL [static, private] |
Reimplemented from osg::Action.
Definition at line 203 of file OSGDrawAction.h.
Referenced by DrawAction(), getDefaultLeaveFunctors(), and registerLeaveDefault().
UInt32 osg::DrawAction::_lightCount [private] |
Definition at line 213 of file OSGDrawAction.h.
Referenced by decLightCount(), getLightCount(), incLightCount(), and start().
StatElemDesc< StatTimeElem > DrawActionBase::statTravTime [static, inherited] |
Definition at line 85 of file OSGDrawActionBase.h.
Referenced by osg::SimpleSceneManager::initialize(), osg::DrawActionBase::start(), and osg::DrawActionBase::stop().
StatElemDesc< StatIntElem > DrawActionBase::statCullTestedNodes [static, inherited] |
Definition at line 86 of file OSGDrawActionBase.h.
Referenced by osg::SimpleSceneManager::initialize(), osg::RenderAction::isVisible(), isVisible(), osg::RenderAction::pushVisibility(), and osg::DrawActionBase::start().
StatElemDesc< StatIntElem > DrawActionBase::statCulledNodes [static, inherited] |
Definition at line 87 of file OSGDrawActionBase.h.
Referenced by osg::SimpleSceneManager::initialize(), osg::RenderAction::isOccluded(), osg::RenderAction::isVisible(), isVisible(), osg::RenderAction::pushVisibility(), and osg::DrawActionBase::start().
Camera* osg::DrawActionBase::_camera [protected, inherited] |
Definition at line 191 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getCamera(), osg::DrawActionBase::setCamera(), osg::RenderAction::start(), osg::DrawActionBase::start(), and osg::RenderAction::stop().
Background* osg::DrawActionBase::_background [protected, inherited] |
Definition at line 192 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getBackground(), osg::DrawActionBase::setBackground(), and osg::RenderAction::start().
Window* osg::DrawActionBase::_window [protected, inherited] |
Definition at line 193 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getWindow(), osg::DrawActionBase::setWindow(), and osg::RenderAction::start().
Viewport* osg::DrawActionBase::_viewport [protected, inherited] |
Definition at line 194 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getViewport(), osg::RenderAction::isSmallFeature(), osg::DrawActionBase::setViewport(), osg::RenderAction::start(), and osg::RenderAction::stop().
StatCollector* osg::DrawActionBase::_statistics [protected, inherited] |
Definition at line 195 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getStatistics(), osg::DrawActionBase::setStatistics(), osg::DrawActionBase::start(), osg::DrawActionBase::stop(), and osg::DrawActionBase::~DrawActionBase().
bool osg::DrawActionBase::_ownStat [protected, inherited] |
Definition at line 196 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getStatistics(), osg::DrawActionBase::hasOwnStat(), osg::DrawActionBase::setStatistics(), osg::DrawActionBase::start(), osg::RenderAction::stop(), osg::DrawActionBase::stop(), and osg::DrawActionBase::~DrawActionBase().
Material* osg::DrawActionBase::_pMaterial [protected, inherited] |
Definition at line 199 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getMaterial(), and osg::DrawActionBase::setMaterial().
NodePtr osg::DrawActionBase::_pMaterialNode [protected, inherited] |
Definition at line 200 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getMaterialNode(), and osg::DrawActionBase::setMaterial().
bool osg::DrawActionBase::_frustumCulling [protected, inherited] |
Definition at line 204 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getFrustumCulling(), and osg::DrawActionBase::setFrustumCulling().
bool osg::DrawActionBase::_volumeDrawing [protected, inherited] |
Definition at line 205 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getVolumeDrawing(), and osg::DrawActionBase::setVolumeDrawing().
bool osg::DrawActionBase::_autoFrustum [protected, inherited] |
Definition at line 206 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getAutoFrustum(), and osg::DrawActionBase::setAutoFrustum().
FrustumVolume osg::DrawActionBase::_frustum [protected, inherited] |
Definition at line 207 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getFrustum(), osg::RenderAction::isVisible(), isVisible(), osg::RenderAction::pushVisibility(), osg::DrawActionBase::setFrustum(), osg::DrawActionBase::start(), and osg::DrawActionBase::stop().
Matrix osg::DrawActionBase::_mCameraToWorld [protected, inherited] |
Definition at line 208 of file OSGDrawActionBase.h.
Referenced by osg::DrawActionBase::getCameraToWorld(), and osg::DrawActionBase::start().
std::vector<Functor> osg::Action::_enterFunctors [protected, inherited] |
Definition at line 258 of file OSGAction.h.
Referenced by osg::Action::Action(), osg::Action::callEnter(), DrawAction(), osg::IntersectAction::IntersectAction(), osg::Action::registerEnterFunction(), osg::RenderAction::RenderAction(), and osg::VRMLWriteAction::VRMLWriteAction().
std::vector<Functor> osg::Action::_leaveFunctors [protected, inherited] |
Definition at line 259 of file OSGAction.h.
Referenced by osg::Action::Action(), osg::Action::callLeave(), DrawAction(), osg::IntersectAction::IntersectAction(), osg::Action::registerLeaveFunction(), osg::RenderAction::RenderAction(), and osg::VRMLWriteAction::VRMLWriteAction().
1.6.1