ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ShaderBagGLSL Class Reference

#include <ProgramGLSL.h>

Inheritance diagram for ShaderBagGLSL:
Collaboration diagram for ShaderBagGLSL:

Public Member Functions

virtual void SetMarginCopyParam (int xmax, int ymax)
 
void SetSimpleOrientationInput (int oTex, float sigma, float sigma_step)
 
void LoadOrientationShader ()
 
void LoadDescriptorShaderF2 ()
 
virtual void LoadDescriptorShader ()
 
virtual void SetFeatureOrientationParam (int gtex, int width, int height, float sigma, int stex=0, float step=1.0f)
 
virtual void SetFeatureDescirptorParam (int gtex, int otex, float dwidth, float fwidth, float width, float height, float sigma)
 
virtual void SetGenListInitParam (int w, int h)
 
virtual void SetGenListStartParam (float width, int tex0)
 
virtual void LoadGenListShader (int ndoglev, int nlev)
 
virtual void UnloadProgram ()
 
virtual void LoadKeypointShader (float threshold, float edgeTrheshold)
 
virtual void LoadFixedShaders ()
 
virtual void LoadDisplayShaders ()
 
virtual void SetDogTexParam (int texU, int texD)
 
virtual void SetGenListStepParam (int tex, int tex0)
 
virtual void SetGenVBOParam (float width, float fwidth, float size)
 
virtual ~ShaderBagGLSL ()
 
- Public Member Functions inherited from ShaderBag
virtual void SetGenListEndParam (int ktex)
 
virtual void SetGradPassParam (int texP=0)
 
void CreateGaussianFilters (SiftParam &param)
 
void SelectInitialSmoothingFilter (int octave_min, SiftParam &param)
 
void LoadDynamicShaders (SiftParam &param)
 
 ShaderBag ()
 
virtual ~ShaderBag ()
 

Static Public Member Functions

static void WriteOrientationCodeToStream (ostream &out)
 
static ProgramGLSLLoadGenListStepShader (int start, int step)
 

Additional Inherited Members

- Public Attributes inherited from ShaderBag
ProgramGPUs_gray
 
ProgramGPUs_copy_key
 
ProgramGPUs_debug
 
ProgramGPUs_orientation
 
ProgramGPUs_display_gaussian
 
ProgramGPUs_display_dog
 
ProgramGPUs_display_grad
 
ProgramGPUs_display_keys
 
ProgramGPUs_sampling
 
ProgramGPUs_grad_pass
 
ProgramGPUs_dog_pass
 
ProgramGPUs_keypoint
 
ProgramGPUs_seperate_sp
 
ProgramGPUs_genlist_init_tight
 
ProgramGPUs_genlist_init_ex
 
ProgramGPUs_genlist_histo
 
ProgramGPUs_genlist_start
 
ProgramGPUs_genlist_step
 
ProgramGPUs_genlist_end
 
ProgramGPUs_zero_pass
 
ProgramGPUs_vertex_list
 
ProgramGPUs_descriptor_fp
 
ProgramGPUs_margin_copy
 
FilterProgramf_gaussian_skip0
 
vector< FilterProgram * > f_gaussian_skip0_v
 
FilterProgramf_gaussian_skip1
 
FilterProgram ** f_gaussian_step
 
int _gaussian_step_num
 

Detailed Description

Definition at line 174 of file ProgramGLSL.h.

Constructor & Destructor Documentation

◆ ~ShaderBagGLSL()

virtual ShaderBagGLSL::~ShaderBagGLSL ( )
inlinevirtual

Definition at line 210 of file ProgramGLSL.h.

Member Function Documentation

◆ LoadDescriptorShader()

void ShaderBagGLSL::LoadDescriptorShader ( )
virtual

Reimplemented from ShaderBag.

Definition at line 1629 of file ProgramGLSL.cpp.

References GlobalParam::_DescriptorPPT.

◆ LoadDescriptorShaderF2()

void ShaderBagGLSL::LoadDescriptorShaderF2 ( )

Definition at line 1514 of file ProgramGLSL.cpp.

◆ LoadDisplayShaders()

void ShaderBagGLSL::LoadDisplayShaders ( )
virtual

Implements ShaderBag.

Definition at line 732 of file ProgramGLSL.cpp.

◆ LoadFixedShaders()

void ShaderBagGLSL::LoadFixedShaders ( )
virtual

◆ LoadGenListShader()

void ShaderBagGLSL::LoadGenListShader ( int  ndoglev,
int  nlev 
)
virtual

Implements ShaderBag.

Definition at line 1035 of file ProgramGLSL.cpp.

◆ LoadGenListStepShader()

ProgramGLSL * ShaderBagGLSL::LoadGenListStepShader ( int  start,
int  step 
)
static

Definition at line 1103 of file ProgramGLSL.cpp.

Referenced by ShaderBagPKSL::LoadGenListShader().

◆ LoadKeypointShader()

void ShaderBagGLSL::LoadKeypointShader ( float  threshold,
float  edgeTrheshold 
)
virtual

Implements ShaderBag.

Definition at line 779 of file ProgramGLSL.cpp.

References GlobalParam::_SubpixelLocalization.

◆ LoadOrientationShader()

void ShaderBagGLSL::LoadOrientationShader ( void  )
virtual

Implements ShaderBag.

Definition at line 1147 of file ProgramGLSL.cpp.

◆ SetDogTexParam()

void ShaderBagGLSL::SetDogTexParam ( int  texU,
int  texD 
)
virtual

Implements ShaderBag.

Definition at line 1009 of file ProgramGLSL.cpp.

◆ SetFeatureDescirptorParam()

void ShaderBagGLSL::SetFeatureDescirptorParam ( int  gtex,
int  otex,
float  dwidth,
float  fwidth,
float  width,
float  height,
float  sigma 
)
virtual

Reimplemented from ShaderBag.

Definition at line 1636 of file ProgramGLSL.cpp.

References GlobalParam::_DescriptorWindowFactor, height, size, and width.

◆ SetFeatureOrientationParam()

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 1494 of file ProgramGLSL.cpp.

References GlobalParam::_KeepExtremumSign, GlobalParam::_SubpixelLocalization, height, size, and width.

◆ SetGenListInitParam()

void ShaderBagGLSL::SetGenListInitParam ( int  w,
int  h 
)
virtual

Reimplemented from ShaderBag.

Definition at line 1091 of file ProgramGLSL.cpp.

◆ SetGenListStartParam()

void ShaderBagGLSL::SetGenListStartParam ( float  width,
int  tex0 
)
virtual

Implements ShaderBag.

Definition at line 1096 of file ProgramGLSL.cpp.

References width.

◆ SetGenListStepParam()

void ShaderBagGLSL::SetGenListStepParam ( int  tex,
int  tex0 
)
virtual

Implements ShaderBag.

Definition at line 1015 of file ProgramGLSL.cpp.

◆ SetGenVBOParam()

void ShaderBagGLSL::SetGenVBOParam ( float  width,
float  fwidth,
float  size 
)
virtual

Implements ShaderBag.

Definition at line 1019 of file ProgramGLSL.cpp.

References size, and width.

◆ SetMarginCopyParam()

void ShaderBagGLSL::SetMarginCopyParam ( int  xmax,
int  ymax 
)
virtual

Reimplemented from ShaderBag.

Definition at line 1085 of file ProgramGLSL.cpp.

◆ SetSimpleOrientationInput()

void ShaderBagGLSL::SetSimpleOrientationInput ( int  oTex,
float  sigma,
float  sigma_step 
)
virtual

Reimplemented from ShaderBag.

Definition at line 1485 of file ProgramGLSL.cpp.

◆ UnloadProgram()

void ShaderBagGLSL::UnloadProgram ( void  )
virtual

Implements ShaderBag.

Definition at line 1028 of file ProgramGLSL.cpp.

◆ WriteOrientationCodeToStream()

void ShaderBagGLSL::WriteOrientationCodeToStream ( ostream &  out)
static

Definition at line 1281 of file ProgramGLSL.cpp.


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