VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtLaserDazzleDrawable Class Reference

class used to flip the channel horizontally during the post processor camera draw

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

Public Member Functions

virtual ~DtLaserDazzleDrawable ()
 
virtual void setUvHit (float x, float y)
 
virtual void setBeamDir (float x, float y)
 
virtual void setBeamColor (float r, float g, float b)
 
virtual void setIntensity (float intensity)
 
 DtLaserDazzleDrawable ()=delete
 
 DtLaserDazzleDrawable (const DtLaserDazzleDrawable &)=delete
 
DtLaserDazzleDrawable & operator= (const DtLaserDazzleDrawable &)=delete
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 
- Public Member Functions inherited from makVrv::DtPostProcessorDrawable
 DtPostProcessorDrawable (DtDe &de)
 
 DtPostProcessorDrawable (const DtPostProcessorDrawable &orig, const osg::CopyOp &op)
 
virtual ~DtPostProcessorDrawable ()
 
virtual void drawTexturedQuad (bool drawOnly=false) const
 
virtual void beginTexturedQuad () const
 
virtual void endTexturedQuad () const
 
virtual std::string preprocessorDefinesString (void) const
 
virtual DtGlProgram * createProgram (const std::string &path, const std::string &prefixName, const std::string &preprocessor="") const
 
virtual void releaseGLObjects (osg::State *state=0) const override
 

Protected Member Functions

 DtLaserDazzleDrawable (DtDe &de)
 
virtual void createProgramIfNecessary (const std::string &path, const std::string &prefixName) const
 
void cleanupGpuMemory (void)
 
- Protected Member Functions inherited from makVrv::DtPostProcessorDrawable
void setupGeometry () const
 

Protected Attributes

friend DtLaserDazzleDrawableCreator
 
DtGlProgram * myMutableProgram
 
int myMutableVrvHitUvLoc
 
int myMutableVrvBeamDirLoc
 
int myMutableVrvLaserColorLoc
 
int myMutableVrvIntensityLoc
 
int myMutableVrvTimeLoc
 
Vector2_32 myUvHit
 
Vector2_32 myBeamDir
 
Vector3_32 myBeamColor
 
float myIntensity
 
- Protected Attributes inherited from makVrv::DtPostProcessorDrawable
DtDe & myDe
 
DtGlBuffer * myMutableVbo = nullptr
 
DtCoreGlBufferCreator & myDtCoreGlBufferCreator
 
DtGlDeleteObjectManager & myGlDeleteObjectManager
 

Constructor & Destructor Documentation

virtual makVrv::DtLaserDazzleDrawable::~DtLaserDazzleDrawable ( )
virtual

destructor

makVrv::DtLaserDazzleDrawable::DtLaserDazzleDrawable ( DtDe &  de)
protected

constructor. protected. only creator can create

makVrv::DtLaserDazzleDrawable::DtLaserDazzleDrawable ( )
delete

default constructor. not allowed.

makVrv::DtLaserDazzleDrawable::DtLaserDazzleDrawable ( const DtLaserDazzleDrawable &  )
delete

prevent copy-construction

Member Function Documentation

virtual void makVrv::DtLaserDazzleDrawable::setUvHit ( float  x,
float  y 
)
virtual
virtual void makVrv::DtLaserDazzleDrawable::setBeamDir ( float  x,
float  y 
)
virtual
virtual void makVrv::DtLaserDazzleDrawable::setBeamColor ( float  r,
float  g,
float  b 
)
virtual
virtual void makVrv::DtLaserDazzleDrawable::setIntensity ( float  intensity)
virtual
DtLaserDazzleDrawable& makVrv::DtLaserDazzleDrawable::operator= ( const DtLaserDazzleDrawable &  )
delete

prevent assignment

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

overridden

virtual void makVrv::DtLaserDazzleDrawable::createProgramIfNecessary ( const std::string &  path,
const std::string &  prefixName 
) const
protectedvirtual

create the program that goes with reverse z

void makVrv::DtLaserDazzleDrawable::cleanupGpuMemory ( void  )
protected

Non-virtual because this function is called by destructor.

Member Data Documentation

friend makVrv::DtLaserDazzleDrawable::DtLaserDazzleDrawableCreator
protected

friended, to access constructor above

DtGlProgram* makVrv::DtLaserDazzleDrawable::myMutableProgram
mutableprotected
int makVrv::DtLaserDazzleDrawable::myMutableVrvHitUvLoc
mutableprotected
int makVrv::DtLaserDazzleDrawable::myMutableVrvBeamDirLoc
mutableprotected
int makVrv::DtLaserDazzleDrawable::myMutableVrvLaserColorLoc
mutableprotected
int makVrv::DtLaserDazzleDrawable::myMutableVrvIntensityLoc
mutableprotected
int makVrv::DtLaserDazzleDrawable::myMutableVrvTimeLoc
mutableprotected
Vector2_32 makVrv::DtLaserDazzleDrawable::myUvHit
protected
Vector2_32 makVrv::DtLaserDazzleDrawable::myBeamDir
protected
Vector3_32 makVrv::DtLaserDazzleDrawable::myBeamColor
protected
float makVrv::DtLaserDazzleDrawable::myIntensity
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)