typedef std::map< ViewIdentifier, PrecipitationDrawableSet > osgParticle::PrecipitationEffect::ViewDrawableMap [protected] |
typedef std::pair< osg::NodeVisitor*, osg::NodePath > osgParticle::PrecipitationEffect::ViewIdentifier [protected] |
osgParticle::PrecipitationEffect::PrecipitationEffect | ( | ) |
osgParticle::PrecipitationEffect::PrecipitationEffect | ( | const PrecipitationEffect & | copy, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
virtual osgParticle::PrecipitationEffect::~PrecipitationEffect | ( | ) | [inline, protected, virtual] |
virtual void osgParticle::PrecipitationEffect::accept | ( | osg::NodeVisitor & | nv ) | [inline, virtual] |
Visitor Pattern : calls the apply method of a NodeVisitor with this node's type.
Reimplemented from osg::Node.
References osg::NodeVisitor::apply(), osg::NodeVisitor::popFromNodePath(), osg::NodeVisitor::pushOntoNodePath(), and osg::NodeVisitor::validNodeMask().
bool osgParticle::PrecipitationEffect::build | ( | const osg::Vec3 | eyeLocal, |
int | i, | ||
int | j, | ||
int | k, | ||
float | startTime, | ||
PrecipitationDrawableSet & | pds, | ||
osg::Polytope & | frustum, | ||
osgUtil::CullVisitor * | cv | ||
) | const [protected] |
virtual const char* osgParticle::PrecipitationEffect::className | ( | ) | const [inline, virtual] |
return the name of the node's class type.
Reimplemented from osg::Node.
void osgParticle::PrecipitationEffect::compileGLObjects | ( | osg::RenderInfo & | renderInfo ) | const [protected] |
void osgParticle::PrecipitationEffect::createGeometry | ( | unsigned int | numParticles, |
osg::Geometry * | quad_geometry, | ||
osg::Geometry * | line_geometry, | ||
osg::Geometry * | point_geometry | ||
) | [protected] |
void osgParticle::PrecipitationEffect::cull | ( | PrecipitationDrawableSet & | pds, |
osgUtil::CullVisitor * | cv | ||
) | const [protected] |
const osg::Vec3& osgParticle::PrecipitationEffect::getCellSize | ( | ) | const [inline] |
float osgParticle::PrecipitationEffect::getFarTransition | ( | ) | const [inline] |
osg::Fog* osgParticle::PrecipitationEffect::getFog | ( | ) | [inline] |
const osg::Fog* osgParticle::PrecipitationEffect::getFog | ( | ) | const [inline] |
osg::Geometry* osgParticle::PrecipitationEffect::getLineGeometry | ( | ) | [inline] |
osg::StateSet* osgParticle::PrecipitationEffect::getLineStateSet | ( | ) | [inline] |
float osgParticle::PrecipitationEffect::getNearTransition | ( | ) | const [inline] |
const osg::Vec4& osgParticle::PrecipitationEffect::getParticleColor | ( | ) | const [inline] |
float osgParticle::PrecipitationEffect::getParticleSize | ( | ) | const [inline] |
float osgParticle::PrecipitationEffect::getParticleSpeed | ( | ) | const [inline] |
osg::Geometry* osgParticle::PrecipitationEffect::getPointGeometry | ( | ) | [inline] |
osg::StateSet* osgParticle::PrecipitationEffect::getPointStateSet | ( | ) | [inline] |
const osg::Vec3& osgParticle::PrecipitationEffect::getPosition | ( | ) | const [inline] |
osg::Geometry* osgParticle::PrecipitationEffect::getQuadGeometry | ( | ) | [inline] |
osg::StateSet* osgParticle::PrecipitationEffect::getQuadStateSet | ( | ) | [inline] |
bool osgParticle::PrecipitationEffect::getUseFarLineSegments | ( | ) | const [inline] |
const osg::Vec3& osgParticle::PrecipitationEffect::getWind | ( | ) | const [inline] |
virtual bool osgParticle::PrecipitationEffect::isSameKindAs | ( | const osg::Object * | obj ) | const [inline, virtual] |
return true if this and obj are of the same kind of object.
Reimplemented from osg::Node.
virtual const char* osgParticle::PrecipitationEffect::libraryName | ( | ) | const [inline, virtual] |
return the name of the node's library.
Reimplemented from osg::Node.
void osgParticle::PrecipitationEffect::rain | ( | float | intensity ) |
Set all the parameters to create an rain effect of specified intensity.
void osgParticle::PrecipitationEffect::setCellSize | ( | const osg::Vec3 & | cellSize ) | [inline] |
void osgParticle::PrecipitationEffect::setFarTransition | ( | float | farTransition ) | [inline] |
void osgParticle::PrecipitationEffect::setFog | ( | osg::Fog * | fog ) | [inline] |
void osgParticle::PrecipitationEffect::setMaximumParticleDensity | ( | float | density ) | [inline] |
float osgParticle::PrecipitationEffect::setMaximumParticleDensity | ( | ) | const [inline] |
void osgParticle::PrecipitationEffect::setNearTransition | ( | float | nearTransition ) | [inline] |
void osgParticle::PrecipitationEffect::setParticleColor | ( | const osg::Vec4 & | color ) | [inline] |
void osgParticle::PrecipitationEffect::setParticleSize | ( | float | particleSize ) | [inline] |
void osgParticle::PrecipitationEffect::setParticleSpeed | ( | float | particleSpeed ) | [inline] |
void osgParticle::PrecipitationEffect::setPosition | ( | const osg::Vec3 & | position ) | [inline] |
void osgParticle::PrecipitationEffect::setUpGeometries | ( | unsigned int | numParticles ) | [protected] |
void osgParticle::PrecipitationEffect::setUseFarLineSegments | ( | bool | useFarLineSegments ) | [inline] |
void osgParticle::PrecipitationEffect::setWind | ( | const osg::Vec3 & | wind ) | [inline] |
void osgParticle::PrecipitationEffect::snow | ( | float | intensity ) |
Set all the parameters to create an snow effect of specified intensity.
virtual void osgParticle::PrecipitationEffect::traverse | ( | osg::NodeVisitor & | ) | [virtual] |
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Node.
void osgParticle::PrecipitationEffect::update | ( | ) | [protected] |
osg::Vec3 osgParticle::PrecipitationEffect::_cellSize [protected] |
bool osgParticle::PrecipitationEffect::_dirty [protected] |
osg::Vec3 osgParticle::PrecipitationEffect::_du [protected] |
osg::Vec3 osgParticle::PrecipitationEffect::_dv [protected] |
osg::Vec3 osgParticle::PrecipitationEffect::_dw [protected] |
float osgParticle::PrecipitationEffect::_farTransition [protected] |
osg::ref_ptr<osg::Fog> osgParticle::PrecipitationEffect::_fog [protected] |
float osgParticle::PrecipitationEffect::_maximumParticleDensity [protected] |
float osgParticle::PrecipitationEffect::_nearTransition [protected] |
osg::Vec3 osgParticle::PrecipitationEffect::_origin [protected] |
float osgParticle::PrecipitationEffect::_particleSize [protected] |
float osgParticle::PrecipitationEffect::_particleSpeed [protected] |
float osgParticle::PrecipitationEffect::_period [protected] |
bool osgParticle::PrecipitationEffect::_useFarLineSegments [protected] |
osg::Vec3 osgParticle::PrecipitationEffect::_wind [protected] |