Internal drawable used to render batches of cells.
More...
List of all members.
Detailed Description
Internal drawable used to render batches of cells.
Member Typedef Documentation
Constructor & Destructor Documentation
osgParticle::PrecipitationEffect::PrecipitationDrawable::PrecipitationDrawable |
( |
|
) |
|
osgParticle::PrecipitationEffect::PrecipitationDrawable::PrecipitationDrawable |
( |
const PrecipitationDrawable & |
copy, |
|
|
const osg::CopyOp & |
copyop = osg::CopyOp::SHALLOW_COPY | |
|
) |
| | |
virtual osgParticle::PrecipitationEffect::PrecipitationDrawable::~PrecipitationDrawable |
( |
|
) |
[inline, protected, virtual] |
Member Function Documentation
virtual void osgParticle::PrecipitationEffect::PrecipitationDrawable::accept |
( |
osg::PrimitiveFunctor & |
|
) |
const [inline, virtual] |
Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has.
return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveFunctor only provides const access of the primitives, as primitives may be procedurally generated so one cannot modify it.
Reimplemented from osg::Drawable.
virtual void osgParticle::PrecipitationEffect::PrecipitationDrawable::accept |
( |
osg::PrimitiveIndexFunctor & |
|
) |
const [inline, virtual] |
Accept a PrimitiveIndexFunctor and call its methods to tell it about the internal primitives that this Drawable has.
return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveIndexFunctor only provide const access of the primitives, as primitives may be procedurally generated so one cannot modify it.
Reimplemented from osg::Drawable.
virtual void osgParticle::PrecipitationEffect::PrecipitationDrawable::drawImplementation |
( |
osg::RenderInfo & |
renderInfo |
) |
const [virtual] |
drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable.
drawImplementation(RenderInfo&) is called from the draw(RenderInfo&) method, with the draw method handling management of OpenGL display lists, and drawImplementation(RenderInfo&) handling the actual drawing itself.
- Parameters:
-
| renderInfo | The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context. |
Implements osg::Drawable.
CellMatrixMap& osgParticle::PrecipitationEffect::PrecipitationDrawable::getCurrentCellMatrixMap |
( |
|
) |
[inline] |
GLenum osgParticle::PrecipitationEffect::PrecipitationDrawable::getDrawType |
( |
|
) |
const [inline] |
osg::Geometry* osgParticle::PrecipitationEffect::PrecipitationDrawable::getGeometry |
( |
|
) |
[inline] |
const osg::Geometry* osgParticle::PrecipitationEffect::PrecipitationDrawable::getGeometry |
( |
|
) |
const [inline] |
unsigned int osgParticle::PrecipitationEffect::PrecipitationDrawable::getNumberOfVertices |
( |
|
) |
const [inline] |
CellMatrixMap& osgParticle::PrecipitationEffect::PrecipitationDrawable::getPreviousCellMatrixMap |
( |
|
) |
[inline] |
bool osgParticle::PrecipitationEffect::PrecipitationDrawable::getRequiresPreviousMatrix |
( |
|
) |
const [inline] |
osgParticle::PrecipitationEffect::PrecipitationDrawable::META_Object |
( |
osgParticle |
, |
|
|
PrecipitationDrawable |
| |
|
) |
| | |
void osgParticle::PrecipitationEffect::PrecipitationDrawable::newFrame |
( |
|
) |
[inline] |
void osgParticle::PrecipitationEffect::PrecipitationDrawable::setDrawType |
( |
GLenum |
type |
) |
[inline] |
void osgParticle::PrecipitationEffect::PrecipitationDrawable::setGeometry |
( |
osg::Geometry * |
geom |
) |
[inline] |
void osgParticle::PrecipitationEffect::PrecipitationDrawable::setNumberOfVertices |
( |
unsigned int |
numVertices |
) |
[inline] |
void osgParticle::PrecipitationEffect::PrecipitationDrawable::setRequiresPreviousMatrix |
( |
bool |
flag |
) |
[inline] |
virtual bool osgParticle::PrecipitationEffect::PrecipitationDrawable::supports |
( |
const osg::PrimitiveIndexFunctor & |
|
) |
const [inline, virtual] |
Return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&).
Reimplemented from osg::Drawable.
virtual bool osgParticle::PrecipitationEffect::PrecipitationDrawable::supports |
( |
const osg::PrimitiveFunctor & |
|
) |
const [inline, virtual] |
Return true if the Drawable subclass supports accept(PrimitiveFunctor&).
Reimplemented from osg::Drawable.
Member Data Documentation
The documentation for this class was generated from the following file: