OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
osgSim::ImpostorSprite Class Reference

#include <ImpostorSprite.h>

Inheritance diagram for osgSim::ImpostorSprite:
Inheritance graph
[legend]
Collaboration diagram for osgSim::ImpostorSprite:
Collaboration graph
[legend]

Public Member Functions

 ImpostorSprite ()
 
virtual osg::ObjectcloneType () const
 
virtual osg::Objectclone (const osg::CopyOp &) const
 
virtual bool isSameKindAs (const osg::Object *obj) const
 
virtual const char * libraryName () const
 
virtual const char * className () const
 
void setParent (Impostor *parent)
 
ImpostorgetParent ()
 
const ImpostorgetParent () const
 
void setStoredLocalEyePoint (const osg::Vec3 &v)
 
const osg::Vec3getStoredLocalEyePoint () const
 
void setLastFrameUsed (unsigned int frameNumber)
 
unsigned int getLastFrameUsed () const
 
osg::Vec3getCoords ()
 
const osg::Vec3getCoords () const
 
osg::Vec2getTexCoords ()
 
const osg::Vec2getTexCoords () const
 
osg::Vec3getControlCoords ()
 
const osg::Vec3getControlCoords () const
 
float calcPixelError (const osg::Matrix &MVPW) const
 
void setTexture (osg::Texture2D *tex, int s, int t)
 
osg::Texture2DgetTexture ()
 
const osg::Texture2DgetTexture () const
 
int s () const
 
int t () const
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 
virtual bool supports (const Drawable::AttributeFunctor &) const
 
virtual void accept (Drawable::AttributeFunctor &af)
 
virtual bool supports (const Drawable::ConstAttributeFunctor &) const
 
virtual void accept (Drawable::ConstAttributeFunctor &af) const
 
virtual bool supports (const osg::PrimitiveFunctor &) const
 
virtual void accept (osg::PrimitiveFunctor &pf) const
 
virtual osg::BoundingBox computeBoundingBox () const
 
void setCamera (osg::Camera *camera)
 
osg::CameragetCamera ()
 
const osg::CameragetCamera () const
 
