![]() |
VR-Forces 4.10 Class Documentation
|
class used to render dof during the post processor camera draw More...

Public Member Functions | |
| virtual | ~DtDepthOfFieldDrawable () |
| destructor More... | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| overridden More... | |
| virtual void | setDepthTexture (osg::Texture *texture) |
| overridden currently unneeded because the postprocessor drawable is always deleted/recreated because of channel creation/destruction virtual void releaseGLObjects(osg::State* state = 0) const; //! More... | |
| virtual void | setParams (DtDofParams ¶ms) |
| set the various dof parameters More... | |
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 |
| prevent assignment More... | |
| virtual void | beginTexturedQuad () const |
| vert pointes gl states etc More... | |
| virtual void | endTexturedQuad () const |
| disable modes stup in begin More... | |
| virtual std::string | preprocessorDefinesString (void) const |
| preprocessor string taking into account the current options (multiview, etc) More... | |
| virtual DtGlProgram * | createProgram (const std::string &path, const std::string &prefixName, const std::string &preprocessor="") const |
| create a program based on the name (name_ps.glsl and name_vs.glsl files are used) More... | |
Protected Member Functions | |
| DtDepthOfFieldDrawable (DtDe &de) | |
| constructor. private. only creator can create More... | |
| virtual void | createProgramIfNecessary (void) const |
| create the program if needed More... | |
| virtual void | cleanupGpuMemory (void) |
Protected Member Functions inherited from makVrv::DtPostProcessorDrawable | |
| void | setupGeometry () const |
| brief setup the vertex buffer object used in draw quad More... | |
Protected Attributes | |
| friend | DtDepthOfFieldDrawableCreator |
| friended, to access constructor above More... | |
| osg::ref_ptr< osg::Texture > | myBaseTexture |
| osg::ref_ptr< osg::Texture > | myDepthTexture |
| DtGlProgram * | myMutableDofProgram |
| the program More... | |
| DtDofParams | myParams |
| parameters More... | |
| int | myMutableVrvUseAutofocusLoc |
| locations of various shader parameters More... | |
| int | myMutableVrvUseReverseZBufferLoc |
| int | myMutableVrvFocalDepthLoc |
| int | myMutableVrvFocalRangeLoc |
| int | myMutableVrvzNearFarLoc |
| int | myMutableVrvFilterTapsLoc |
| int | myMutableVrvDepthTexLoc |
| Vector2_32 | myVrvFilterTaps [12] |
| bool | myMutableTapsDirty |
| are the taps needed to be re-sent to the GPU More... | |
Protected Attributes inherited from makVrv::DtPostProcessorDrawable | |
| DtDe & | myDe |
| unsigned int | myMutableVbo |
Private Member Functions | |
| DtDepthOfFieldDrawable () | |
| private default constructor. not allowed. More... | |
| DtDepthOfFieldDrawable (const DtDepthOfFieldDrawable &) | |
| prevent copy-construction More... | |
| DtDepthOfFieldDrawable & | operator= (const DtDepthOfFieldDrawable &) |
| prevent assignment More... | |
class used to render dof during the post processor camera draw
|
virtual |
destructor
|
protected |
constructor. private. only creator can create
|
private |
private default constructor. not allowed.
|
private |
prevent copy-construction
|
private |
prevent assignment
|
virtual |
overridden
|
virtual |
overridden currently unneeded because the postprocessor drawable is always deleted/recreated because of channel creation/destruction virtual void releaseGLObjects(osg::State* state = 0) const; //!
overridden currently unneeded because the postprocessor drawable is always deleted/recreated because of channel creation/destruction set the depth texture
|
virtual |
set the various dof parameters
|
protectedvirtual |
create the program if needed
|
protectedvirtual |
|
protected |
friended, to access constructor above
|
protected |
|
protected |
|
mutableprotected |
the program
|
protected |
parameters
|
mutableprotected |
locations of various shader parameters
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
are the taps needed to be re-sent to the GPU