![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtFileLoadedEffect.h,v $ $Revision: 1.13 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvOsg/vrvOsg.h> 00015 #include <vrvOsg/DtParticleEffect.h> 00016 #include <vrvOsg/DtImprovedModularEmitter.h> 00017 #include <osg/Group> 00018 #include <osg/Geode> 00019 #include <osg/MatrixTransform> 00020 #include <osgParticle/Emitter> 00021 #include <osgParticle/ModularProgram> 00022 #include <string> 00023 00024 namespace makVrv 00025 { 00028 class DT_DLL_VRVOSG DtCopyableParticleEffect : public DtParticleEffect 00029 { 00030 public: 00031 00032 DtCopyableParticleEffect(const osg::Node* loadedNode, 00033 bool useOriginalOsgFluidFrictionOperator = false ); 00034 00035 DtCopyableParticleEffect(const DtCopyableParticleEffect& copy, 00036 const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); 00037 00038 virtual void setUpEmittersAndPrograms(); 00039 00040 virtual void setUseLocalParticleSystem(bool useLocal); 00041 00042 protected: 00043 00044 virtual ~DtCopyableParticleEffect(); 00045 00046 osg::ref_ptr<osg::Node> myLoadedNode; 00047 bool myUseOriginalOsgFluidFrictionOperator; 00048 }; 00049 }