19 #include <osg/Texture>
83 virtual void drawImplementation(osg::RenderInfo& renderInfo)
const;
94 virtual void setDepthTexture(osg::Texture* texture);
100 virtual void createProgramIfNecessary(
void)
const;
102 virtual void cleanupGpuMemory(
void);
DtVirtualBaseClassCreator< DtDepthOfFieldDrawable > DtDepthOfFieldDrawableCreator
Definition: DtDepthOfFieldDrawable.h:51
const char * creatorTypeName< DtDepthOfFieldDrawable >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtDepthOfFieldDrawable.h:56
DtDofParams myParams
parameters
Definition: DtDepthOfFieldDrawable.h:111
int myMutableVrvDepthTexLoc
Definition: DtDepthOfFieldDrawable.h:120
double camFar
Definition: DtDepthOfFieldDrawable.h:36
int viewHeight
Definition: DtDepthOfFieldDrawable.h:44
float vrv_focalDepth
Definition: DtDepthOfFieldDrawable.h:40
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:65
int myMutableVrvUseReverseZBufferLoc
Definition: DtDepthOfFieldDrawable.h:115
bool myMutableTapsDirty
are the taps needed to be re-sent to the GPU
Definition: DtDepthOfFieldDrawable.h:126
friend DtDepthOfFieldDrawableCreator
friended, to access constructor above
Definition: DtDepthOfFieldDrawable.h:70
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
Definition: DtPostProcessorDrawable.h:24
float vrv_focalRange
Definition: DtDepthOfFieldDrawable.h:41
double camNear
Definition: DtDepthOfFieldDrawable.h:35
#define DT_DLL_VRVPOSTPROCESSOR
Definition: vrvPostProcessor.h:19
This file contains the declaration of the class DtPostProcessorDrawable which is used for rendering p...
structure to exchange/communicate DOF field parameters
Definition: DtDepthOfFieldDrawable.h:33
int myMutableVrvFocalDepthLoc
Definition: DtDepthOfFieldDrawable.h:116
int myMutableVrvFilterTapsLoc
Definition: DtDepthOfFieldDrawable.h:119
Contains DLL export macros.
bool vrv_useReverseZBuffer
Definition: DtDepthOfFieldDrawable.h:39
int myMutableVrvFocalRangeLoc
Definition: DtDepthOfFieldDrawable.h:117
osg::ref_ptr< osg::Texture > myBaseTexture
Definition: DtDepthOfFieldDrawable.h:104
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
int viewWidth
Definition: DtDepthOfFieldDrawable.h:43
bool vrv_useAutofocus
Definition: DtDepthOfFieldDrawable.h:38
int myMutableVrvUseAutofocusLoc
locations of various shader parameters
Definition: DtDepthOfFieldDrawable.h:114
osg::ref_ptr< osg::Texture > myDepthTexture
Definition: DtDepthOfFieldDrawable.h:105
DtGlProgram * myMutableDofProgram
the program
Definition: DtDepthOfFieldDrawable.h:108
class used to render dof during the post processor camera draw
Definition: DtDepthOfFieldDrawable.h:60
int myMutableVrvzNearFarLoc
Definition: DtDepthOfFieldDrawable.h:118