#include <OSGTexGenChunkBase.h>
Inheritance diagram for osg::TexGenChunkBase:

Public Types | |
| typedef TexGenChunkPtr | Ptr |
| enum | { GenFuncSFieldId = Inherited::NextFieldId, GenFuncTFieldId = GenFuncSFieldId + 1, GenFuncRFieldId = GenFuncTFieldId + 1, GenFuncQFieldId = GenFuncRFieldId + 1, GenFuncSPlaneFieldId = GenFuncQFieldId + 1, GenFuncTPlaneFieldId = GenFuncSPlaneFieldId + 1, GenFuncRPlaneFieldId = GenFuncTPlaneFieldId + 1, GenFuncQPlaneFieldId = GenFuncRPlaneFieldId + 1, SBeaconFieldId = GenFuncQPlaneFieldId + 1, TBeaconFieldId = SBeaconFieldId + 1, RBeaconFieldId = TBeaconFieldId + 1, QBeaconFieldId = RBeaconFieldId + 1, NextFieldId = QBeaconFieldId + 1 } |
Public Member Functions | |
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) |
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) |
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) |
FieldContainer Get | |
| *virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| *SFGLenum * | getSFGenFuncS (void) |
| Get the TexGenChunk::_sfGenFuncS field. | |
| SFGLenum * | getSFGenFuncT (void) |
| Get the TexGenChunk::_sfGenFuncT field. | |
| SFGLenum * | getSFGenFuncR (void) |
| Get the TexGenChunk::_sfGenFuncR field. | |
| SFGLenum * | getSFGenFuncQ (void) |
| Get the TexGenChunk::_sfGenFuncQ field. | |
| SFVec4f * | getSFGenFuncSPlane (void) |
| Get the TexGenChunk::_sfGenFuncSPlane field. | |
| SFVec4f * | getSFGenFuncTPlane (void) |
| Get the TexGenChunk::_sfGenFuncTPlane field. | |
| SFVec4f * | getSFGenFuncRPlane (void) |
| Get the TexGenChunk::_sfGenFuncRPlane field. | |
| SFVec4f * | getSFGenFuncQPlane (void) |
| Get the TexGenChunk::_sfGenFuncQPlane field. | |
| SFNodePtr * | getSFSBeacon (void) |
| Get the TexGenChunk::_sfSBeacon field. | |
| SFNodePtr * | getSFTBeacon (void) |
| Get the TexGenChunk::_sfTBeacon field. | |
| SFNodePtr * | getSFRBeacon (void) |
| Get the TexGenChunk::_sfRBeacon field. | |
| SFNodePtr * | getSFQBeacon (void) |
| Get the TexGenChunk::_sfQBeacon field. | |
| GLenum & | getGenFuncS (void) |
| Get the value of the TexGenChunk::_sfGenFuncS field. | |
| const GLenum & | getGenFuncS (void) const |
| Get the value of the TexGenChunk::_sfGenFuncS field. | |
| GLenum & | getGenFuncT (void) |
| Get the value of the TexGenChunk::_sfGenFuncT field. | |
| const GLenum & | getGenFuncT (void) const |
| Get the value of the TexGenChunk::_sfGenFuncT field. | |
| GLenum & | getGenFuncR (void) |
| Get the value of the TexGenChunk::_sfGenFuncR field. | |
| const GLenum & | getGenFuncR (void) const |
| Get the value of the TexGenChunk::_sfGenFuncR field. | |
| GLenum & | getGenFuncQ (void) |
| Get the value of the TexGenChunk::_sfGenFuncQ field. | |
| const GLenum & | getGenFuncQ (void) const |
| Get the value of the TexGenChunk::_sfGenFuncQ field. | |
| Vec4f & | getGenFuncSPlane (void) |
| Get the value of the TexGenChunk::_sfGenFuncSPlane field. | |
| const Vec4f & | getGenFuncSPlane (void) const |
| Get the value of the TexGenChunk::_sfGenFuncSPlane field. | |
| Vec4f & | getGenFuncTPlane (void) |
| Get the value of the TexGenChunk::_sfGenFuncTPlane field. | |
| const Vec4f & | getGenFuncTPlane (void) const |
| Get the value of the TexGenChunk::_sfGenFuncTPlane field. | |
| Vec4f & | getGenFuncRPlane (void) |
| Get the value of the TexGenChunk::_sfGenFuncRPlane field. | |
| const Vec4f & | getGenFuncRPlane (void) const |
| Get the value of the TexGenChunk::_sfGenFuncRPlane field. | |
| Vec4f & | getGenFuncQPlane (void) |
| Get the value of the TexGenChunk::_sfGenFuncQPlane field. | |
| const Vec4f & | getGenFuncQPlane (void) const |
| Get the value of the TexGenChunk::_sfGenFuncQPlane field. | |
| NodePtr & | getSBeacon (void) |
| Get the value of the TexGenChunk::_sfSBeacon field. | |
| const NodePtr & | getSBeacon (void) const |
| Get the value of the TexGenChunk::_sfSBeacon field. | |
| NodePtr & | getTBeacon (void) |
| Get the value of the TexGenChunk::_sfTBeacon field. | |
| const NodePtr & | getTBeacon (void) const |
| Get the value of the TexGenChunk::_sfTBeacon field. | |
| NodePtr & | getRBeacon (void) |
| Get the value of the TexGenChunk::_sfRBeacon field. | |
| const NodePtr & | getRBeacon (void) const |
| Get the value of the TexGenChunk::_sfRBeacon field. | |
| NodePtr & | getQBeacon (void) |
| Get the value of the TexGenChunk::_sfQBeacon field. | |
| const NodePtr & | getQBeacon (void) const |
| Get the value of the TexGenChunk::_sfQBeacon field. | |
Field Set | |
| *void | setGenFuncS (const GLenum &value) |
| Set the value of the TexGenChunk::_sfGenFuncS field. | |
| void | setGenFuncT (const GLenum &value) |
| Set the value of the TexGenChunk::_sfGenFuncT field. | |
| void | setGenFuncR (const GLenum &value) |
| Set the value of the TexGenChunk::_sfGenFuncR field. | |
| void | setGenFuncQ (const GLenum &value) |
| Set the value of the TexGenChunk::_sfGenFuncQ field. | |
| void | setGenFuncSPlane (const Vec4f &value) |
| Set the value of the TexGenChunk::_sfGenFuncSPlane field. | |
| void | setGenFuncTPlane (const Vec4f &value) |
| Set the value of the TexGenChunk::_sfGenFuncTPlane field. | |
| void | setGenFuncRPlane (const Vec4f &value) |
| Set the value of the TexGenChunk::_sfGenFuncRPlane field. | |
| void | setGenFuncQPlane (const Vec4f &value) |
| Set the value of the TexGenChunk::_sfGenFuncQPlane field. | |
| void | setSBeacon (const NodePtr &value) |
| Set the value of the TexGenChunk::_sfSBeacon field. | |
| void | setTBeacon (const NodePtr &value) |
| Set the value of the TexGenChunk::_sfTBeacon field. | |
| void | setRBeacon (const NodePtr &value) |
| Set the value of the TexGenChunk::_sfRBeacon field. | |
| void | setQBeacon (const NodePtr &value) |
| Set the value of the TexGenChunk::_sfQBeacon field. | |
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 |
Chunk Class Access | |
| *UInt32 | getClassId (void) const |
| virtual const StateChunkClass * | getClass (void) const |
Sync | |
| *virtual void | changed (BitVector whichField, UInt32 origin) |
Output | |
| *virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
State | |
| *virtual void | activate (DrawActionBase *action, UInt32 index=0) |
| virtual void | changeFrom (DrawActionBase *action, StateChunk *old, UInt32 index=0) |
| virtual void | deactivate (DrawActionBase *action, UInt32 index=0) |
| virtual bool | isTransparent (void) const |
Comparison | |
| *virtual Real32 | switchCost (StateChunk *chunk) |
| virtual bool | operator< (const StateChunk &other) const |
| virtual bool | operator== (const StateChunk &other) const |
| virtual bool | operator!= (const StateChunk &other) const |
Parents | |
| *MFFieldContainerPtr & | getParents (void) |
| const MFFieldContainerPtr & | getParents (void) const |
| MFFieldContainerPtr * | getMFParents (void) |
| void | addParent (FieldContainerPtr parent) |
| void | subParent (FieldContainerPtr parent) |
| Int32 | findParent (FieldContainerPtr parent) |
Parents | |
| *SFBool & | getInternal (void) |
| const SFBool & | getInternal (void) const |
| SFBool * | getSFInternal (void) |
| void | setInternal (bool bVal) |
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) |
Static Public Member Functions | |
Get Class Type Information | |
| static UInt16 | getClassGroupId (void) |
Get Class Type Information | |
| static UInt16 | getClassGroupId (void) |
Get Class Type Information | |
| static UInt16 | getClassGroupId (void) |
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 TexGenChunkPtr | create (void) |
| create a new instance of the class | |
| static TexGenChunkPtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Static Chunk Class Access | |
| *static UInt32 | getStaticClassId (void) |
| static const StateChunkClass * | getStaticClass (void) |
Get Class Type Information | |
| static UInt16 | getClassGroupId (void) |
Static Public Attributes | |
| static const osg::BitVector | GenFuncSFieldMask |
| static const osg::BitVector | GenFuncTFieldMask |
| static const osg::BitVector | GenFuncRFieldMask |
| static const osg::BitVector | GenFuncQFieldMask |
| static const osg::BitVector | GenFuncSPlaneFieldMask |
| static const osg::BitVector | GenFuncTPlaneFieldMask |
| static const osg::BitVector | GenFuncRPlaneFieldMask |
| static const osg::BitVector | GenFuncQPlaneFieldMask |
| static const osg::BitVector | SBeaconFieldMask |
| static const osg::BitVector | TBeaconFieldMask |
| static const osg::BitVector | RBeaconFieldMask |
| static const osg::BitVector | QBeaconFieldMask |
| static const osg::BitVector | MTInfluenceMask |
| static const BitVector | InternalFieldMask = (1 << Attachment::InternalFieldId) |
| static const BitVector | ParentsFieldMask = (1 << Attachment::ParentsFieldId) |
| static const BitVector | NextFieldMask |
CoredNodePtr helper | |
| static const bool | isNodeCore = false |
CoredNodePtr helper | |
| static const bool | isNodeCore = false |
Protected Member Functions | |
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) |
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) |
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) |
Constructors | |
| * | TexGenChunkBase (void) |
| TexGenChunkBase (const TexGenChunkBase &source) | |
Destructors | |
| *virtual | ~TexGenChunkBase (void) |
Sync | |
| *void | executeSyncImpl (TexGenChunkBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Sync | |
| *void | executeSyncImpl (StateChunkBase *pOther, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (Attachment *pOther, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (FieldContainer *pOther, const BitVector &whichField) |
MT Destruction | |
| *virtual void | onDestroy (void) |
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) |
Static Protected Member Functions | |
| static void | initMethod (void) |
Create Fieldcontainer | |
| template<class ObjectPtrT> | |
| *static void | newPtr (ObjectPtrT &result, const typename ObjectPtrT::StoredObjectType *prototypeP) |
| template<class ObjectPtrT> | |
| static void | newPtr (ObjectPtrT &result) |
Create Fieldcontainer | |
| template<class ObjectPtrT> | |
| *static void | newPtr (ObjectPtrT &result, const typename ObjectPtrT::StoredObjectType *prototypeP) |
| template<class ObjectPtrT> | |
| static void | newPtr (ObjectPtrT &result) |
Create Fieldcontainer | |
| template<class ObjectPtrT> | |
| *static void | newPtr (ObjectPtrT &result, const typename ObjectPtrT::StoredObjectType *prototypeP) |
| template<class ObjectPtrT> | |
| static void | newPtr (ObjectPtrT &result) |
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 |
Member | |
| *UInt32 | _shares |
Member | |
| *UInt32 | _shares |
Fields | |
| *SFGLenum | _sfGenFuncS |
| SFGLenum | _sfGenFuncT |
| SFGLenum | _sfGenFuncR |
| SFGLenum | _sfGenFuncQ |
| SFVec4f | _sfGenFuncSPlane |
| SFVec4f | _sfGenFuncTPlane |
| SFVec4f | _sfGenFuncRPlane |
| SFVec4f | _sfGenFuncQPlane |
| SFNodePtr | _sfSBeacon |
| SFNodePtr | _sfTBeacon |
| SFNodePtr | _sfRBeacon |
| SFNodePtr | _sfQBeacon |
Fields | |
| *SFBool | _sfInternal |
| MFFieldContainerPtr | _parents |
Member | |
| *UInt32 | _shares |
Private Types | |
| typedef StateChunk | Inherited |
Private Member Functions | |
| void | operator= (const TexGenChunkBase &source) |
Static Private Attributes | |
| static FieldDescription * | _desc [] |
| TexGenChunk description. | |
| static FieldContainerType | _type |
Friends | |
| class | FieldContainer |
Definition at line 92 of file OSGTexGenChunkBase.h.
|
|
Reimplemented from osg::StateChunk. Reimplemented in osg::TexGenChunk. Definition at line 96 of file OSGTexGenChunkBase.h. |
|
|
Reimplemented from osg::StateChunkBase. Definition at line 101 of file OSGTexGenChunkBase.h. |
|
|
Reimplemented from osg::Attachment. Definition at line 103 of file OSGTexGenChunkBase.h. 00104 { 00105 GenFuncSFieldId = Inherited::NextFieldId, 00106 GenFuncTFieldId = GenFuncSFieldId + 1, 00107 GenFuncRFieldId = GenFuncTFieldId + 1, 00108 GenFuncQFieldId = GenFuncRFieldId + 1, 00109 GenFuncSPlaneFieldId = GenFuncQFieldId + 1, 00110 GenFuncTPlaneFieldId = GenFuncSPlaneFieldId + 1, 00111 GenFuncRPlaneFieldId = GenFuncTPlaneFieldId + 1, 00112 GenFuncQPlaneFieldId = GenFuncRPlaneFieldId + 1, 00113 SBeaconFieldId = GenFuncQPlaneFieldId + 1, 00114 TBeaconFieldId = SBeaconFieldId + 1, 00115 RBeaconFieldId = TBeaconFieldId + 1, 00116 QBeaconFieldId = RBeaconFieldId + 1, 00117 NextFieldId = QBeaconFieldId + 1 00118 };
|
|
|
Definition at line 289 of file OSGTexGenChunkBase.cpp. 00289 : 00290 _sfGenFuncS (GLenum(GL_NONE)), 00291 _sfGenFuncT (GLenum(GL_NONE)), 00292 _sfGenFuncR (GLenum(GL_NONE)), 00293 _sfGenFuncQ (GLenum(GL_NONE)), 00294 _sfGenFuncSPlane (Vec4f(1,0,0,0)), 00295 _sfGenFuncTPlane (Vec4f(0,1,0,0)), 00296 _sfGenFuncRPlane (Vec4f(0,0,1,0)), 00297 _sfGenFuncQPlane (Vec4f(0,0,0,1)), 00298 _sfSBeacon (), 00299 _sfTBeacon (), 00300 _sfRBeacon (), 00301 _sfQBeacon (), 00302 Inherited() 00303 { 00304 }
|
|
|
Definition at line 310 of file OSGTexGenChunkBase.cpp. 00310 : 00311 _sfGenFuncS (source._sfGenFuncS ), 00312 _sfGenFuncT (source._sfGenFuncT ), 00313 _sfGenFuncR (source._sfGenFuncR ), 00314 _sfGenFuncQ (source._sfGenFuncQ ), 00315 _sfGenFuncSPlane (source._sfGenFuncSPlane ), 00316 _sfGenFuncTPlane (source._sfGenFuncTPlane ), 00317 _sfGenFuncRPlane (source._sfGenFuncRPlane ), 00318 _sfGenFuncQPlane (source._sfGenFuncQPlane ), 00319 _sfSBeacon (source._sfSBeacon ), 00320 _sfTBeacon (source._sfTBeacon ), 00321 _sfRBeacon (source._sfRBeacon ), 00322 _sfQBeacon (source._sfQBeacon ), 00323 Inherited (source) 00324 { 00325 }
|
|
|
Definition at line 329 of file OSGTexGenChunkBase.cpp.
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 58 of file OSGTexGenChunkBase.inl. References _type. Referenced by create(). 00059 { 00060 return _type; 00061 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 65 of file OSGTexGenChunkBase.inl. References _type, and osg::TypeBase::getId(). 00066 { 00067 return _type.getId(); 00068 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 231 of file OSGTexGenChunkBase.cpp. References _type. 00232 { 00233 return _type; 00234 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 236 of file OSGTexGenChunkBase.cpp. References _type. 00237 { 00238 return _type; 00239 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 251 of file OSGTexGenChunkBase.cpp. 00252 { 00253 return sizeof(TexGenChunk); 00254 }
|
|
|
Definition at line 101 of file OSGTexGenChunkBase.inl. References _sfGenFuncS. 00102 { 00103 return &_sfGenFuncS; 00104 }
|
|
|
Definition at line 108 of file OSGTexGenChunkBase.inl. References _sfGenFuncT. 00109 { 00110 return &_sfGenFuncT; 00111 }
|
|
|
Definition at line 115 of file OSGTexGenChunkBase.inl. References _sfGenFuncR. 00116 { 00117 return &_sfGenFuncR; 00118 }
|
|
|
Definition at line 122 of file OSGTexGenChunkBase.inl. References _sfGenFuncQ. 00123 { 00124 return &_sfGenFuncQ; 00125 }
|
|
|
Definition at line 129 of file OSGTexGenChunkBase.inl. References _sfGenFuncSPlane. 00130 { 00131 return &_sfGenFuncSPlane; 00132 }
|
|
|
Definition at line 136 of file OSGTexGenChunkBase.inl. References _sfGenFuncTPlane. 00137 { 00138 return &_sfGenFuncTPlane; 00139 }
|
|
|
Definition at line 143 of file OSGTexGenChunkBase.inl. References _sfGenFuncRPlane. 00144 { 00145 return &_sfGenFuncRPlane; 00146 }
|
|
|
Definition at line 150 of file OSGTexGenChunkBase.inl. References _sfGenFuncQPlane. 00151 { 00152 return &_sfGenFuncQPlane; 00153 }
|
|
|
Definition at line 157 of file OSGTexGenChunkBase.inl. References _sfSBeacon. 00158 { 00159 return &_sfSBeacon; 00160 }
|
|
|
Definition at line 164 of file OSGTexGenChunkBase.inl. References _sfTBeacon. 00165 { 00166 return &_sfTBeacon; 00167 }
|
|
|
Definition at line 171 of file OSGTexGenChunkBase.inl. References _sfRBeacon. 00172 { 00173 return &_sfRBeacon; 00174 }
|
|