#include <OSGDVRShader.h>
Inheritance diagram for osg::DVRShader:

Public Types | |
| typedef DVRShaderPtr | Ptr |
| enum | { NextFieldId = 1 } |
Public Member Functions | |
Sync | |
| *virtual void | changed (BitVector whichField, UInt32 from) |
| react to field changes | |
Output | |
| *virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
| output the instance for debug purposes | |
Volume Rendering | |
| *virtual bool | initialize (DVRVolume *volume, DrawActionBase *action) |
| virtual void | activate (DVRVolume *volume, DrawActionBase *action) |
| virtual void | brickActivate (DVRVolume *volume, DrawActionBase *action, Brick *brick) |
| virtual void | deactivate (DVRVolume *volume, DrawActionBase *action) |
| virtual void | renderSlice (DVRVolume *volume, DrawActionBase *action, Real32 *data, UInt32 vertices, UInt32 values) |
| virtual void | renderSlice (DVRVolume *volume, DrawActionBase *action, DVRRenderSlice *clippedSlice) |
| virtual bool | hasRenderCallback (void) |
| virtual bool | useMTSlabs (void) |
FieldContainer Get | |
| *virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Binary Access | |
| *virtual UInt32 | getBinSize (const BitVector &whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, const BitVector &whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField) |
Get Instance Type Information | |
| UInt32 | getTypeId (void) const |
| UInt16 | getGroupId (void) const |
| const Char8 * | getTypeName (void) const |
| Generic Field Access *Field * | getField (UInt32 fieldId) |
| Field * | getField (const Char8 *fieldName) |
Clone | |
| *virtual FieldContainerPtr | shallowCopy (void) const =0 |
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 | |
Get Class Type Information | |
| static UInt16 | getClassGroupId (void) |
Static Public Attributes | |
| static const osg::BitVector | MTInfluenceMask |
| static const BitVector | NextFieldMask |
CoredNodePtr helper | |
| static const bool | isNodeCore = false |
Protected Member Functions | |
Constructors | |
| * | DVRShader (void) |
| Constructor. | |
| DVRShader (const DVRShader &source) | |
| Copy Constructor. | |
Destructors | |
| *virtual | ~DVRShader (void) |
| Destructor. | |
Sync | |
| *void | executeSyncImpl (DVRShaderBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (FieldContainer *pOther, const BitVector &whichField) |
MT Edit | |
| template<class FieldTypeT> | |
| *void | beginEditX (const BitVector &whichField, FieldTypeT &field) |
| template<class FieldTypeT> | |
| void | endEditX (const BitVector &whichField, FieldTypeT &field) |
MT Construction | |
| *void | onCreate (const FieldContainer *source=NULL) |
| void | onCreateAspect (const FieldContainer *aspect0, const FieldContainer *source=NULL) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Static Protected Member Functions | |
Create Fieldcontainer | |
| template<class ObjectPtrT> | |
| *static void | newPtr (ObjectPtrT &result, const typename ObjectPtrT::StoredObjectType *prototypeP) |
| template<class ObjectPtrT> | |
| static void | newPtr (ObjectPtrT &result) |
Protected Attributes | |
Member | |
| *UInt32 | _shares |
Private Types | |
| typedef DVRShaderBase | Inherited |
Private Member Functions | |
| void | operator= (const DVRShader &source) |
Static Private Member Functions | |
| static void | initMethod (void) |
| initialize the static features of the class, e.g. action callbacks | |
Friends | |
| class | FieldContainer |
| class | DVRShaderBase |
Definition at line 63 of file OSGDVRShader.h.
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRIsoShader, osg::DVRIsoShaderBase, osg::DVRMtexLUTShader, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShader, osg::DVRSimpleLUTShaderBase, osg::DVRSimpleShader, and osg::DVRSimpleShaderBase. Definition at line 67 of file OSGDVRShader.h. |
|
|
Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 89 of file OSGDVRShaderBase.h. |
|
|
Definition at line 73 of file OSGFieldContainerImpl.h. 00073 { NextFieldId = 1 };
|
|
|
Definition at line 114 of file OSGDVRShader.cpp. 00114 : 00115 Inherited() 00116 { 00117 }
|
|
|
Definition at line 120 of file OSGDVRShader.cpp. 00120 : 00121 Inherited(source) 00122 { 00123 }
|
|
|
Definition at line 126 of file OSGDVRShader.cpp.
|
|
||||||||||||
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShader, osg::DVRMtexLUTShader, osg::DVRSimpleLUTShader, and osg::DVRSimpleShader. Definition at line 138 of file OSGDVRShader.cpp. References osg::FieldContainer::changed(). Referenced by osg::DVRSimpleShader::changed(), and osg::DVRIsoShader::changed(). 00139 { 00140 Inherited::changed(whichField, origin); 00141 }
|
|
||||||||||||
|
Implements osg::FieldContainer. Reimplemented in osg::DVRIsoShader, osg::DVRMtexLUTShader, osg::DVRSimpleLUTShader, and osg::DVRSimpleShader. Definition at line 144 of file OSGDVRShader.cpp. References SLOG. 00146 { 00147 SLOG << "Dump DVRShader NI" << std::endl; 00148 }
|
|
||||||||||||
|
Reimplemented in osg::DVRIsoShader, osg::DVRMtexLUTShader, osg::DVRSimpleLUTShader, and osg::DVRSimpleShader. Definition at line 57 of file OSGDVRShader.cpp. References SLOG. 00059 { 00060 SLOG << "DVRShader::initialize - NI" << std::endl; 00061 00062 return false; 00063 }
|
|
||||||||||||
|
Reimplemented in osg::DVRIsoShader, osg::DVRMtexLUTShader, osg::DVRSimpleLUTShader, and osg::DVRSimpleShader. Definition at line 66 of file OSGDVRShader.cpp. References SLOG. 00068 { 00069 SLOG << "DVRShader::activate - NI" << std::endl; 00070 }
|
|
||||||||||||||||
|
Reimplemented in osg::DVRIsoShader, osg::DVRSimpleLUTShader, and osg::DVRSimpleShader. Definition at line 72 of file OSGDVRShader.cpp. References SLOG. 00075 { 00076 SLOG << "DVRShader::brickActivate - NI" << std::endl; 00077 }
|
|
||||||||||||
|
Reimplemented in osg::DVRIsoShader, osg::DVRMtexLUTShader, osg::DVRSimpleLUTShader, and osg::DVRSimpleShader. Definition at line 79 of file OSGDVRShader.cpp. References SLOG. 00081 { 00082 SLOG << "DVRShader::brickActivate - NI" << std::endl; 00083 }
|
|
||||||||||||||||||||||||
|
Reimplemented in osg::DVRIsoShader, and osg::DVRMtexLUTShader. Definition at line 85 of file OSGDVRShader.cpp. References SLOG. 00090 { 00091 SLOG << "DVRShader::renderSlice - NI" << std::endl; 00092 }
|
|
||||||||||||||||
|
Reimplemented in osg::DVRIsoShader, and osg::DVRMtexLUTShader. Definition at line 94 of file OSGDVRShader.cpp. References SLOG. 00097 { 00098 SLOG << "DVRShader::renderSlice - NI" << std::endl; 00099 }
|
|
|
Reimplemented in osg::DVRIsoShader, and osg::DVRMtexLUTShader. Definition at line 101 of file OSGDVRShader.cpp.
|
|
|
Reimplemented in osg::DVRIsoShader, and osg::DVRMtexLUTShader. Definition at line 106 of file OSGDVRShader.cpp.
|
|
|
Reimplemented in osg::DVRIsoShader, osg::DVRMtexLUTShader, osg::DVRSimpleLUTShader, and osg::DVRSimpleShader. Definition at line 133 of file OSGDVRShader.cpp.
|
|
|
|
|
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 58 of file OSGDVRShaderBase.inl. References osg::DVRShaderBase::_type. 00059 { 00060 return _type; 00061 }
|
|
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 65 of file OSGDVRShaderBase.inl. References osg::DVRShaderBase::_type, and osg::TypeBase::getId(). 00066 { 00067 return _type.getId(); 00068 }
|
|
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 86 of file OSGDVRShaderBase.cpp. References osg::DVRShaderBase::_type. 00087 { 00088 return _type; 00089 }
|
|
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 91 of file OSGDVRShaderBase.cpp. References osg::DVRShaderBase::_type. 00092 { 00093 return _type; 00094 }
|
|
|
Implements osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 97 of file OSGDVRShaderBase.cpp. 00098 { 00099 return sizeof(DVRShader); 00100 }
|
|
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 157 of file OSGDVRShaderBase.cpp. References osg::FieldContainer::getBinSize(). Referenced by osg::DVRSimpleShaderBase::getBinSize(), and osg::DVRIsoShaderBase::getBinSize(). 00158 { 00159 UInt32 returnValue = Inherited::getBinSize(whichField); 00160 00161 00162 return returnValue; 00163 }
|
|
||||||||||||
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 165 of file OSGDVRShaderBase.cpp. References osg::FieldContainer::copyToBin(). Referenced by osg::DVRSimpleShaderBase::copyToBin(), and osg::DVRIsoShaderBase::copyToBin(). 00167 { 00168 Inherited::copyToBin(pMem, whichField); 00169 00170 00171 }
|
|
||||||||||||
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 173 of file OSGDVRShaderBase.cpp. References osg::FieldContainer::copyFromBin(). Referenced by osg::DVRSimpleShaderBase::copyFromBin(), and osg::DVRIsoShaderBase::copyFromBin(). 00175 { 00176 Inherited::copyFromBin(pMem, whichField); 00177 00178 00179 }
|
|
||||||||||||
|
Definition at line 182 of file OSGDVRShaderBase.cpp. References osg::FieldContainer::executeSyncImpl(). Referenced by osg::DVRShaderBase::executeSync(), osg::DVRSimpleShaderBase::executeSyncImpl(), and osg::DVRIsoShaderBase::executeSyncImpl(). 00184 { 00185 00186 Inherited::executeSyncImpl(pOther, whichField); 00187 00188 00189 }
|
|
||||||||||||
|
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().
|
|
||||||||||||
|
Implements osg::FieldContainer. Reimplemented in osg::DVRIsoShaderBase, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShaderBase. Definition at line 104 of file OSGDVRShaderBase.cpp. References osg::DVRShaderBase::executeSyncImpl(). 00106 { 00107 this->executeSyncImpl((DVRShaderBase *) &other, whichField); 00108 }
|
|
|
Definition at line 71 of file OSGFieldContainerImpl.inl. References osg::FieldContainer::_type, and osg::FieldContainerType::getGroupId(). 00072 { 00073 return _type.getGroupId(); 00074 }
|
|
|
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 }
|
|
|
Definition at line 83 of file OSGFieldContainerImpl.inl. References osg::FieldContainerType::getGroupId(), and osg::FieldContainer::getType(). Referenced by osg::Image::setAttachmentField(). 00084 { 00085 return getType().getGroupId(); 00086 }
|
|
|
Definition at line 89 of file OSGFieldContainerImpl.inl. References osg::TypeBase::getCName(), and osg::FieldContainer::getType(). 00090 { 00091 return getType().getCName(); 00092 }
|
|
|
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 }
|
|
|
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 }
|
|
|
||||||||||||||||