#include <clone.hpp>
|
| CopyOp () |
|
virtual
osgParticle::ParticleSystem * | operator() (const osgParticle::ParticleSystem *partsys) const |
|
virtual
osgParticle::ParticleProcessor * | operator() (const osgParticle::ParticleProcessor *processor) const |
|
virtual osg::Node * | operator() (const osg::Node *node) const |
|
virtual osg::Drawable * | operator() (const osg::Drawable *drawable) const |
|
virtual osg::StateSet * | operator() (const osg::StateSet *stateset) const |
|
|
std::map
< osgParticle::ParticleProcessor
*, const
osgParticle::ParticleSystem * > | mMap |
|
std::map
< osgParticle::ParticleSystemUpdater
*, const
osgParticle::ParticleSystem * > | mMap2 |
|
- Defines the cloning behaviour we need:
- Assigns updated ParticleSystem pointers on cloned emitters and programs.
- Creates deep copy of StateSets if they have a DYNAMIC data variance.
- Deep copies RigGeometry and MorphGeometry so they can animate without affecting clones.
- Warning
- Do not use an object of this class for more than one copy operation.
SceneUtil::CopyOp::CopyOp |
( |
| ) |
|
osgParticle::ParticleSystem * SceneUtil::CopyOp::operator() |
( |
const osgParticle::ParticleSystem * |
partsys | ) |
const |
|
virtual |
osgParticle::ParticleProcessor * SceneUtil::CopyOp::operator() |
( |
const osgParticle::ParticleProcessor * |
processor | ) |
const |
|
virtual |
osg::Node * SceneUtil::CopyOp::operator() |
( |
const osg::Node * |
node | ) |
const |
|
virtual |
osg::Drawable * SceneUtil::CopyOp::operator() |
( |
const osg::Drawable * |
drawable | ) |
const |
|
virtual |
osg::StateSet * SceneUtil::CopyOp::operator() |
( |
const osg::StateSet * |
stateset | ) |
const |
|
virtual |
std::map<osgParticle::ParticleProcessor*, const osgParticle::ParticleSystem*> SceneUtil::CopyOp::mMap |
|
mutableprivate |
std::map<osgParticle::ParticleSystemUpdater*, const osgParticle::ParticleSystem*> SceneUtil::CopyOp::mMap2 |
|
mutableprivate |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/components/sceneutil/clone.hpp
- /home/travis/build/OpenMW/openmw/components/sceneutil/clone.cpp