2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class SG_EXPORT osg::Impostor< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class SG_EXPORT < A HREF = "#DOC.DOCU" > osg::Impostor< / A > < / H2 > < / H2 > < BLOCKQUOTE > Impostor - is a form of Level Of Detail group node which allows both switching between children depending on distance from eye point and image caching.< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 185 >
< param name = classes value = "CReferenced,MReferenced.html,CObject,MObject.html,CNode,MNode.html,CGroup,MGroup.html,CLOD,MLOD.html,CImpostor,MImpostor.html" >
< param name = before value = "M,M,M,M,M,M" >
< param name = after value = "Md_SPSPSPSP,Md_SPSPSP,Md_SPSP,Md_SP,Md_,M" >
< param name = indent value = "0,1,2,3,4,5" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.39.1" > Impostor< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.39.2" > META_Node< / A > < / B > (<!1> < A HREF = "Impostor.html" > Impostor< / A > )
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.39.3" > setImpostorThreshold< / A > < / B > (float <!1> < A HREF = "Plane.html#DOC.2.66.20" > distance< / A > )
2001-09-20 05:19:47 +08:00
< DD > < I > Set the Impostor threshold distance.< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.39.4" > setImpostorThresholdToBound< / A > < / B > (float ratio=1.0f)
2001-09-20 05:19:47 +08:00
< DD > < I > Set the Impostor threshold distance relative to the node's bounding sphere's radius< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const float < B > < A HREF = "#DOC.2.39.5" > getImpostorThreshold< / A > < / B > () const
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const float < B > < A HREF = "#DOC.2.39.6" > getImpostorThreshold2< / A > < / B > () const
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "ImpostorSprite.html" > ImpostorSprite< / A > * < B > < A HREF = "#DOC.2.39.7" > findBestImpostorSprite< / A > < / B > (const <!1> < A HREF = "Vec3.html" > osg::Vec3< / A > & currLocalEyePoint)
2001-09-20 05:19:47 +08:00
< DD > < I > Find the ImposterSprite which fits the current eye point best< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.39.8" > addImpostorSprite< / A > < / B > (<!1> < A HREF = "ImpostorSprite.html" > ImpostorSprite< / A > * is)
2001-09-20 05:19:47 +08:00
< DD > < I > Add an ImpostorSprite to the Impostor< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline ImpostorSpriteList& < B > < A HREF = "#DOC.2.39.9" > getImpostorSpriteList< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DD > < I > Get the list of ImpostorSprites attached to this Impostor< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const ImpostorSpriteList& < B > < A HREF = "#DOC.2.39.10" > getImpostorSpriteList< / A > < / B > () const
2001-09-20 05:19:47 +08:00
< DD > < I > Get a const list of ImpostorSprites attached to this const Impostor< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > ImpostorSpriteList < B > < A HREF = "#DOC.2.39.13" > _impostorSpriteList< / A > < / B >
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.39.14" > _impostorThreshold< / A > < / B >
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.39.11" > ~Impostor< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const bool < B > < A HREF = "#DOC.2.39.12" > computeBound< / A > < / B > () const
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "LOD.html" > LOD< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > traverse< / B > (<!1> < A HREF = "NodeVisitor.html" > NodeVisitor< / A > & nv)
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setRange< / B > (const unsigned int index, const float range)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const float < B > getRange< / B > (const unsigned int index) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const int < B > getNumRanges< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setCenter< / B > (const <!1> < A HREF = "Vec3.html" > Vec3< / A > & <!1> < A HREF = "BoundingSphere.html#DOC.2.4.6" > center< / A > )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Vec3.html" > Vec3< / A > & < B > getCenter< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > const int < B > evaluate< / B > (const <!1> < A HREF = "Vec3.html" > Vec3< / A > & eye_local, const float bias=1.0f) const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > RangeList < B > _rangeList2< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Vec3.html" > Vec3< / A > < B > _center< / B >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Members< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > typedef std::vector< float> RangeList RangeList < B > _rangeList< / B >
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Group.html" > Group< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > addChild< / B > ( <!1> < A HREF = "Node.html" > Node< / A > * child )
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > removeChild< / B > ( <!1> < A HREF = "Node.html" > Node< / A > * child )
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > replaceChild< / B > ( <!1> < A HREF = "Node.html" > Node< / A > * origChild, <!1> < A HREF = "Node.html" > Node< / A > * newChild )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const int < B > getNumChildren< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Node.html" > Node< / A > * < B > getChild< / B > ( const int i )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Node.html" > Node< / A > * < B > getChild< / B > ( const int i ) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > containsNode< / B > ( const <!1> < A HREF = "Node.html" > Node< / A > * node ) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline ChildList::iterator < B > findNode< / B > ( const <!1> < A HREF = "Node.html" > Node< / A > * node )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline ChildList::const_iterator < B > findNode< / B > ( const <!1> < A HREF = "Node.html" > Node< / A > * node ) const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > ChildList < B > _children< / B >
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Node.html" > Node< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Object.html" > Object< / A > * < B > clone< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > isSameKindAs< / B > (const <!1> < A HREF = "Object.html" > Object< / A > * obj) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > className< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (<!1> < A HREF = "NodeVisitor.html" > NodeVisitor< / A > & nv)
< DT >
2001-09-20 05:19:47 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > ascend< / B > (<!1> < A HREF = "NodeVisitor.html" > NodeVisitor< / A > & nv)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setName< / B > ( const std::string& name )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setName< / B > ( const char* name )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const std::string& < B > getName< / B > () const
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Node.html#DOC.2.54.11" > ParentList< / A > & < B > getParents< / B > () const
2001-09-20 05:19:47 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Group.html" > Group< / A > * < B > getParent< / B > (const int i)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Group.html" > Group< / A > * < B > getParent< / B > (const int i) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const int < B > getNumParents< / B > () const
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "o" SRC = icon2.gif > void < B > setAppCallback< / B > (<!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * nc)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * < B > getAppCallback< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * < B > getAppCallback< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const int < B > getNumChildrenRequiringAppTraversal< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setUserData< / B > (void* <!1> < A HREF = "Image.html#DOC.2.36.15" > data< / A > , <!1> < A HREF = "MemoryAdapter.html" > MemoryAdapter< / A > * ma=0L)
2001-09-20 05:19:47 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void* < B > getUserData< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const void* < B > getUserData< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "MemoryAdapter.html" > MemoryAdapter< / A > * < B > getMemoryAdapter< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "MemoryAdapter.html" > MemoryAdapter< / A > * < B > getMemoryAdapter< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setNodeMask< / B > (const NodeMask nm)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const NodeMask < B > getNodeMask< / B > () const
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Node.html#DOC.2.54.27" > DescriptionList< / A > & < B > getDescriptions< / B > () const
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Node.html#DOC.2.54.27" > DescriptionList< / A > & < B > getDescriptions< / B > ()
2001-09-20 05:19:47 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const std::string& < B > getDescription< / B > (const int i) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline std::string& < B > getDescription< / B > (const int i)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const int < B > getNumDescriptions< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > addDescription< / B > (const std::string& desc)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setStateSet< / B > (<!1> < A HREF = "StateSet.html" > osg::StateSet< / A > * dstate)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "StateSet.html" > osg::StateSet< / A > * < B > getStateSet< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "StateSet.html" > osg::StateSet< / A > * < B > getStateSet< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "BoundingSphere.html" > BoundingSphere< / A > & < B > getBound< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > dirtyBound< / B > ()
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > typedef std::vector< <!1> < A HREF = "Group.html" > Group< / A > *> < B > ParentList< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > typedef std::vector< std::string> < B > DescriptionList< / B >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > mutable <!1> < A HREF = "BoundingSphere.html" > BoundingSphere< / A > < B > _bsphere< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > mutable bool < B > _bsphere_computed< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > std::string < B > _name< / B >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Node.html#DOC.2.54.11" > ParentList< / A > < B > _parents< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > > < B > _appCallback< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > int < B > _numChildrenRequiringAppTraversal< / B >
2001-09-20 05:19:47 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > void* < B > _userData< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "MemoryAdapter.html" > MemoryAdapter< / A > > < B > _memoryAdapter< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > NodeMask < B > _nodeMask< / B >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Node.html#DOC.2.54.27" > DescriptionList< / A > < B > _descriptions< / B >
2001-09-20 05:19:47 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "StateSet.html" > StateSet< / A > > < B > _dstate< / B >
< / DL > < / P >
2001-09-22 10:42:08 +08:00
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setNumChildrenRequiringAppTraversal< / B > (const int num)
< / DL > < / P >
2001-09-20 05:19:47 +08:00
< / DL >
< HR > < H3 > Inherited from < A HREF = "Object.html" > Object< / A > :< / H3 >
< DL >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Referenced.html" > Referenced< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Referenced.html" > Referenced< / A > & < B > operator = < / B > (<!1> < A HREF = "Referenced.html" > Referenced< / A > & )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > ref< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > unref< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const int < B > referenceCount< / B > () const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > mutable int < B > _refCount< / B >
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > Impostor - is a form of Level Of Detail group node which allows both switching
between children depending on distance from eye point and image caching.
< P > The principle behind Imposters is that they cache an image of real geometry and then the image is drawn
in subsequent frames instead of the real geometry. Its a bit like a
Billboard *but* is updated at runtime and w.r.t view point. By drawing
just the texture mapped quad you can cut down scene complexity and
improve performance.
< P > For more details have a look at:
< P > http://grail.cs.washington.edu/projects/hic/
< P > The OSG doesn't implement exactly the same technique as above, but its
should be a good starting place. The OSG's impostors are much less
intrusive since you don't need to restructure your whole scene to use
them.
< P > All you need to do to use Impostors is to set up the visible
range values for each LOD child of the Impostor, as per osg::LOD,
and set an Impostor threshold to tell the renderer at what distance
the Impsotor's image caching should cut in. The osg::CullVisitor
automatically handles all the setting of pre-rendering stages to
calculate the required ImpostorSprites (which encapsulates the image
cache and quad), and updates them as the view point changes. If you
use osg::SceneView/CullVisitor all the complexity of supporting
Impostor will be nicely hidden away.
< P > TODO:
Various improvements are planned for the Impostor-
1) Estimation of how many frames an ImpostorSprite will be reused, if
it won't be used more often than a minimum threshold then do not create
ImpostorSprite - use the real geometry.
2) Sharing of texture memory between ImpostorSprites.
3) Simple 3D geometry for ImpostorSprite's rather than Billboarding.
4) Shrinking of the ImpostorSprite size to more closely fit the underlying
geometry.< / BLOCKQUOTE >
< DL >
< A NAME = "Impostor" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.1" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > Impostor()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2001-09-22 10:42:08 +08:00
< A NAME = "META_Node" > < / A >
< A NAME = "DOC.2.39.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > META_Node(<!1> < A HREF = "Impostor.html" > Impostor< / A > )< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setImpostorThreshold" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setImpostorThreshold(float <!1> < A HREF = "Plane.html#DOC.2.66.20" > distance< / A > )< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DD > Set the Impostor threshold distance.
For eye points further than this threshold the Imposter is used if appropriate,
otherwise the LOD children as chosen as per a standard LOD node.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setImpostorThresholdToBound" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.4" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setImpostorThresholdToBound(float ratio=1.0f)< / B > < / TT >
< DD > Set the Impostor threshold distance relative to the node's bounding
sphere's radius
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getImpostorThreshold" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.5" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const float getImpostorThreshold() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getImpostorThreshold2" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.6" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const float getImpostorThreshold2() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "findBestImpostorSprite" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.7" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "ImpostorSprite.html" > ImpostorSprite< / A > * findBestImpostorSprite(const <!1> < A HREF = "Vec3.html" > osg::Vec3< / A > & currLocalEyePoint)< / B > < / TT >
< DD > Find the ImposterSprite which fits the current eye point best
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addImpostorSprite" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.8" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void addImpostorSprite(<!1> < A HREF = "ImpostorSprite.html" > ImpostorSprite< / A > * is)< / B > < / TT >
< DD > Add an ImpostorSprite to the Impostor
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getImpostorSpriteList" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.9" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline ImpostorSpriteList& getImpostorSpriteList()< / B > < / TT >
< DD > Get the list of ImpostorSprites attached to this Impostor
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getImpostorSpriteList" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.10" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const ImpostorSpriteList& getImpostorSpriteList() const < / B > < / TT >
< DD > Get a const list of ImpostorSprites attached to this const Impostor
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~Impostor" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.11" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~Impostor()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computeBound" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.12" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const bool computeBound() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_impostorSpriteList" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.13" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ImpostorSpriteList _impostorSpriteList< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_impostorThreshold" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.39.14" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float _impostorThreshold< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >