#include <ProgramGLSL.h>
Public Member Functions | |
virtual void | LoadDescriptorShader () |
void | LoadDescriptorShaderF2 () |
virtual void | LoadDisplayShaders () |
virtual void | LoadFixedShaders () |
virtual void | LoadGenListShader (int ndoglev, int nlev) |
virtual void | LoadKeypointShader (float threshold, float edgeTrheshold) |
void | LoadOrientationShader () |
virtual void | SetDogTexParam (int texU, int texD) |
virtual void | SetFeatureDescirptorParam (int gtex, int otex, float dwidth, float fwidth, float width, float height, float sigma) |
virtual void | SetFeatureOrientationParam (int gtex, int width, int height, float sigma, int stex=0, float step=1.0f) |
virtual void | SetGenListInitParam (int w, int h) |
virtual void | SetGenListStartParam (float width, int tex0) |
virtual void | SetGenListStepParam (int tex, int tex0) |
virtual void | SetGenVBOParam (float width, float fwidth, float size) |
virtual void | SetMarginCopyParam (int xmax, int ymax) |
void | SetSimpleOrientationInput (int oTex, float sigma, float sigma_step) |
virtual void | UnloadProgram () |
virtual | ~ShaderBagGLSL () |
Static Public Member Functions | |
static ProgramGLSL * | LoadGenListStepShader (int start, int step) |
static void | WriteOrientationCodeToStream (ostream &out) |
Private Attributes | |
GLint | _param_descriptor_dsize |
GLint | _param_descriptor_gtex |
GLint | _param_descriptor_size |
GLint | _param_dog_texd |
GLint | _param_dog_texu |
GLint | _param_ftex_width |
GLint | _param_genlist_init_bbox |
GLint | _param_genlist_start_tex0 |
GLint | _param_genlist_step_tex0 |
GLint | _param_genvbo_size |
GLint | _param_margin_copy_truncate |
GLint | _param_orientation_gtex |
GLint | _param_orientation_size |
GLint | _param_orientation_stex |
Definition at line 174 of file ProgramGLSL.h.
virtual ShaderBagGLSL::~ShaderBagGLSL | ( | ) | [inline, virtual] |
Definition at line 210 of file ProgramGLSL.h.
void ShaderBagGLSL::LoadDescriptorShader | ( | ) | [virtual] |
Reimplemented from ShaderBag.
Definition at line 1634 of file ProgramGLSL.cpp.
Definition at line 1519 of file ProgramGLSL.cpp.
void ShaderBagGLSL::LoadDisplayShaders | ( | ) | [virtual] |
Implements ShaderBag.
Definition at line 737 of file ProgramGLSL.cpp.
void ShaderBagGLSL::LoadFixedShaders | ( | ) | [virtual] |
Implements ShaderBag.
Definition at line 664 of file ProgramGLSL.cpp.
void ShaderBagGLSL::LoadGenListShader | ( | int | ndoglev, |
int | nlev | ||
) | [virtual] |
Implements ShaderBag.
Definition at line 1040 of file ProgramGLSL.cpp.
ProgramGLSL * ShaderBagGLSL::LoadGenListStepShader | ( | int | start, |
int | step | ||
) | [static] |
Definition at line 1108 of file ProgramGLSL.cpp.
void ShaderBagGLSL::LoadKeypointShader | ( | float | threshold, |
float | edgeTrheshold | ||
) | [virtual] |
Implements ShaderBag.
Definition at line 784 of file ProgramGLSL.cpp.
void ShaderBagGLSL::LoadOrientationShader | ( | void | ) | [virtual] |
Implements ShaderBag.
Definition at line 1152 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetDogTexParam | ( | int | texU, |
int | texD | ||
) | [virtual] |
Implements ShaderBag.
Definition at line 1014 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetFeatureDescirptorParam | ( | int | gtex, |
int | otex, | ||
float | dwidth, | ||
float | fwidth, | ||
float | width, | ||
float | height, | ||
float | sigma | ||
) | [virtual] |
Reimplemented from ShaderBag.
Definition at line 1641 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetFeatureOrientationParam | ( | int | gtex, |
int | width, | ||
int | height, | ||
float | sigma, | ||
int | stex = 0 , |
||
float | step = 1.0f |
||
) | [virtual] |
Reimplemented from ShaderBag.
Definition at line 1499 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetGenListInitParam | ( | int | w, |
int | h | ||
) | [virtual] |
Reimplemented from ShaderBag.
Definition at line 1096 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetGenListStartParam | ( | float | width, |
int | tex0 | ||
) | [virtual] |
Implements ShaderBag.
Definition at line 1101 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetGenListStepParam | ( | int | tex, |
int | tex0 | ||
) | [virtual] |
Implements ShaderBag.
Definition at line 1020 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetGenVBOParam | ( | float | width, |
float | fwidth, | ||
float | size | ||
) | [virtual] |
Implements ShaderBag.
Definition at line 1024 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetMarginCopyParam | ( | int | xmax, |
int | ymax | ||
) | [virtual] |
Reimplemented from ShaderBag.
Definition at line 1090 of file ProgramGLSL.cpp.
void ShaderBagGLSL::SetSimpleOrientationInput | ( | int | oTex, |
float | sigma, | ||
float | sigma_step | ||
) | [virtual] |
Reimplemented from ShaderBag.
Definition at line 1490 of file ProgramGLSL.cpp.
void ShaderBagGLSL::UnloadProgram | ( | void | ) | [virtual] |
Implements ShaderBag.
Definition at line 1033 of file ProgramGLSL.cpp.
void ShaderBagGLSL::WriteOrientationCodeToStream | ( | ostream & | out | ) | [static] |
Definition at line 1286 of file ProgramGLSL.cpp.
GLint ShaderBagGLSL::_param_descriptor_dsize [private] |
Definition at line 189 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_descriptor_gtex [private] |
Definition at line 187 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_descriptor_size [private] |
Definition at line 188 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_dog_texd [private] |
Definition at line 177 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_dog_texu [private] |
Definition at line 176 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_ftex_width [private] |
Definition at line 178 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_genlist_init_bbox [private] |
Definition at line 186 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_genlist_start_tex0 [private] |
Definition at line 179 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_genlist_step_tex0 [private] |
Definition at line 180 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_genvbo_size [private] |
Definition at line 181 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_margin_copy_truncate [private] |
Definition at line 185 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_orientation_gtex [private] |
Definition at line 182 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_orientation_size [private] |
Definition at line 183 of file ProgramGLSL.h.
GLint ShaderBagGLSL::_param_orientation_stex [private] |
Definition at line 184 of file ProgramGLSL.h.