- Public Member Functions inherited from osg::Drawable
 Drawable ()
 
 Drawable (const Drawable &drawable, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 
 META_Node (osg, Drawable)
 
virtual DrawableasDrawable ()
 
virtual const DrawableasDrawable () const
 
virtual void computeDataVariance ()
 
MatrixList getWorldMatrices (const osg::Node *haltTraversalAtNode=0) const
 
void setInitialBound (const osg::BoundingBox &bbox)
 
const BoundingBoxgetInitialBound () const
 
const BoundingSpheregetBound () const
 
const BoundingBoxgetBoundingBox () const
 
virtual BoundingSphere computeBound () const
 
void setComputeBoundingBoxCallback (ComputeBoundingBoxCallback *callback)
 
ComputeBoundingBoxCallbackgetComputeBoundingBoxCallback ()
 
const ComputeBoundingBoxCallbackgetComputeBoundingBoxCallback () const
 
void setShape (Shape *shape)
 
ShapegetShape ()
 
const ShapegetShape () const
 
void setSupportsDisplayList (bool flag)
 
bool getSupportsDisplayList () const
 
void setUseDisplayList (bool flag)
 
bool getUseDisplayList () const
 
GLuint & getDisplayList (unsigned int contextID) const
 
virtual void setUseVertexBufferObjects (bool flag)
 
bool getUseVertexBufferObjects () const
 
virtual void dirtyDisplayList ()
 
virtual unsigned int getGLObjectSizeHint () const
 
void draw (RenderInfo &renderInfo) const
 
virtual void compileGLObjects (RenderInfo &renderInfo) const
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
virtual void resizeGLObjectBuffers (unsigned int maxSize)
 
virtual void releaseGLObjects (State *state=0) const
 
virtual void setDrawCallback (DrawCallback *dc)
 
DrawCallbackgetDrawCallback ()
 
const DrawCallbackgetDrawCallback () const
 
virtual bool supports (const AttributeFunctor &) const
 
virtual void accept (AttributeFunctor &)
 
virtual bool supports (const ConstAttributeFunctor &) const
 
virtual void accept (ConstAttributeFunctor &) const
 
virtual bool supports (const PrimitiveIndexFunctor &) const
 
virtual void accept (PrimitiveIndexFunctor &) const
 
- Public Member Functions inherited from osg::Node
 Node ()
 
 Node (const Node &, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 
virtual NodeasNode ()
 
virtual const NodeasNode () const
 
virtual GeometryasGeometry ()
 
virtual const GeometryasGeometry () const
 
virtual GroupasGroup ()
 
virtual const GroupasGroup () const
 
virtual TransformasTransform ()
 
virtual const TransformasTransform () const
 
virtual CameraasCamera ()
 
virtual const CameraasCamera () const
 
virtual SwitchasSwitch ()
 
virtual const SwitchasSwitch () const
 
virtual GeodeasGeode ()
 
virtual const GeodeasGeode () const
 
virtual osgTerrain::TerrainasTerrain ()
 
virtual const osgTerrain::TerrainasTerrain () const
 
virtual void accept (NodeVisitor &nv)
 
virtual void ascend (NodeVisitor &nv)
 
virtual void traverse (NodeVisitor &)
 
const ParentListgetParents () const
 
ParentList getParents ()
 
GroupgetParent (unsigned int i)
 
const GroupgetParent (unsigned int i) const
 
unsigned int getNumParents () const
 
NodePathList getParentalNodePaths (osg::Node *haltTraversalAtNode=0) const
 
MatrixList getWorldMatrices (const osg::Node *haltTraversalAtNode=0) const
 
void setUpdateCallback (Callback *nc)
 
CallbackgetUpdateCallback ()
 
const CallbackgetUpdateCallback () const
 
void addUpdateCallback (Callback *nc)
 
void removeUpdateCallback (Callback *nc)
 
unsigned int getNumChildrenRequiringUpdateTraversal () const
 
void setEventCallback (Callback *nc)
 
CallbackgetEventCallback ()
 
const CallbackgetEventCallback () const
 
void addEventCallback (Callback *nc)
 
void removeEventCallback (Callback *nc)
 
unsigned int getNumChildrenRequiringEventTraversal () const
 
void setCullCallback (Callback *nc)
 
CallbackgetCullCallback ()
 
const CallbackgetCullCallback () const
 
void addCullCallback (Callback *nc)
 
void removeCullCallback (Callback *nc)
 
void setCullingActive (bool active)
 
bool getCullingActive () const
 
unsigned int getNumChildrenWithCullingDisabled () const
 
bool isCullingActive () const
 
unsigned int getNumChildrenWithOccluderNodes () const
 
bool containsOccluderNodes () const
 
void setNodeMask (NodeMask nm)
 
NodeMask getNodeMask () const
 
void setStateSet (osg::StateSet *stateset)
 
osg::StateSetgetOrCreateStateSet ()
 
osg::StateSetgetStateSet ()
 
const osg::StateSetgetStateSet () const
 
void setDescriptions (const DescriptionList &descriptions)
 
DescriptionListgetDescriptions ()
 
const DescriptionListgetDescriptions () const
 
const std::string & getDescription (unsigned int i) const
 
std::string & getDescription (unsigned int i)
 
unsigned int getNumDescriptions () const
 
void addDescription (const std::string &desc)
 
void setInitialBound (const osg::BoundingSphere &bsphere)
 
const BoundingSpheregetInitialBound () const
 
void dirtyBound ()
 
const BoundingSpheregetBound () const
 
void setComputeBoundingSphereCallback (ComputeBoundingSphereCallback *callback)
 
ComputeBoundingSphereCallbackgetComputeBoundingSphereCallback ()
 
const
ComputeBoundingSphereCallback
getComputeBoundingSphereCallback () const
 
- Public Member Functions inherited from osg::Object
 Object ()
 
 Object (bool threadSafeRefUnref)
 
 Object (const Object &, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 
std::string getCompoundClassName () const
 
virtual NodeVisitorasNodeVisitor ()
 
virtual const NodeVisitorasNodeVisitor () const
 
virtual StateAttributeasStateAttribute ()
 
virtual const StateAttributeasStateAttribute () const
 
virtual UniformasUniform ()
 
virtual const UniformasUniform () const
 
virtual void setName (const std::string &name)
 
void setName (const char *name)
 
const std::string & getName () const
 
void setDataVariance (DataVariance dv)
 
DataVariance getDataVariance () const
 
void setUserDataContainer (osg::UserDataContainer *udc)
 
osg::UserDataContainergetUserDataContainer ()
 
const osg::UserDataContainergetUserDataContainer () const
 
osg::UserDataContainergetOrCreateUserDataContainer ()
 
virtual void setUserData (Referenced *obj)
 
virtual ReferencedgetUserData ()
 
virtual const ReferencedgetUserData () const
 
template<typename T >
bool getUserValue (const std::string &name, T &value) const
 
template<typename T >
void setUserValue (const std::string &name, const T &value)
 
template<typename T >
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject
BoundingBoxdValueObject
BoundingSpheredValueObject
bool 
getUserValue (const std::string &name, T &value) const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Public Attributes

osg::Vec4 _color
 

Protected Member Functions

 ImpostorSprite (const ImpostorSprite &)
 
ImpostorSpriteoperator= (const ImpostorSprite &)
 
virtual ~ImpostorSprite ()
 
- Protected Member Functions inherited from osg::Drawable
Drawableoperator= (const Drawable &)
 
virtual ~Drawable ()
 
void setBound (const BoundingBox &bb) const
 
- Protected Member Functions inherited from osg::Node
virtual ~Node ()
 
void addParent (osg::Group *parent)
 
void removeParent (osg::Group *parent)
 
void setNumChildrenRequiringUpdateTraversal (unsigned int num)
 
void setNumChildrenRequiringEventTraversal (unsigned int num)
 
void setNumChildrenWithCullingDisabled (unsigned int num)
 
void setNumChildrenWithOccluderNodes (unsigned int num)
 
- Protected Member Functions inherited from osg::Object
virtual ~Object ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Protected Attributes

Impostor_parent
 
osg::ref_ptr< osg::Camera_camera
 
ImpostorSpriteManager_ism
 
ImpostorSprite_previous
 
ImpostorSprite_next
 
unsigned int _lastFrameUsed
 
osg::Vec3 _storedLocalEyePoint
 
osg::Vec3 _coords [4]
 
osg::Vec2 _texcoords [4]
 
osg::Vec3 _controlcoords [4]
 
osg::Texture2D_texture
 
int _s
 
int _t
 
- Protected Attributes inherited from osg::Drawable
BoundingBox _initialBound
 
ref_ptr
< ComputeBoundingBoxCallback
_computeBoundCallback
 
BoundingBox _boundingBox
 
bool _boundingBoxComputed
 
ref_ptr< Shape_shape
 
bool _supportsDisplayList
 
bool _useDisplayList
 
bool _supportsVertexBufferObjects
 
bool _useVertexBufferObjects
 
GLObjectList _globjList
 
ref_ptr< UpdateCallback_drawableUpdateCallback
 
ref_ptr< EventCallback_drawableEventCallback
 
ref_ptr< CullCallback_drawableCullCallback
 
ref_ptr< DrawCallback_drawCallback
 
- Protected Attributes inherited from osg::Node
BoundingSphere _initialBound
 
ref_ptr
< ComputeBoundingSphereCallback
_computeBoundCallback
 
BoundingSphere _boundingSphere
 
bool _boundingSphereComputed
 
ParentList _parents
 
ref_ptr< Callback_updateCallback
 
unsigned int _numChildrenRequiringUpdateTraversal
 
ref_ptr< Callback_eventCallback
 
unsigned int _numChildrenRequiringEventTraversal
 
ref_ptr< Callback_cullCallback
 
bool _cullingActive
 
unsigned int _numChildrenWithCullingDisabled
 
unsigned int _numChildrenWithOccluderNodes
 
NodeMask _nodeMask
 
ref_ptr< StateSet_stateset
 
- Protected Attributes inherited from osg::Object
std::string _name
 
DataVariance _dataVariance
 
osg::UserDataContainer_userDataContainer
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Friends

class osgSim::ImpostorSpriteManager
 

Additional Inherited Members

- Public Types inherited from osg::Drawable
enum  AttributeTypes {
  VERTICES = 0, WEIGHTS = 1, NORMALS = 2, COLORS = 3,
  SECONDARY_COLORS = 4, FOG_COORDS = 5, ATTRIBUTE_6 = 6, ATTRIBUTE_7 = 7,
  TEXTURE_COORDS = 8, TEXTURE_COORDS_0 = TEXTURE_COORDS, TEXTURE_COORDS_1 = TEXTURE_COORDS_0+1, TEXTURE_COORDS_2 = TEXTURE_COORDS_0+2,
  TEXTURE_COORDS_3 = TEXTURE_COORDS_0+3, TEXTURE_COORDS_4 = TEXTURE_COORDS_0+4, TEXTURE_COORDS_5 = TEXTURE_COORDS_0+5, TEXTURE_COORDS_6 = TEXTURE_COORDS_0+6,
  TEXTURE_COORDS_7 = TEXTURE_COORDS_0+7
}
 
typedef unsigned int AttributeType
 
- Public Types inherited from osg::Node
typedef std::vector< Group * > ParentList
 
typedef unsigned int NodeMask
 
typedef std::vector< std::string > DescriptionList
 
- Public Types inherited from osg::Object
enum  DataVariance { DYNAMIC, STATIC, UNSPECIFIED }
 
- Static Public Member Functions inherited from osg::Drawable
static GLuint generateDisplayList (unsigned int contextID, unsigned int sizeHint=0)
 
static void setMinimumNumberOfDisplayListsToRetainInCache (unsigned int minimum)
 
static unsigned int getMinimumNumberOfDisplayListsToRetainInCache ()
 
static void deleteDisplayList (unsigned int contextID, GLuint globj, unsigned int sizeHint=0)
 
static void flushAllDeletedDisplayLists (unsigned int contextID)
 
static void discardAllDeletedDisplayLists (unsigned int contextID)
 
static void flushDeletedDisplayLists (unsigned int contextID, double &availableTime)
 
- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 
- Static Public Attributes inherited from osg::Drawable
static unsigned int s_numberDrawablesReusedLastInLastFrame
 
static unsigned int s_numberNewDrawablesInLastFrame
 
static unsigned int s_numberDeletedDrawablesInLastFrame
 
- Protected Types inherited from osg::Drawable
typedef osg::buffered_value
< GLuint > 
GLObjectList
 

Detailed Description

An ImposterSprite is a textured quad which is rendered in place of 3D geometry. The ImposterSprite is generated by rendering the original 3D geometry to a texture as an image cache. The ImpostorSprite is automatically generated by the osgUtil::CullVisitor so it not necessary to deal with it directly.

Definition at line 38 of file ImpostorSprite.h.

Constructor & Destructor Documentation

osgSim::ImpostorSprite::ImpostorSprite ( )
osgSim::ImpostorSprite::ImpostorSprite ( const ImpostorSprite )
protected
virtual osgSim::ImpostorSprite::~ImpostorSprite ( )
protectedvirtual

Member Function Documentation

virtual void osgSim::ImpostorSprite::accept ( Drawable::AttributeFunctor &  af)
virtual

Accept an Drawable::AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has.

virtual void osgSim::ImpostorSprite::accept ( Drawable::ConstAttributeFunctor &  af) const
virtual

Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has.

virtual void osgSim::ImpostorSprite::accept ( osg::PrimitiveFunctor pf) const
virtual

Accept a PrimtiveFunctor and call its methods to tell it about the internal primitives that this Drawable has.

Reimplemented from osg::Drawable.

float osgSim::ImpostorSprite::calcPixelError ( const osg::Matrix MVPW) const

Calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space.

virtual const char* osgSim::ImpostorSprite::className ( ) const
inlinevirtual

return the name of the node's class type.

Reimplemented from osg::Node.

Definition at line 53 of file ImpostorSprite.h.

virtual osg::Object* osgSim::ImpostorSprite::clone ( const osg::CopyOp ) const
inlinevirtual

Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite.

Reimplemented from osg::Node.

Definition at line 50 of file ImpostorSprite.h.

virtual osg::Object* osgSim::ImpostorSprite::cloneType ( ) const
inlinevirtual

Clone an object of the same type as an ImpostorSprite.

Reimplemented from osg::Node.

Definition at line 45 of file ImpostorSprite.h.

virtual osg::BoundingBox osgSim::ImpostorSprite::computeBoundingBox ( ) const
virtual

Compute the bounding box around Drawables's geometry.

Reimplemented from osg::Drawable.

virtual void osgSim::ImpostorSprite::drawImplementation ( osg::RenderInfo renderInfo) const
virtual

Draw ImpostorSprite directly.

Reimplemented from osg::Drawable.

osg::Camera* osgSim::ImpostorSprite::getCamera ( )
inline

Get the camera node to use for pre rendering the impostor sprite's texture.

Definition at line 158 of file ImpostorSprite.h.

const osg::Camera* osgSim::ImpostorSprite::getCamera ( ) const
inline

Get the const camera node to use for pre rendering the impostor sprite's texture.

Definition at line 161 of file ImpostorSprite.h.

osg::Vec3* osgSim::ImpostorSprite::getControlCoords ( )
inline

Get the control coordinates of the corners of the quad. The control coordinates are the corners of the quad projected out onto the front face of bounding box which enclosed the impostor geometry when it was pre-rendered into the impostor sprite's texture. At the point of creation/or update of the impostor sprite the control coords will lie on top of the corners of the quad in screen space - with a pixel error of zero. Once the camera moves relative to the impostor sprite the control coords will no longer lie on top of the corners of the quad in screen space - a pixel error will have accumulated. This pixel error can then be used to determine whether the impostor needs to be updated. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

Definition at line 110 of file ImpostorSprite.h.

const osg::Vec3* osgSim::ImpostorSprite::getControlCoords ( ) const
inline

Get the const control coordinates of the corners of the quad.

Definition at line 113 of file ImpostorSprite.h.

osg::Vec3* osgSim::ImpostorSprite::getCoords ( )
inline

Get the coordinates of the corners of the quad. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

Definition at line 83 of file ImpostorSprite.h.

const osg::Vec3* osgSim::ImpostorSprite::getCoords ( ) const
inline

Get the const coordinates of the corners of the quad.

Definition at line 86 of file ImpostorSprite.h.

unsigned int osgSim::ImpostorSprite::getLastFrameUsed ( ) const
inline

Get the frame number for when the ImpostorSprite was last used in rendering.

Definition at line 77 of file ImpostorSprite.h.

Impostor* osgSim::ImpostorSprite::getParent ( )
inline

Get the parent, which is an Impostor.

Definition at line 62 of file ImpostorSprite.h.

const Impostor* osgSim::ImpostorSprite::getParent ( ) const
inline

Get the const parent, which is an Impostor.

Definition at line 65 of file ImpostorSprite.h.

const osg::Vec3& osgSim::ImpostorSprite::getStoredLocalEyePoint ( ) const
inline

Get the eye point for when the ImpostorSprite was snapped.

Definition at line 71 of file ImpostorSprite.h.

osg::Vec2* osgSim::ImpostorSprite::getTexCoords ( )
inline

Get the texture coordinates of the corners of the quad. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

Definition at line 93 of file ImpostorSprite.h.

const osg::Vec2* osgSim::ImpostorSprite::getTexCoords ( ) const
inline

Get the const texture coordinates of the corners of the quad.

Definition at line 96 of file ImpostorSprite.h.

osg::Texture2D* osgSim::ImpostorSprite::getTexture ( )
inline

Definition at line 122 of file ImpostorSprite.h.

const osg::Texture2D* osgSim::ImpostorSprite::getTexture ( ) const
inline

Definition at line 123 of file ImpostorSprite.h.

virtual bool osgSim::ImpostorSprite::isSameKindAs ( const osg::Object obj) const
inlinevirtual

return true if this and obj are of the same kind of object.

Reimplemented from osg::Node.

Definition at line 51 of file ImpostorSprite.h.

virtual const char* osgSim::ImpostorSprite::libraryName ( ) const
inlinevirtual

return the name of the node's library.

Reimplemented from osg::Node.

Definition at line 52 of file ImpostorSprite.h.

ImpostorSprite& osgSim::ImpostorSprite::operator= ( const ImpostorSprite )
inlineprotected

Definition at line 166 of file ImpostorSprite.h.

int osgSim::ImpostorSprite::s ( ) const
inline

Definition at line 125 of file ImpostorSprite.h.

void osgSim::ImpostorSprite::setCamera ( osg::Camera camera)
inline

Set the camera node to use for pre rendering the impostor sprite's texture.

Definition at line 155 of file ImpostorSprite.h.

void osgSim::ImpostorSprite::setLastFrameUsed ( unsigned int  frameNumber)
inline

Set the frame number for when the ImpostorSprite was last used in rendering.

Definition at line 74 of file ImpostorSprite.h.

void osgSim::ImpostorSprite::setParent ( Impostor parent)
inline

Set the parent, which must be an Impostor. Unlike conventional Drawables, ImpostorSprites can only ever have one parent.

Definition at line 59 of file ImpostorSprite.h.

void osgSim::ImpostorSprite::setStoredLocalEyePoint ( const osg::Vec3 v)
inline

Set the eye point for when the ImpostorSprite was snapped.

Definition at line 68 of file ImpostorSprite.h.

void osgSim::ImpostorSprite::setTexture ( osg::Texture2D tex,
int  s,
int  t 
)
virtual bool osgSim::ImpostorSprite::supports ( const Drawable::AttributeFunctor &  ) const
inlinevirtual

Return true, osg::ImpostorSprite does support accept(Drawable::AttributeFunctor&).

Definition at line 132 of file ImpostorSprite.h.

virtual bool osgSim::ImpostorSprite::supports ( const Drawable::ConstAttributeFunctor &  ) const
inlinevirtual

Return true, osg::ImpostorSprite does support accept(Drawable::ConstAttributeFunctor&).

Definition at line 138 of file ImpostorSprite.h.

virtual bool osgSim::ImpostorSprite::supports ( const osg::PrimitiveFunctor ) const
inlinevirtual

Return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&).

Reimplemented from osg::Drawable.

Definition at line 144 of file ImpostorSprite.h.

int osgSim::ImpostorSprite::t ( ) const
inline

Definition at line 126 of file ImpostorSprite.h.

Friends And Related Function Documentation

friend class osgSim::ImpostorSpriteManager
friend

Definition at line 172 of file ImpostorSprite.h.

Member Data Documentation

osg::ref_ptr<osg::Camera> osgSim::ImpostorSprite::_camera
protected

Definition at line 175 of file ImpostorSprite.h.

osg::Vec4 osgSim::ImpostorSprite::_color

Definition at line 150 of file ImpostorSprite.h.

osg::Vec3 osgSim::ImpostorSprite::_controlcoords[4]
protected

Definition at line 189 of file ImpostorSprite.h.

osg::Vec3 osgSim::ImpostorSprite::_coords[4]
protected

Definition at line 187 of file ImpostorSprite.h.

ImpostorSpriteManager* osgSim::ImpostorSprite::_ism
protected

Definition at line 179 of file ImpostorSprite.h.

unsigned int osgSim::ImpostorSprite::_lastFrameUsed
protected

Definition at line 183 of file ImpostorSprite.h.

ImpostorSprite* osgSim::ImpostorSprite::_next
protected

Definition at line 181 of file ImpostorSprite.h.

Impostor* osgSim::ImpostorSprite::_parent
protected

Definition at line 170 of file ImpostorSprite.h.

ImpostorSprite* osgSim::ImpostorSprite::_previous
protected

Definition at line 180 of file ImpostorSprite.h.

int osgSim::ImpostorSprite::_s
protected

Definition at line 192 of file ImpostorSprite.h.

osg::Vec3 osgSim::ImpostorSprite::_storedLocalEyePoint
protected

Definition at line 185 of file ImpostorSprite.h.

int osgSim::ImpostorSprite::_t
protected

Definition at line 193 of file ImpostorSprite.h.

osg::Vec2 osgSim::ImpostorSprite::_texcoords[4]
protected

Definition at line 188 of file ImpostorSprite.h.

osg::Texture2D* osgSim::ImpostorSprite::_texture
protected

Definition at line 191 of file ImpostorSprite.h.


The documentation for this class was generated from the following file: