#include <OSGDVRSimpleShaderBase.h>
Inheritance diagram for osg::DVRSimpleShaderBase:

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) |
Sync | |
| *void | executeSyncImpl (DVRSimpleShaderBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Public Types | |
| typedef DVRSimpleShaderPtr | Ptr |
| enum | { NextFieldId = 1 } |
Public Member Functions | |
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) |
Copy | |
| *virtual FieldContainerPtr | shallowCopy (void) const |
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 | |
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 | |
Construction | |
| *static DVRSimpleShaderPtr | create (void) |
| create a new instance of the class | |
| static DVRSimpleShaderPtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Static Public Attributes | |
| static const osg::BitVector | MTInfluenceMask |
| static const BitVector | NextFieldMask |
Protected Member Functions | |
Constructors | |
| * | DVRSimpleShaderBase (void) |
| DVRSimpleShaderBase (const DVRSimpleShaderBase &source) | |
Destructors | |
| *virtual | ~DVRSimpleShaderBase (void) |
Private Types | |
| typedef DVRShader | Inherited |
Private Member Functions | |
| void | operator= (const DVRSimpleShaderBase &source) |
Static Private Attributes | |
| static FieldContainerType | _type |
Friends | |
| class | FieldContainer |
Definition at line 80 of file OSGDVRSimpleShaderBase.h.
|
|
Reimplemented from osg::DVRShader. Reimplemented in osg::DVRMtexLUTShader, osg::DVRMtexLUTShaderBase, osg::DVRSimpleLUTShader, osg::DVRSimpleLUTShaderBase, and osg::DVRSimpleShader. Definition at line 84 of file OSGDVRSimpleShaderBase.h. |
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 89 of file OSGDVRSimpleShaderBase.h. |
|
|
Definition at line 73 of file OSGFieldContainerImpl.h. 00073 { NextFieldId = 1 };
|
|
|
Definition at line 144 of file OSGDVRSimpleShaderBase.cpp. 00144 : 00145 Inherited() 00146 { 00147 }
|
|
|
Definition at line 153 of file OSGDVRSimpleShaderBase.cpp. 00153 : 00154 Inherited (source) 00155 { 00156 }
|
|
|
Definition at line 160 of file OSGDVRSimpleShaderBase.cpp.
|
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 58 of file OSGDVRSimpleShaderBase.inl. References _type. Referenced by create(). 00059 { 00060 return _type; 00061 }
|
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 65 of file OSGDVRSimpleShaderBase.inl. References _type, and osg::TypeBase::getId(). 00066 { 00067 return _type.getId(); 00068 }
|
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 86 of file OSGDVRSimpleShaderBase.cpp. References _type. 00087 { 00088 return _type; 00089 }
|
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 91 of file OSGDVRSimpleShaderBase.cpp. References _type. 00092 { 00093 return _type; 00094 }
|
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 106 of file OSGDVRSimpleShaderBase.cpp. 00107 { 00108 return sizeof(DVRSimpleShader); 00109 }
|
|
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 166 of file OSGDVRSimpleShaderBase.cpp. References osg::DVRShaderBase::getBinSize(). Referenced by osg::DVRSimpleLUTShaderBase::getBinSize(). 00167 { 00168 UInt32 returnValue = Inherited::getBinSize(whichField); 00169 00170 00171 return returnValue; 00172 }
|
|
||||||||||||
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 174 of file OSGDVRSimpleShaderBase.cpp. References osg::DVRShaderBase::copyToBin(). Referenced by osg::DVRSimpleLUTShaderBase::copyToBin(). 00176 { 00177 Inherited::copyToBin(pMem, whichField); 00178 00179 00180 }
|
|
||||||||||||
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 182 of file OSGDVRSimpleShaderBase.cpp. References osg::DVRShaderBase::copyFromBin(). Referenced by osg::DVRSimpleLUTShaderBase::copyFromBin(). 00184 { 00185 Inherited::copyFromBin(pMem, whichField); 00186 00187 00188 }
|
|
|
Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 72 of file OSGDVRSimpleShaderBase.inl. References getClassType(), osg::FieldContainerType::getPrototype(), osg::NullFC, and shallowCopy(). 00073 { 00074 DVRSimpleShaderPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = DVRSimpleShaderPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 }
|
|
|
Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 87 of file OSGDVRSimpleShaderBase.inl. References osg::FieldContainer::newPtr(). 00088 { 00089 DVRSimpleShaderPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 }
|
|
|
Implements osg::FieldContainer. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 97 of file OSGDVRSimpleShaderBase.cpp. References osg::FieldContainer::newPtr(). Referenced by create(). 00098 { 00099 DVRSimpleShaderPtr returnValue; 00100 00101 newPtr(returnValue, dynamic_cast<const DVRSimpleShader *>(this)); 00102 00103 return returnValue; 00104 }
|
|
||||||||||||
|
Definition at line 191 of file OSGDVRSimpleShaderBase.cpp. References osg::DVRShaderBase::executeSyncImpl(). Referenced by executeSync(), and osg::DVRSimpleLUTShaderBase::executeSyncImpl(). 00193 { 00194 00195 Inherited::executeSyncImpl(pOther, whichField); 00196 00197 00198 }
|
|
||||||||||||
|
Reimplemented from osg::DVRShaderBase. Reimplemented in osg::DVRMtexLUTShaderBase, and osg::DVRSimpleLUTShaderBase. Definition at line 113 of file OSGDVRSimpleShaderBase.cpp. References executeSyncImpl(). 00115 { 00116 this->executeSyncImpl((DVRSimpleShaderBase *) &other, whichField); 00117 }
|
|
|
|
|
||||||||||||
|
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.
|
|
||||||||||||
|
Definition at line 182 of file OSGDVRShaderBase.cpp. References osg::FieldContainer::executeSyncImpl(). Referenced by osg::DVRShaderBase::executeSync(), 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().
|
|
|
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 }
|
|
||||||||||||||||
|
||||||||||