#include <FrameTrajectoryDrawable.h>
Definition at line 34 of file FrameTrajectoryDrawable.h.
◆ FrameTrajectoryDrawable()
| agxOSG::FrameTrajectoryDrawable::FrameTrajectoryDrawable |
( |
agxSDK::Simulation * |
simulation | ) |
|
◆ ~FrameTrajectoryDrawable()
| virtual agxOSG::FrameTrajectoryDrawable::~FrameTrajectoryDrawable |
( |
| ) |
|
|
protectedvirtual |
◆ addTrajectory() [1/2]
| bool agxOSG::FrameTrajectoryDrawable::addTrajectory |
( |
agx::Frame * |
frame | ) |
|
Add a trajectory to be drawn given a frame.
◆ addTrajectory() [2/2]
Add a trajectory to be drawn given a frame and a color.
◆ className()
| virtual const char* agxOSG::FrameTrajectoryDrawable::className |
( |
| ) |
const |
|
inlinevirtual |
◆ clone()
| virtual osg::Object* agxOSG::FrameTrajectoryDrawable::clone |
( |
const osg::CopyOp & |
| ) |
const |
|
inlinevirtual |
◆ cloneType()
| virtual osg::Object* agxOSG::FrameTrajectoryDrawable::cloneType |
( |
| ) |
const |
|
inlinevirtual |
◆ computeBound()
| virtual osg::BoundingBox agxOSG::FrameTrajectoryDrawable::computeBound |
( |
| ) |
const |
|
virtual |
Compute the bounding box around Drawables's geometry.
◆ drawImplementation()
| virtual void agxOSG::FrameTrajectoryDrawable::drawImplementation |
( |
osg::RenderInfo & |
renderInfo | ) |
const |
|
virtual |
The actual draw method for the particle system.
◆ getEnable()
| bool agxOSG::FrameTrajectoryDrawable::getEnable |
( |
| ) |
const |
◆ getNumTrajectoryPositions()
| agx::UInt agxOSG::FrameTrajectoryDrawable::getNumTrajectoryPositions |
( |
| ) |
const |
◆ getSimulation()
◆ isSameKindAs()
| virtual bool agxOSG::FrameTrajectoryDrawable::isSameKindAs |
( |
const osg::Object * |
obj | ) |
const |
|
inlinevirtual |
◆ libraryName()
| virtual const char* agxOSG::FrameTrajectoryDrawable::libraryName |
( |
| ) |
const |
|
inlinevirtual |
◆ popOldPositionsInDeadTrajectories()
| void agxOSG::FrameTrajectoryDrawable::popOldPositionsInDeadTrajectories |
( |
| ) |
|
|
protected |
◆ removeTrajectory()
| bool agxOSG::FrameTrajectoryDrawable::removeTrajectory |
( |
agx::Frame * |
frame | ) |
|
Remove the current stored trajectory from the drawable for a particle with given id.
◆ resetTrajectories()
| void agxOSG::FrameTrajectoryDrawable::resetTrajectories |
( |
| ) |
|
◆ setDefaultTrajectoryColor()
| void agxOSG::FrameTrajectoryDrawable::setDefaultTrajectoryColor |
( |
const agx::Vec4f & |
color | ) |
|
◆ setEnable()
| void agxOSG::FrameTrajectoryDrawable::setEnable |
( |
bool |
enable | ) |
|
◆ setNumTrajectoryPositions()
| void agxOSG::FrameTrajectoryDrawable::setNumTrajectoryPositions |
( |
agx::UInt |
num | ) |
|
Set the number of positions used in the trajectories.
◆ updateKernelBuffers()
| void agxOSG::FrameTrajectoryDrawable::updateKernelBuffers |
( |
| ) |
|
|
protected |
◆ updateTrajectories()
| void agxOSG::FrameTrajectoryDrawable::updateTrajectories |
( |
| ) |
|
Update the trajectory structures.
◆ m_activeTrajectories
◆ m_colorBuffer
◆ m_countBuffer
◆ m_defaultTrajectoryColor
| agx::Vec4f agxOSG::FrameTrajectoryDrawable::m_defaultTrajectoryColor |
|
protected |
◆ m_destroyedTrajectories
| agx::Vector<TrajectoryData> agxOSG::FrameTrajectoryDrawable::m_destroyedTrajectories |
|
protected |
◆ m_enable
| bool agxOSG::FrameTrajectoryDrawable::m_enable |
|
protected |
◆ m_firstsBuffer
◆ m_maxPosCounts
| agx::UInt agxOSG::FrameTrajectoryDrawable::m_maxPosCounts |
|
protected |
◆ m_renderTask
◆ m_simulation
◆ m_verticesBuffer
The documentation for this class was generated from the following file: