#include <OSGRenderTraversalAction.h>
Inheritance diagram for OSG::RenderTraversalAction:

Definition at line 76 of file OSGRenderTraversalAction.h.
| typedef std::vector<RenderPartition *> OSG::RenderTraversalAction::RenderPartitionStore |
Definition at line 102 of file OSGRenderTraversalAction.h.
| typedef std::stack<RenderPartition *> OSG::RenderTraversalAction::RenderPartitionStack |
Definition at line 103 of file OSGRenderTraversalAction.h.
| typedef std::stack<Int32 > OSG::RenderTraversalAction::RenderPartitionIdxStack |
Definition at line 104 of file OSGRenderTraversalAction.h.
| typedef std::stack<bool > OSG::RenderTraversalAction::RenderPartitionGrpStack |
Definition at line 105 of file OSGRenderTraversalAction.h.
typedef RenderTraversalActionBase OSG::RenderTraversalAction::Inherited [protected] |
Reimplemented from OSG::RenderTraversalActionBase.
Definition at line 304 of file OSGRenderTraversalAction.h.
typedef Inherited::Desc OSG::DataSlotMixin< MixinHead< RenderTravDataSlotDesc > >::Desc [protected, inherited] |
Reimplemented from OSG::MixinHead< RenderTravDataSlotDesc >.
Definition at line 139 of file OSGDataSlotMixin.h.
typedef Desc ::DataStore OSG::DataSlotMixin< MixinHead< RenderTravDataSlotDesc > >::DataStore [protected, inherited] |
Definition at line 141 of file OSGDataSlotMixin.h.
typedef boost::function<ResultE (NodeCorePtrConstArg, Action *)> OSG::Action::Functor [inherited] |
Definition at line 101 of file OSGAction.h.
typedef ActionBase::ResultE(NodeCore::*) OSG::Action::Callback(Action *) [inherited] |
Definition at line 103 of file OSGAction.h.
enum OSG::ActionBase::ResultE [inherited] |
Definition at line 71 of file OSGActionBase.h.
00072 { 00073 Continue, // continue with my children 00074 Skip, // skip my children 00075 // really needed? Cancel, 00076 // skip my brothers, go one step up 00077 Quit // forget it, you're done 00078 };
| virtual OSG::RenderTraversalAction::~RenderTraversalAction | ( | void | ) | [virtual] |
| OSG::RenderTraversalAction::RenderTraversalAction | ( | void | ) | [protected] |
| OSG::RenderTraversalAction::RenderTraversalAction | ( | const RenderTraversalAction & | source | ) | [protected] |
| static RenderTraversalAction* OSG::RenderTraversalAction::create | ( | void | ) | [static] |
| static void OSG::RenderTraversalAction::setPrototype | ( | RenderTraversalAction * | pPrototype | ) | [static] |
| static RenderTraversalAction* OSG::RenderTraversalAction::getPrototype | ( | void | ) | [static] |
Reimplemented from OSG::Action.
| static void OSG::RenderTraversalAction::registerEnterDefault | ( | const FieldContainerType & | type, | |
| const Action::Functor & | func | |||
| ) | [static] |
| static void OSG::RenderTraversalAction::registerLeaveDefault | ( | const FieldContainerType & | type, | |
| const Action::Functor & | func | |||
| ) | [static] |
Reimplemented from OSG::Action.
| ResultE OSG::RenderTraversalAction::recurceNoNodeCallbacks | ( | NodePtrConstArg | node | ) |
| virtual Action::ResultE OSG::RenderTraversalAction::start | ( | void | ) | [virtual] |
Reimplemented from OSG::RenderTraversalActionBase.
| virtual Action::ResultE OSG::RenderTraversalAction::stop | ( | ResultE | res | ) | [virtual] |
Reimplemented from OSG::RenderTraversalActionBase.
| void OSG::RenderTraversalAction::dropFunctor | ( | Material::DrawFunctor & | func, | |
| State * | pState, | |||
| UInt32 | uiSortKey | |||
| ) |
| void OSG::RenderTraversalAction::pushState | ( | void | ) |
| void OSG::RenderTraversalAction::popState | ( | void | ) |
| void OSG::RenderTraversalAction::addOverride | ( | UInt32 | uiSlot, | |
| StateChunk * | pChunk | |||
| ) |
| Int32 OSG::RenderTraversalAction::allocateLightIndex | ( | void | ) |
| void OSG::RenderTraversalAction::releaseLightIndex | ( | void | ) |
| void OSG::RenderTraversalAction::pushMatrix | ( | const Matrix & | matrix | ) |
| void OSG::RenderTraversalAction::popMatrix | ( | void | ) |
| const Matrix& OSG::RenderTraversalAction::topMatrix | ( | void | ) |
Referenced by OSG::ScreenLOD::renderEnter().
| virtual bool OSG::RenderTraversalAction::isVisible | ( | Node * | node | ) | [virtual] |
| bool OSG::RenderTraversalAction::pushVisibility | ( | void | ) |
| void OSG::RenderTraversalAction::popVisibility | ( | void | ) |
| virtual bool OSG::RenderTraversalAction::getFrustumCulling | ( | void | ) | const [virtual] |
Reimplemented from OSG::RenderTraversalActionBase.
| virtual void OSG::RenderTraversalAction::setFrustumCulling | ( | bool | val = true |
) | [virtual] |
Reimplemented from OSG::RenderTraversalActionBase.
| virtual const FrustumVolume& OSG::RenderTraversalAction::getFrustum | ( | void | ) | const [virtual] |
Reimplemented from OSG::RenderTraversalActionBase.
| virtual void OSG::RenderTraversalAction::setFrustum | ( | FrustumVolume & | frust | ) | [virtual] |
Reimplemented from OSG::RenderTraversalActionBase.
| void OSG::RenderTraversalAction::overrideMaterial | ( | Material * | pMaterial, | |
| NodePtrConstArg | pNode | |||
| ) |
Referenced by OSG::SimpleShadowMapEngine::doLightPass().
| Material* OSG::RenderTraversalAction::getMaterial | ( | void | ) |
| void OSG::RenderTraversalAction::setKeyGen | ( | UInt32 | uiKeyGen | ) | [inline] |
Definition at line 89 of file OSGRenderTraversalAction.inl.
References _uiKeyGen.
00090 { 00091 _uiKeyGen = uiKeyGen; 00092 }
| void OSG::RenderTraversalAction::pushPartition | ( | UInt32 | uiCopyOnPush = 0x0000, |
|
| RenderPartition::Mode | eMode = RenderPartition::StateSorting | |||
| ) | [virtual] |
| void OSG::RenderTraversalAction::popPartition | ( | void | ) | [virtual] |
| void OSG::RenderTraversalAction::beginPartitionGroup | ( | void | ) | [inline, virtual] |
Implements OSG::RenderTraversalActionBase.
Definition at line 125 of file OSGRenderTraversalAction.inl.
References _bInPartitionGroup, _currentBuffer, _iActivePartitionIdx, _sRenderPartitionIdxStack, and _vRenderPartitions.
00126 { 00127 _sRenderPartitionIdxStack.push(_iActivePartitionIdx); 00128 00129 _iActivePartitionIdx = _vRenderPartitions[_currentBuffer].size(); 00130 00131 _bInPartitionGroup = true; 00132 }
| void OSG::RenderTraversalAction::endPartitionGroup | ( | void | ) | [inline, virtual] |
Implements OSG::RenderTraversalActionBase.
Definition at line 135 of file OSGRenderTraversalAction.inl.
References _bInPartitionGroup, _iActivePartitionIdx, and _sRenderPartitionIdxStack.
00136 { 00137 _iActivePartitionIdx = _sRenderPartitionIdxStack.top(); 00138 00139 _sRenderPartitionIdxStack.pop(); 00140 00141 _bInPartitionGroup = false; 00142 }
| Int32 OSG::RenderTraversalAction::getActivePartitionIdx | ( | void | ) | [inline, virtual] |
Implements OSG::RenderTraversalActionBase.
Definition at line 147 of file OSGRenderTraversalAction.inl.
References _iActivePartitionIdx.
00148 { 00149 return _iActivePartitionIdx; 00150 }
| Int32 OSG::RenderTraversalAction::getLastPartitionIdx | ( | void | ) | [inline, virtual] |
Implements OSG::RenderTraversalActionBase.
Definition at line 154 of file OSGRenderTraversalAction.inl.
References _currentBuffer, and _vRenderPartitions.
00155 { 00156 return _vRenderPartitions[_currentBuffer].size() - 1; 00157 }
| void OSG::RenderTraversalAction::readdPartitionByIndex | ( | UInt32 | uiPartIdx | ) | [virtual] |
Implements OSG::RenderTraversalActionBase.
| void OSG::RenderTraversalAction::dumpPartitionList | ( | void | ) |
| void OSG::RenderTraversalAction::disableDefaultPartition | ( | void | ) | [inline] |
Definition at line 160 of file OSGRenderTraversalAction.inl.
References _currentBuffer, and _vRenderPartitions.
00161 { 00162 _vRenderPartitions[_currentBuffer][0]->disable(); 00163 }
| RenderPartition* OSG::RenderTraversalAction::getActivePartition | ( | void | ) |
Referenced by OSG::SimpleShadowMapEngine::doLightPass().
| void OSG::RenderTraversalAction::addPassMask | ( | BitVector | bvMask | ) | [inline] |
Definition at line 95 of file OSGRenderTraversalAction.inl.
References _bvPassMask.
Referenced by OSG::SimpleShadowMapEngine::runOnEnter().
00096 { 00097 _bvPassMask |= bvMask; 00098 }
| void OSG::RenderTraversalAction::subPassMask | ( | BitVector | bvMask | ) | [inline] |
Definition at line 101 of file OSGRenderTraversalAction.inl.
References _bvPassMask.
Referenced by OSG::SimpleShadowMapEngine::runOnEnter().
00102 { 00103 _bvPassMask &= ~bvMask; 00104 }
| BitVector OSG::RenderTraversalAction::getPassMask | ( | void | ) | [inline] |
Definition at line 107 of file OSGRenderTraversalAction.inl.
References _bvPassMask.
Referenced by OSG::SimpleShadowMapEngine::runOnEnter().
00108 { 00109 return _bvPassMask; 00110 }
| void OSG::RenderTraversalAction::setDoCullOnly | ( | bool | val | ) |
| bool OSG::RenderTraversalAction::getDoCullOnly | ( | void | ) |
| void OSG::RenderTraversalAction::setNumBuffers | ( | UInt32 | n | ) |
| UInt32 OSG::RenderTraversalAction::getNumBuffers | ( | void | ) |
| void OSG::RenderTraversalAction::setCurrentBuffer | ( | UInt32 | b | ) |
| UInt32 OSG::RenderTraversalAction::getCurrentBuffer | ( | void | ) |
| void OSG::RenderTraversalAction::drawBuffer | ( | UInt32 | buf | ) |
| void OSG::RenderTraversalAction::setUseGLFinish | ( | bool | bVal | ) | [inline] |
Definition at line 113 of file OSGRenderTraversalAction.inl.
References _bUseGLFinish.
00114 { 00115 _bUseGLFinish = bVal; 00116 }
| bool OSG::RenderTraversalAction::getUseGLFinish | ( | void | ) | [inline] |