osg::PointSprite Class Reference

Inheritance diagram for osg::PointSprite:

osg::StateAttribute osg::Object osg::Referenced List of all members.

Public Member Functions

 PointSprite ()
 PointSprite (const PointSprite &texenv, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_StateAttribute (osg, PointSprite, POINTSPRITE)
virtual int compare (const StateAttribute &sa) const
virtual bool getModeUsage (ModeUsage &usage) const
virtual bool isTextureAttribute () const
virtual void apply (osg::State &state) const

Protected Member Functions

virtual ~PointSprite (void)

Detailed Description

PointSprite base class which encapsulates enabling of point sprites .


Constructor & Destructor Documentation

osg::PointSprite::PointSprite  )  [inline]
 

osg::PointSprite::PointSprite const PointSprite texenv,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY
[inline]
 

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osg::PointSprite::~PointSprite void   )  [inline, protected, virtual]
 


Member Function Documentation

virtual void osg::PointSprite::apply osg::State state  )  const [virtual]
 

apply the OpenGL state attributes. The global state for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.

Implements osg::StateAttribute.

virtual int osg::PointSprite::compare const StateAttribute sa  )  const [virtual]
 

return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

Implements osg::StateAttribute.

virtual bool osg::PointSprite::getModeUsage ModeUsage &  usage  )  const [inline, virtual]
 

virtual bool osg::PointSprite::isTextureAttribute  )  const [inline, virtual]
 

Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit.

Reimplemented from osg::StateAttribute.

osg::PointSprite::META_StateAttribute osg  ,
PointSprite  ,
POINTSPRITE 
 


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 16:33:31 2006 for openscenegraph by  doxygen 1.4.6