VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions

The OSG wrapper for the opengl rendering code. More...

Inheritance diagram for makVrv::DtFxOsgParticleDrawable:
Inheritance graph
[legend]

Public Member Functions

 DtFxOsgParticleDrawable (makVrv::DtDe &de, DtFxParticleSystemManager *pm, osg::MatrixTransform *transform)
 CTOR. More...
 
virtual ~DtFxOsgParticleDrawable ()
 DTOR ref pointers will clear all the memory out automatically. More...
 
virtual void releaseGLObjects (osg::State *state) const
 release all gl objects used by this system More...
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 
virtual void loadShaders ()
 loads the particle shaders More...
 
virtual osg::BoundingBox computeBoundingBox () const
 noops currently culls systems individually More...
 
virtual osg::MatrixTransform * baseTransform ()
 
virtual void setWireframeMode (bool mode)
 sets the wireframe mode More...
 

Protected Attributes

makVrv::DtDemyDe
 
DtFxParticleSystemManagerm_particle_manager
 
DtFxOglParticleSystemRendererm_particle_renderer
 
osg::ref_ptr
< osg::MatrixTransform > 
m_base_transform
 
osg::ref_ptr< osg::StateSet > m_state_set
 
osg::ref_ptr< osg::StateSet > m_debug_state_set
 
osg::ref_ptr< osg::Shader > m_vertex_shader
 
osg::ref_ptr< osg::Shader > m_fragment_shader
 
osg::ref_ptr< osg::Program > m_default_program
 
osg::ref_ptr< osg::Uniform > myMutableInvPersMatrixUniform
 needed for smoothness More...
 
osg::ref_ptr< osg::Uniform > myMutablePersMatrixUniform
 
osg::ref_ptr< osg::Uniform > myMutableViewportUniform
 
osg::ref_ptr< osg::Uniform > myMutableIsReflectionUniform
 

Private Member Functions

 DtFxOsgParticleDrawable (const DtFxOsgParticleDrawable &rhs, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Not implemented, Copy constructor using CopyOp to manage deep vs shallow copy. More...
 
DtFxOsgParticleDrawableoperator= (const DtFxOsgParticleDrawable &other)
 Not implemented. More...
 

Detailed Description

The OSG wrapper for the opengl rendering code.

sets up the right shaders, figures out camera matrix and calls particle manager draw function.

Constructor & Destructor Documentation

makVrv::DtFxOsgParticleDrawable::DtFxOsgParticleDrawable ( makVrv::DtDe de,
DtFxParticleSystemManager pm,
osg::MatrixTransform *  transform 
)

CTOR.

virtual makVrv::DtFxOsgParticleDrawable::~DtFxOsgParticleDrawable ( )
inlinevirtual

DTOR ref pointers will clear all the memory out automatically.

makVrv::DtFxOsgParticleDrawable::DtFxOsgParticleDrawable ( const DtFxOsgParticleDrawable rhs,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)
inlineprivate

Not implemented, Copy constructor using CopyOp to manage deep vs shallow copy.

Member Function Documentation

virtual void makVrv::DtFxOsgParticleDrawable::releaseGLObjects ( osg::State *  state) const
virtual

release all gl objects used by this system

virtual void makVrv::DtFxOsgParticleDrawable::drawImplementation ( osg::RenderInfo &  renderInfo) const
virtual
virtual void makVrv::DtFxOsgParticleDrawable::loadShaders ( )
virtual

loads the particle shaders

virtual osg::BoundingBox makVrv::DtFxOsgParticleDrawable::computeBoundingBox ( ) const
virtual

noops currently culls systems individually

virtual osg::MatrixTransform* makVrv::DtFxOsgParticleDrawable::baseTransform ( )
virtual
virtual void makVrv::DtFxOsgParticleDrawable::setWireframeMode ( bool  mode)
virtual

sets the wireframe mode

DtFxOsgParticleDrawable& makVrv::DtFxOsgParticleDrawable::operator= ( const DtFxOsgParticleDrawable other)
private

Not implemented.

Member Data Documentation

makVrv::DtDe& makVrv::DtFxOsgParticleDrawable::myDe
protected
DtFxParticleSystemManager* makVrv::DtFxOsgParticleDrawable::m_particle_manager
protected
DtFxOglParticleSystemRenderer* makVrv::DtFxOsgParticleDrawable::m_particle_renderer
protected
osg::ref_ptr<osg::MatrixTransform> makVrv::DtFxOsgParticleDrawable::m_base_transform
protected
osg::ref_ptr<osg::StateSet> makVrv::DtFxOsgParticleDrawable::m_state_set
protected
osg::ref_ptr<osg::StateSet> makVrv::DtFxOsgParticleDrawable::m_debug_state_set
protected
osg::ref_ptr<osg::Shader> makVrv::DtFxOsgParticleDrawable::m_vertex_shader
protected
osg::ref_ptr<osg::Shader> makVrv::DtFxOsgParticleDrawable::m_fragment_shader
protected
osg::ref_ptr<osg::Program> makVrv::DtFxOsgParticleDrawable::m_default_program
protected
osg::ref_ptr<osg::Uniform> makVrv::DtFxOsgParticleDrawable::myMutableInvPersMatrixUniform
mutableprotected

needed for smoothness

osg::ref_ptr<osg::Uniform> makVrv::DtFxOsgParticleDrawable::myMutablePersMatrixUniform
mutableprotected
osg::ref_ptr<osg::Uniform> makVrv::DtFxOsgParticleDrawable::myMutableViewportUniform
mutableprotected
osg::ref_ptr<osg::Uniform> makVrv::DtFxOsgParticleDrawable::myMutableIsReflectionUniform
mutableprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)