#include <RigidBodyTrajectoryDrawable.h>
| agxOSG::RigidBodyTrajectoryDrawable::RigidBodyTrajectoryDrawable |
( |
agxSDK::Simulation * |
simulation | ) |
|
| virtual agxOSG::RigidBodyTrajectoryDrawable::~RigidBodyTrajectoryDrawable |
( |
| ) |
|
|
protectedvirtual |
| virtual const char* agxOSG::RigidBodyTrajectoryDrawable::className |
( |
| ) |
const |
|
inlinevirtual |
| virtual osg::Object* agxOSG::RigidBodyTrajectoryDrawable::clone |
( |
const osg::CopyOp & |
| ) |
const |
|
inlinevirtual |
| virtual osg::Object* agxOSG::RigidBodyTrajectoryDrawable::cloneType |
( |
| ) |
const |
|
inlinevirtual |
| virtual osg::BoundingBox agxOSG::RigidBodyTrajectoryDrawable::computeBound |
( |
| ) |
const |
|
virtual |
Compute the bounding box around Drawables's geometry.
| virtual void agxOSG::RigidBodyTrajectoryDrawable::drawImplementation |
( |
osg::RenderInfo & |
renderInfo | ) |
const |
|
virtual |
The actual draw method for the particle system.
| ScalarColorMap* agxOSG::RigidBodyTrajectoryDrawable::getColorMap |
( |
| ) |
const |
- Returns
- the scalar color map that is used to color the rigid body trajectories with respect to speed.
| bool agxOSG::RigidBodyTrajectoryDrawable::getEnable |
( |
| ) |
const |
| agx::UInt agxOSG::RigidBodyTrajectoryDrawable::getNumTrajectoryPositions |
( |
| ) |
const |
| bool agxOSG::RigidBodyTrajectoryDrawable::getOnlyDrawRigidBodyEmitterBodies |
( |
| ) |
const |
| agx::Real agxOSG::RigidBodyTrajectoryDrawable::getSampling |
( |
| ) |
const |
| void agxOSG::RigidBodyTrajectoryDrawable::handleCreationEvent |
( |
agx::Index |
index | ) |
|
|
protected |
| void agxOSG::RigidBodyTrajectoryDrawable::handleDestructionEvent |
( |
agx::Index |
index | ) |
|
|
protected |
| virtual bool agxOSG::RigidBodyTrajectoryDrawable::isSameKindAs |
( |
const osg::Object * |
obj | ) |
const |
|
inlinevirtual |
| virtual const char* agxOSG::RigidBodyTrajectoryDrawable::libraryName |
( |
| ) |
const |
|
inlinevirtual |
| void agxOSG::RigidBodyTrajectoryDrawable::popOldPositionsInDeadTrajectories |
( |
| ) |
|
|
protected |
| void agxOSG::RigidBodyTrajectoryDrawable::removeTrajectoryFromId |
( |
agx::Index |
particleId | ) |
|
Remove the current stored trajectory from the drawable for a particle with given id.
| void agxOSG::RigidBodyTrajectoryDrawable::resample |
( |
| ) |
|
| void agxOSG::RigidBodyTrajectoryDrawable::resetTrajectories |
( |
| ) |
|
Set the scalar color map that will be used color the rigid body trajectories with respect to speed.
- Parameters
-
| colorMap | - the scalar map that will be used to color the body trajectories |
- Note
- - setting a color map overrides the current set trajectory color via
setDefaultTrajectoryColor.
| void agxOSG::RigidBodyTrajectoryDrawable::setDefaultTrajectoryColor |
( |
const agx::Vec4f & |
color | ) |
|
| void agxOSG::RigidBodyTrajectoryDrawable::setEnable |
( |
bool |
enable, |
|
|
bool |
doResample = true |
|
) |
| |
| void agxOSG::RigidBodyTrajectoryDrawable::setNumTrajectoryPositions |
( |
agx::UInt |
num | ) |
|
Set the number of positions used in the trajectories.
| void agxOSG::RigidBodyTrajectoryDrawable::setOnlyDrawRigidBodyEmitterBodies |
( |
bool |
enable | ) |
|
| void agxOSG::RigidBodyTrajectoryDrawable::setSampling |
( |
agx::Real |
sampling, |
|
|
bool |
doResample = true |
|
) |
| |
| void agxOSG::RigidBodyTrajectoryDrawable::updateKernelBuffers |
( |
| ) |
|
|
protected |
| void agxOSG::RigidBodyTrajectoryDrawable::updateTrajectories |
( |
| ) |
|
Update the trajectory structures.
| agx::Vector<TrajectoryData> agxOSG::RigidBodyTrajectoryDrawable::m_destroyedTrajectories |
|
protected |
| bool agxOSG::RigidBodyTrajectoryDrawable::m_enable |
|
protected |
| agx::UInt agxOSG::RigidBodyTrajectoryDrawable::m_maxPosCounts |
|
protected |
| bool agxOSG::RigidBodyTrajectoryDrawable::m_onlyDrawRigidBodyEmitterBodies |
|
protected |
| agx::Real agxOSG::RigidBodyTrajectoryDrawable::m_sampling |
|
protected |
| agx::Vec4f agxOSG::RigidBodyTrajectoryDrawable::m_trajectoryColor |
|
protected |
The documentation for this class was generated from the following file: