#include <OSGAlgorithmStage.h>
Inheritance diagram for OSG::AlgorithmStage:

dcast | |
| typedef FieldContainerAttachment | AttachmentObj |
| typedef FieldContainerAttachmentPtr | AttachmentObjPtr |
| typedef SFFieldContainerAttachmentPtrMap | SFAttachmentObjPtrMap |
| typedef SFAttachmentObjPtrMap::StoredType | AttachmentObjPtrMap |
| typedef AttachmentObjPtrMap::iterator | AttachmentObjPtrMapIt |
| OSG_GEN_INTERNALPTR (AttachmentContainer) | |
Public Types | |
| enum | ProjectionMode { Ignore = 0x0000, ZeroOne = 0x0001, CenterOne = 0x0002, ZeroSize = 0x0003, CenterSize = 0x0004, StoredMatrix = 0x0005 } |
| typedef AlgorithmStageBase | Inherited |
| enum | { AlgorithmFieldId = Inherited::NextFieldId, ProjectionModeFieldId = AlgorithmFieldId + 1, ProjectionMatrixFieldId = ProjectionModeFieldId + 1, NextFieldId = ProjectionMatrixFieldId + 1 } |
| typedef Stage | ParentContainer |
| typedef Inherited::TypeObject | TypeObject |
| typedef TypeObject::InitPhase | InitPhase |
| enum | { RenderTargetFieldId = Inherited::NextFieldId, InheritedTargetFieldId = RenderTargetFieldId + 1, NextFieldId = InheritedTargetFieldId + 1 } |
| enum | UpdateMode |
| enum | GroupMode |
| typedef StageHandlerMixin< ContainerMixinHead< StageDesc > > | Self |
| typedef ContainerMixinHead< StageDesc >::Desc | Desc |
| typedef StageValidator::ValidationStatus | ValidationStatus |
| typedef MFParentFieldContainerPtr | ParentField |
| typedef const MFParentFieldContainerPtr * | ParentFieldPtr |
| typedef MFParentFieldContainerPtr::const_iterator | ParentFieldIt |
Type definitions | |
| typedef Field *(ReflexiveContainer::*) | FieldEditMethod (void) |
| typedef const Field *(ReflexiveContainer::*) | FieldGetMethod (void) const |
Public Member Functions | |
| OSG_GEN_INTERNALPTR (AlgorithmStage) | |
| OSG_GEN_INTERNALPTR (Stage) | |
| OSG_GEN_INTERNALPTR (Group) | |
| OSG_GEN_INTERNALPTR (NodeCore) | |
| OSG_RC_FIRST_FIELD_DECL (UpdateMode) | |
| OSG_RC_FIRST_FIELD_DECL (Parents) | |
| OSG_RC_LAST_FIELD_DECL (UpdateMode) | |
| OSG_RC_LAST_FIELD_DECL (Parents) | |
| ValidationStatus | validateOnEnter (RenderTraversalActionBase *pAction) |
| ValidationStatus | validateOnLeave (RenderTraversalActionBase *pAction) |
| void | pushPartition (RenderTraversalActionBase *pAction, UInt32 uiCopyOnPush=0x0000, RenderPartitionBase::Mode eMode=RenderPartitionBase::StateSorting) |
| void | popPartition (RenderTraversalActionBase *pAction) |
| void | beginPartitionGroup (RenderTraversalActionBase *pAction) |
| void | endPartitionGroup (RenderTraversalActionBase *pAction) |
| void | beginPartitions (RenderTraversalActionBase *pAction) |
| void | endPartitions (RenderTraversalActionBase *pAction) |
| void | setUpdateMode (UpdateMode eMode) |
| UInt32 | getUpdateMode (void) const |
| SFUInt32 * | editSFUpdateMode (void) |
| const SFUInt32 * | getSFUpdateMode (void) const |
| void | setData (StageDataP pData, Int32 iDataSlotId, RenderTraversalActionBase *pAction) |
Sync | |
| virtual void | changed (ConstFieldMaskArg whichField, UInt32 origin, BitVector detail) |
Execute | |
| void | execute (DrawEnv *pDrawEnv) |
Dump | |
| virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
Type definitions | |
| OSG_GEN_INTERNALPTR (FieldContainer) | |
| OSG_RC_FIRST_FIELD_DECL (ChangedCallbacks) | |
| OSG_RC_LAST_FIELD_DECL (ChangedCallbacks) | |
FieldContainer Get | |
| virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| const SFAlgorithmPtr * | getSFAlgorithm (void) const |
| Get the AlgorithmStage::_sfAlgorithm field. | |
| SFUInt32 * | editSFProjectionMode (void) |
| Get the AlgorithmStage::_sfAlgorithm field. | |
| const SFUInt32 * | getSFProjectionMode (void) const |
| Get the AlgorithmStage::_sfAlgorithm field. | |
| SFMatrix * | editSFProjectionMatrix (void) |
| Get the AlgorithmStage::_sfAlgorithm field. | |
| const SFMatrix * | getSFProjectionMatrix (void) const |
| Get the AlgorithmStage::_sfAlgorithm field. | |
| AlgorithmPtrConst | getAlgorithm (void) const |
| Get the value of the AlgorithmStage::_sfAlgorithm field. | |
| UInt32 & | editProjectionMode (void) |
| Get the value of the AlgorithmStage::_sfProjectionMode field. | |
| const UInt32 & | getProjectionMode (void) const |
| Get the value of the AlgorithmStage::_sfProjectionMode field. | |
| Matrix & | editProjectionMatrix (void) |
| Get the value of the AlgorithmStage::_sfProjectionMatrix field. | |
| const Matrix & | getProjectionMatrix (void) const |
| Get the value of the AlgorithmStage::_sfProjectionMatrix field. | |
Field Set | |
| void | setAlgorithm (AlgorithmPtrConstArg value) |
| Set the value of the AlgorithmStage::_sfAlgorithm field. | |
| void | setProjectionMode (const UInt32 &value) |
| Set the value of the AlgorithmStage::_sfProjectionMode field. | |
| void | setProjectionMatrix (const Matrix &value) |
| Set the value of the AlgorithmStage::_sfProjectionMatrix field. | |
Binary Access | |
| virtual UInt32 | getBinSize (ConstFieldMaskArg whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, ConstFieldMaskArg whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, ConstFieldMaskArg whichField) |
Copy | |
| virtual FieldContainerPtr | shallowCopy (void) const |
Field Get | |
| const SFFrameBufferObjectPtr * | getSFRenderTarget (void) const |
| Get the Stage::_sfRenderTarget field. | |
| SFBool * | editSFInheritedTarget (void) |
| Get the Stage::_sfRenderTarget field. | |
| const SFBool * | getSFInheritedTarget (void) const |
| Get the Stage::_sfRenderTarget field. | |
| FrameBufferObjectPtrConst | getRenderTarget (void) const |
| Get the value of the Stage::_sfRenderTarget field. | |
| bool & | editInheritedTarget (void) |
| Get the value of the Stage::_sfInheritedTarget field. | |
| const bool & | getInheritedTarget (void) const |
| Get the value of the Stage::_sfInheritedTarget field. | |
Field Set | |
| void | setRenderTarget (FrameBufferObjectPtrConstArg value) |
| Set the value of the Stage::_sfRenderTarget field. | |
| void | setInheritedTarget (const bool &value) |
| Set the value of the Stage::_sfInheritedTarget field. | |
Constructors | |
| OSG_RC_FIRST_FIELD_DECL (Attachments) | |
| OSG_RC_LAST_FIELD_DECL (Attachments) | |
Helper | |
| const MFParentFieldContainerPtr & | getParents (void) const |
Get | |
| const MFParentFieldContainerPtr * | getMFParents (void) const |
Changed | |
| virtual void | accumulateMatrix (Matrixr &result) |
MT Destruction | |
| virtual void | adjustVolume (Volume &volume) |
Comparison | |
| virtual void | invalidateVolume (void) |
Dump | |
| void | addParent (FieldContainerPtrConst &parent, const UInt16 uiStoredInFieldId=InvalidParentEPos) |
| void | subParent (FieldContainerPtrConst &parent) |
Set | |
| void | addAttachment (const AttachmentObjPtr attachmentP, UInt16 binding=0) |
| void | subAttachment (const AttachmentObjPtr attachmentP, UInt16 binding=0) |
| AttachmentObjPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentObjPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
your_category | |
| const SFAttachmentObjPtrMap * | getSFAttachments (void) const |
Set | |
| void | callChangedFunctors (ConstFieldMaskArg whichField) |
Container Access | |
| UInt32 | addChangedFunctor (ChangedFunctor func, std::string createSymbol) |
| template<class FunctorT> | |
| void | subChangedFunctor (FunctorT func) |
| void | subChangedFunctor (UInt32 uiId) |
| void | clearChangedFunctors (void) |
Field Flags | |
| const FieldFlags * | getFieldFlags (void) |
Helper | |
| OSG_SYSTEM_DLLMAPPING void | addReference (void) |
| OSG_SYSTEM_DLLMAPPING void | subReference (void) |
| OSG_SYSTEM_DLLMAPPING void | subReferenceLocalVar (void) |
| OSG_SYSTEM_DLLMAPPING Int32 | getRefCount (void) const |
dcast | |
| OSG_SYSTEM_DLLMAPPING UInt32 | getTypeId (void) const |
| OSG_SYSTEM_DLLMAPPING UInt16 | getGroupId (void) const |
| OSG_SYSTEM_DLLMAPPING const Char8 * | getTypeName (void) const |
Get Field | |
| OSG_SYSTEM_DLLMAPPING UInt32 | getNumFields (void) const |
| OSG_SYSTEM_DLLMAPPING EditFieldHandlePtr | editField (UInt32 fieldId) |
| OSG_SYSTEM_DLLMAPPING EditFieldHandlePtr | editField (const Char8 *fieldName) |
| OSG_SYSTEM_DLLMAPPING GetFieldHandlePtr | getField (UInt32 fieldId) const |
| OSG_SYSTEM_DLLMAPPING GetFieldHandlePtr | getField (const Char8 *fieldName) const |
Get Field Description | |
| OSG_SYSTEM_DLLMAPPING FieldDescriptionBase * | getFieldDescription (UInt32 fieldId) |
| OSG_SYSTEM_DLLMAPPING FieldDescriptionBase * | getFieldDescription (const Char8 *fieldName) |
Comparison | |
| OSG_SYSTEM_DLLMAPPING EditFieldHandlePtr | invalidEditField (void) |
| OSG_SYSTEM_DLLMAPPING GetFieldHandlePtr | invalidGetField (void) const |
Static Public Member Functions | |
Class Get | |
| static FieldContainerType & | getClassType (void) |
| access the type of the class | |
| static UInt32 | getClassTypeId (void) |
| access the numerical type of the class | |
| static UInt16 | getClassGroupId (void) |
| access the type of the class | |
Construction | |
| static AlgorithmStagePtr | create (void) |
| create a new instance of the class | |
| static AlgorithmStagePtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Public Attributes | |
| OSG_RC_NO_FIELD_DECL | |
dcast | |
| OSG_ABSTR_FIELD_CONTAINER_DECL | |
Static Public Attributes | |
| static const OSG::BitVector | AlgorithmFieldMask |
| static const OSG::BitVector | ProjectionModeFieldMask |
| static const OSG::BitVector | ProjectionMatrixFieldMask |
| static const OSG::BitVector | NextFieldMask |
| static const OSG::BitVector | RenderTargetFieldMask |
| static const OSG::BitVector | InheritedTargetFieldMask |
| static const bool | isNodeCore = true |
Protected Member Functions | |
| void | onCreate (const Self *source=NULL) |
| ValidationStatus | validate (RenderTraversalActionBase *pAction) |
| EditFieldHandlePtr | editHandleUpdateMode (void) |
| GetFieldHandlePtr | getHandleUpdateMode (void) const |
| void | onCreateAspect (const Self *createAspect, const Self *source=NULL) |
| void | onDestroy (UInt32 uiContainerId) |
Constructors | |
| AlgorithmStage (void) | |
| AlgorithmStage (const AlgorithmStage &source) | |
Destructors | |
| virtual | ~AlgorithmStage (void) |
onCreate | |
| void | onCreate (const AlgorithmStage *source=NULL) |
onCreate | |
| void | onCreate (const Stage *source=NULL) |
MT Construction | |
| OSG_SYSTEM_DLLMAPPING void | onCreate (const FieldContainer *source=NULL) |
| OSG_SYSTEM_DLLMAPPING void | onCreateAspect (const FieldContainer *createAspect, const FieldContainer *source=NULL) |
Changed | |
| OSG_SYSTEM_DLLMAPPING void | onCreate (const ReflexiveContainer *source=NULL) |
| virtual OSG_SYSTEM_DLLMAPPING void | onDestroyAspect (UInt32 uiContainerId, UInt32 uiAspect) |
Generic Field Access | |
| GetFieldHandlePtr | getHandleAlgorithm (void) const |
| EditFieldHandlePtr | editHandleAlgorithm (void) |
| GetFieldHandlePtr | getHandleProjectionMode (void) const |
| EditFieldHandlePtr | editHandleProjectionMode (void) |
| GetFieldHandlePtr | getHandleProjectionMatrix (void) const |
| EditFieldHandlePtr | editHandleProjectionMatrix (void) |
Sync | |
| virtual void | resolveLinks (void) |
Draw | |
| ActionBase::ResultE | render (Action *action) |
Generic Field Access | |
| GetFieldHandlePtr | getHandleRenderTarget (void) const |
| EditFieldHandlePtr | editHandleRenderTarget (void) |
| GetFieldHandlePtr | getHandleInheritedTarget (void) const |
| EditFieldHandlePtr | editHandleInheritedTarget (void) |
Action Callbacks | |
| ActionBase::ResultE | renderEnter (Action *action) |
| ActionBase::ResultE | renderLeave (Action *action) |
| ActionBase::ResultE | intersect (Action *action) |
Edit | |
| GetFieldHandlePtr | getHandleParents (void) const |
Sync | |
| EditFieldHandlePtr | editHandleAttachments (void) |
| GetFieldHandlePtr | getHandleAttachments (void) const |
Edit | |
| OSG_SYSTEM_DLLMAPPING void | subReferenceUnresolved (void) |
MT Construction | |
| virtual OSG_SYSTEM_DLLMAPPING bool | deregister (UInt32 uiContainerId) |
MT Construction | |
| OSG_SYSTEM_DLLMAPPING void | registerChangedContainer (void) |
| virtual OSG_SYSTEM_DLLMAPPING void | registerChangedContainerV (void) |
Local Edit | |
| void | editSField (ConstFieldMaskArg whichField) |
| template<class FieldT> | |
| void | editMField (ConstFieldMaskArg whichField, FieldT &oField) |
MT Destruction | |
| void | execEndEdit (ConstFieldMaskArg whichField) |
| void | clearChangeEntry (ContainerChangeEntry *pRef) |
Edit | |
| OSG_SYSTEM_DLLMAPPING void | setId (UInt32 uiContainerId) |
| OSG_SYSTEM_DLLMAPPING UInt32 | getId (void) const |
Static Protected Member Functions | |
| static void | classDescInserter (TypeObject &oType) |
| static void | classDescInserter (TypeObject &oType) |
| static Char8 * | getClassname (void) |
Init | |
| static void | initMethod (InitPhase ePhase) |
Fields | |
| static void | classDescInserter (TypeObject &oType) |
Init | |
| static void | initMethod (InitPhase ePhase) |
MT Construction | |
| template<class ObjectT> | |
| static void | newPtr (typename ObjectT::ObjPtr &result, const ObjectT *prototypeP) |
| template<class ObjectT> | |
| static void | newPtr (typename ObjectT::ObjPtr &result) |
Protected Attributes | |
| Int32 | _iDataSlotId |
| Int32 | _iStageId |
| StageValidator::ValidationStatus | _tmpStatus |
| SFUInt32 | _sfUpdateMode |
Fields | |
| SFAlgorithmPtr | _sfAlgorithm |
| SFUInt32 | _sfProjectionMode |
| SFMatrix | _sfProjectionMatrix |
Fields | |
| SFFrameBufferObjectPtr | _sfRenderTarget |
| SFBool | _sfInheritedTarget |
Fields | |
| MFParentFieldContainerPtr | _mfParents |
Fields | |
| SFAttachmentObjPtrMap | _sfAttachments |
Type information | |
| FieldFlags * | _pFieldFlags |
| MFChangedFunctorCallback | _mfChangedFunctors |
| Int32 | _iRefCount |
Member | |
| BitVector | _bvChanged |
| ContainerChangeEntry * | _pContainerChanges |
| UInt32 | _uiContainerId |
Static Protected Attributes | |
| static TypeObject | _type |
Private Member Functions | |
| void | operator= (const AlgorithmStage &source) |
| prohibit default function (move to 'public' if needed) | |
Friends | |
| class | FieldContainer |
| class | AlgorithmStageBase |
Definition at line 58 of file OSGAlgorithmStage.h.
typedef Stage OSG::AlgorithmStageBase::ParentContainer [inherited] |
typedef Inherited::TypeObject OSG::AlgorithmStageBase::TypeObject [inherited] |
typedef TypeObject::InitPhase OSG::AlgorithmStageBase::InitPhase [inherited] |
typedef StageHandlerMixin<ContainerMixinHead< StageDesc > > OSG::StageHandlerMixin< ContainerMixinHead< StageDesc > >::Self [inherited] |
typedef ContainerMixinHead< StageDesc > ::Desc OSG::StageHandlerMixin< ContainerMixinHead< StageDesc > >::Desc [inherited] |
Reimplemented from OSG::ContainerMixinHead< StageDesc >.
Definition at line 75 of file OSGStageHandlerMixin.h.
typedef StageValidator::ValidationStatus OSG::StageHandlerMixin< ContainerMixinHead< StageDesc > >::ValidationStatus [inherited] |
Definition at line 78 of file OSGStageHandlerMixin.h.
typedef MFParentFieldContainerPtr OSG::NodeCore::ParentField [inherited] |
Definition at line 77 of file OSGNodeCore.h.
typedef const MFParentFieldContainerPtr* OSG::NodeCore::ParentFieldPtr [inherited] |
Definition at line 78 of file OSGNodeCore.h.
typedef MFParentFieldContainerPtr::const_iterator OSG::NodeCore::ParentFieldIt [inherited] |
Definition at line 79 of file OSGNodeCore.h.
typedef FieldContainerAttachment OSG::AttachmentContainer::AttachmentObj [inherited] |
Definition at line 70 of file OSGAttachmentContainer.h.
typedef FieldContainerAttachmentPtr OSG::AttachmentContainer::AttachmentObjPtr [inherited] |
Definition at line 71 of file OSGAttachmentContainer.h.
typedef SFFieldContainerAttachmentPtrMap OSG::AttachmentContainer::SFAttachmentObjPtrMap [inherited] |
Definition at line 72 of file OSGAttachmentContainer.h.
typedef SFAttachmentObjPtrMap::StoredType OSG::AttachmentContainer::AttachmentObjPtrMap [inherited] |
Definition at line 74 of file OSGAttachmentContainer.h.
typedef AttachmentObjPtrMap::iterator OSG::AttachmentContainer::AttachmentObjPtrMapIt [inherited] |
Definition at line 75 of file OSGAttachmentContainer.h.
typedef Field*(ReflexiveContainer::*) OSG::ReflexiveContainer::FieldEditMethod(void) [inherited] |
Definition at line 79 of file OSGReflexiveContainer.h.
typedef const Field*(ReflexiveContainer::*) OSG::ReflexiveContainer::FieldGetMethod(void) const [inherited] |
Definition at line 81 of file OSGReflexiveContainer.h.
Definition at line 66 of file OSGAlgorithmStage.h.
00067 { 00068 Ignore = 0x0000, 00069 ZeroOne = 0x0001, 00070 CenterOne = 0x0002, 00071 ZeroSize = 0x0003, 00072 CenterSize = 0x0004, 00073 StoredMatrix = 0x0005 00074 };
anonymous enum [inherited] |
Definition at line 96 of file OSGAlgorithmStageBase.h.
00097 { 00098 AlgorithmFieldId = Inherited::NextFieldId, 00099 ProjectionModeFieldId = AlgorithmFieldId + 1, 00100 ProjectionMatrixFieldId = ProjectionModeFieldId + 1, 00101 NextFieldId = ProjectionMatrixFieldId + 1 00102 };
anonymous enum [inherited] |
Definition at line 97 of file OSGStageBase.h.
00098 { 00099 RenderTargetFieldId = Inherited::NextFieldId, 00100 InheritedTargetFieldId = RenderTargetFieldId + 1, 00101 NextFieldId = InheritedTargetFieldId + 1 00102 };
enum OSG::StageHandlerMixin::UpdateMode [inherited] |
Definition at line 80 of file OSGStageHandlerMixin.h.
00081 { 00082 PerWindow = 0x0001, 00083 PerViewport = 0x0002, 00084 PerTraversal = 0x0003, 00085 00086 PerVisit = 0x0004 00087 };
enum OSG::StageHandlerMixin::GroupMode [inherited] |
Definition at line 89 of file OSGStageHandlerMixin.h.
00090 { 00091 NoPartitionGroup = 0x0000, 00092 InPartitionGroup = 0x0001, 00093 InPartitionList = 0x0002 00094 };
| AlgorithmStage::AlgorithmStage | ( | void | ) | [protected] |
| AlgorithmStage::AlgorithmStage | ( | const AlgorithmStage & | source | ) | [protected] |
| AlgorithmStage::~AlgorithmStage | ( | void | ) | [protected, virtual] |
| void AlgorithmStage::changed | ( | ConstFieldMaskArg | whichField, | |
| UInt32 | origin, | |||
| BitVector | detail | |||
| ) | [virtual] |
Reimplemented from OSG::Stage.
Definition at line 69 of file OSGAlgorithmStage.cpp.
References OSG::Group::changed().
00072 { 00073 Inherited::changed(whichField, origin, details); 00074 }
| void AlgorithmStage::execute | ( | DrawEnv * | pDrawEnv | ) |
Definition at line 105 of file OSGAlgorithmStage.cpp.
References OSG::AlgorithmStageBase::getAlgorithm(), and NullFC.
00106 { 00107 AlgorithmPtr pAlgorithm = getAlgorithm(); 00108 00109 if(pAlgorithm != NullFC) 00110 pAlgorithm->execute(pDrawEnv); 00111 }
| virtual void OSG::AlgorithmStage::dump | ( | UInt32 | uiIndent = 0, |
|
| const BitVector | bvFlags = 0 | |||
| ) | const [virtual] |
Reimplemented from OSG::Stage.
| static void OSG::AlgorithmStage::initMethod | ( | InitPhase | ePhase | ) | [static, protected] |
| void OSG::AlgorithmStage::operator= | ( | const AlgorithmStage & | source | ) | [private] |
| OSG::AlgorithmStageBase::OSG_GEN_INTERNALPTR | ( | AlgorithmStage | ) | [inherited] |
| OSG::StageBase::OSG_GEN_INTERNALPTR | ( | Stage | ) | [inherited] |
| OSG::GroupBase::OSG_GEN_INTERNALPTR | ( | Group | ) | [inherited] |
| OSG::NodeCore::OSG_GEN_INTERNALPTR | ( | NodeCore | ) | [inherited] |
| OSG::AttachmentContainer::OSG_GEN_INTERNALPTR | ( | AttachmentContainer | ) | [inherited] |
| OSG::FieldContainer::OSG_GEN_INTERNALPTR | ( | FieldContainer | ) | [inherited] |