#include <ParticleTrajectoriesDrawable.h>
◆ ParticleTrajectoriesDrawable()
| agxOSG::ParticleTrajectoriesDrawable::ParticleTrajectoriesDrawable |
( |
agx::ParticleSystem * |
particleSystem | ) |
|
◆ ~ParticleTrajectoriesDrawable()
| virtual agxOSG::ParticleTrajectoriesDrawable::~ParticleTrajectoriesDrawable |
( |
| ) |
|
|
protectedvirtual |
◆ className()
| virtual const char* agxOSG::ParticleTrajectoriesDrawable::className |
( |
| ) |
const |
|
inlinevirtual |
◆ clone()
| virtual osg::Object* agxOSG::ParticleTrajectoriesDrawable::clone |
( |
const osg::CopyOp & |
| ) |
const |
|
inlinevirtual |
◆ cloneType()
| virtual osg::Object* agxOSG::ParticleTrajectoriesDrawable::cloneType |
( |
| ) |
const |
|
inlinevirtual |
◆ computeBound()
| virtual osg::BoundingBox agxOSG::ParticleTrajectoriesDrawable::computeBound |
( |
| ) |
const |
|
virtual |
Compute the bounding box around Drawables's geometry.
◆ createParticleTrajectoryFromId()
| void agxOSG::ParticleTrajectoriesDrawable::createParticleTrajectoryFromId |
( |
agx::Index |
particleId | ) |
|
◆ drawImplementation()
| virtual void agxOSG::ParticleTrajectoriesDrawable::drawImplementation |
( |
osg::RenderInfo & |
renderInfo | ) |
const |
|
virtual |
The actual draw method for the particle system.
◆ getEnable()
| bool agxOSG::ParticleTrajectoriesDrawable::getEnable |
( |
| ) |
const |
◆ getNumTrajectoryPositions()
| agx::UInt agxOSG::ParticleTrajectoriesDrawable::getNumTrajectoryPositions |
( |
| ) |
const |
◆ getParticleSystem()
◆ getSampling()
| agx::Real agxOSG::ParticleTrajectoriesDrawable::getSampling |
( |
| ) |
const |
◆ handleCreationEvent()
| void agxOSG::ParticleTrajectoriesDrawable::handleCreationEvent |
( |
agx::Index |
index | ) |
|
|
protected |
◆ handleDestructionEvent()
| void agxOSG::ParticleTrajectoriesDrawable::handleDestructionEvent |
( |
agx::Index |
index | ) |
|
|
protected |
◆ isSameKindAs()
| virtual bool agxOSG::ParticleTrajectoriesDrawable::isSameKindAs |
( |
const osg::Object * |
obj | ) |
const |
|
inlinevirtual |
◆ libraryName()
| virtual const char* agxOSG::ParticleTrajectoriesDrawable::libraryName |
( |
| ) |
const |
|
inlinevirtual |
◆ particleIsRendered()
◆ popLatestPositions()
| void agxOSG::ParticleTrajectoriesDrawable::popLatestPositions |
( |
| ) |
|
Pops latest positions in all trajectories. Useful when stepping backwards in a journal.
◆ popOldPositionsInDeadTrajectories()
| void agxOSG::ParticleTrajectoriesDrawable::popOldPositionsInDeadTrajectories |
( |
| ) |
|
|
protected |
◆ removeParticleTrajectoryFromId()
| void agxOSG::ParticleTrajectoriesDrawable::removeParticleTrajectoryFromId |
( |
agx::Index |
particleId | ) |
|
Remove the current stored trajectory from the drawable for a particle with given id.
◆ resample()
| void agxOSG::ParticleTrajectoriesDrawable::resample |
( |
| ) |
|
◆ resetTrajectories()
| void agxOSG::ParticleTrajectoriesDrawable::resetTrajectories |
( |
| ) |
|
◆ sample()
| void agxOSG::ParticleTrajectoriesDrawable::sample |
( |
agx::Index |
index | ) |
|
|
protected |
◆ setEnable()
| void agxOSG::ParticleTrajectoriesDrawable::setEnable |
( |
bool |
enable | ) |
|
◆ setNumTrajectoryPositions()
| void agxOSG::ParticleTrajectoriesDrawable::setNumTrajectoryPositions |
( |
agx::UInt |
num | ) |
|
Set the number of positions used in the trajectories.
◆ setSampling()
| void agxOSG::ParticleTrajectoriesDrawable::setSampling |
( |
agx::Real |
sampling, |
|
|
bool |
doResample = true |
|
) |
| |
◆ updateKernelBuffers()
| void agxOSG::ParticleTrajectoriesDrawable::updateKernelBuffers |
( |
| ) |
|
|
protected |
◆ updateParticleTrajectories()
| void agxOSG::ParticleTrajectoriesDrawable::updateParticleTrajectories |
( |
| ) |
|
Update the trajectory structures.
◆ m_activeParticleTrajectories
| TrajectoryTable agxOSG::ParticleTrajectoriesDrawable::m_activeParticleTrajectories |
|
protected |
◆ m_colorBuffer
◆ m_countBuffer
◆ m_destroyedParticlesTrajectories
| agx::Vector<ParticleTrajectoryData> agxOSG::ParticleTrajectoriesDrawable::m_destroyedParticlesTrajectories |
|
protected |
◆ m_enable
| bool agxOSG::ParticleTrajectoriesDrawable::m_enable |
|
protected |
◆ m_firstsBuffer
◆ m_maxPosCounts
| agx::UInt agxOSG::ParticleTrajectoriesDrawable::m_maxPosCounts |
|
protected |
◆ m_particleStorageListener
| ParticleStorageListener agxOSG::ParticleTrajectoriesDrawable::m_particleStorageListener |
|
protected |
◆ m_particleSystem
◆ m_renderTask
◆ m_sampling
| agx::Real agxOSG::ParticleTrajectoriesDrawable::m_sampling |
|
protected |
◆ m_verticesBuffer
The documentation for this class was generated from the following file: