VR-Forces 5.0.1 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 | Private Member Functions
makVrv::DtBlurShaderGenerator Class Reference

Public Member Functions

 DtBlurShaderGenerator ()
 
virtual ~DtBlurShaderGenerator ()
 
virtual const float * generateGaussianWeightsAndWidth (int &width, float s)
 
virtual const float * generateTriangleWeights (int width)
 
virtual DtGlProgramgenerate1DConvolutionFilterComputeShader (const float *weights, int width, bool vertical, bool tex2D, int imgWidth, int imgHeight, bool isMultiview, const std::string &preprocessorString, const std::string &preAmble)
 

Protected Member Functions

virtual void deleteWeights (void)
 

Protected Attributes

float * myWeights
 

Private Member Functions

 DtBlurShaderGenerator (const DtBlurShaderGenerator &rhs)=delete
 
DtBlurShaderGeneratoroperator= (const DtBlurShaderGenerator &rhs)=delete
 

Constructor & Destructor Documentation

makVrv::DtBlurShaderGenerator::DtBlurShaderGenerator ( )

ctor

virtual makVrv::DtBlurShaderGenerator::~DtBlurShaderGenerator ( )
virtual

dtor

makVrv::DtBlurShaderGenerator::DtBlurShaderGenerator ( const DtBlurShaderGenerator rhs)
privatedelete

not allowed

Member Function Documentation

DtBlurShaderGenerator& makVrv::DtBlurShaderGenerator::operator= ( const DtBlurShaderGenerator rhs)
privatedelete

not allowed

virtual const float* makVrv::DtBlurShaderGenerator::generateGaussianWeightsAndWidth ( int width,
float  s 
)
virtual

Three helper functions for the DtHdrDrawable. These create a blur shader based on the inputs.

generate the gaussian weights and width for a given 's'

virtual const float* makVrv::DtBlurShaderGenerator::generateTriangleWeights ( int  width)
virtual

generate the triangle weights for a given width

virtual DtGlProgram* makVrv::DtBlurShaderGenerator::generate1DConvolutionFilterComputeShader ( const float *  weights,
int  width,
bool  vertical,
bool  tex2D,
int  imgWidth,
int  imgHeight,
bool  isMultiview,
const std::string &  preprocessorString,
const std::string &  preAmble 
)
virtual

generate the compute shader for given weights and width,

vertical indicates whether this is a vertical or horizontal filter imgWidth image width for which this filter runs on imgHeight image height for which this filter runs on preprocessorString preprocessor options preAmble preamble (version, etc)

virtual void makVrv::DtBlurShaderGenerator::deleteWeights ( void  )
protectedvirtual

internal memory

Member Data Documentation

float* makVrv::DtBlurShaderGenerator::myWeights
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)