![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <GLTexImage.h>


Public Member Functions | |
| virtual void | DrawImage () |
| virtual void | DrawQuadUS (int scale) |
| virtual void | DrawQuadDS (int scale) |
| virtual void | FillMargin (int marginx, int marginy) |
| virtual void | InitTexture (int width, int height, int clamp_to_edge=1) |
| virtual void | TexConvertRGB () |
| virtual void | SetImageSize (int width, int height) |
| virtual void | ZeroHistoMargin () |
| void | DrawMargin (int right, int bottom, int mx, int my) |
| GLTexPacked () | |
Public Member Functions inherited from GLTexImage | |
| void | InitTexture (int width, int height, int clamp_to_edge, GLuint format) |
| void | DrawScaledQuad (float scale) |
| int | CopyToPBO (GLuint pbo, int width, int height, GLenum format=GL_RGBA) |
| void | CopyFromPBO (GLuint pbo, int width, int height, GLenum format=GL_RGBA) |
| void | FitRealTexViewPort () |
| void | DrawQuadMT8 () |
| void | DrawQuadMT4 () |
| void | DrawQuadReduction () |
| void | DrawQuadReduction (int w, int h) |
| void | DrawMargin (int right, int bottom) |
| void | DrawQuad () |
| void | FitTexViewPort () |
| void | ZeroHistoMargin (int hw, int hh) |
| int | CheckTexture () |
| void | SaveToASCII (const char *path) |
| void | AttachToFBO (int i) |
| void | BindTex () |
| operator GLuint () | |
| GLuint | GetTexID () |
| int | GetImgPixelCount () |
| int | GetTexPixelCount () |
| int | GetImgWidth () |
| int | GetImgHeight () |
| int | GetTexWidth () |
| int | GetTexHeight () |
| int | GetDrawWidth () |
| int | GetDrawHeight () |
| int | IsTexPacked () |
| GLTexImage () | |
| virtual | ~GLTexImage () |
Additional Inherited Members | |
Static Public Member Functions inherited from GLTexImage | |
| static void | DetachFBO (int i) |
| static void | UnbindTex () |
| static void | UnbindMultiTex (int n) |
| static void | DrawQuad (float x1, float x2, float y1, float y2) |
Static Public Member Functions inherited from GlobalUtil | |
| static double | CLOCK () |
| static void | StopTimer () |
| static void | StartTimer (const char *event) |
| static float | GetElapsedTime () |
| static void | FitViewPort (int width, int height) |
| static void | SetTextureParameter () |
| static void | SetTextureParameterUS () |
| static void | CheckErrorsGL (const char *location=NULL) |
| static bool | CheckFramebufferStatus () |
| static void | SelectDisplay () |
| static void | InitGLParam (int NotTargetGL=0) |
| static void | SetGLParam () |
| static int | CreateWindowEZ () |
| static void | CleanupOpenGL () |
| static void | SetDeviceParam (int argc, char **argv) |
| static int | CreateWindowEZ (LiteWindow *window) |
Static Public Attributes inherited from GlobalParam | |
| static GLuint | _texTarget = GL_TEXTURE_RECTANGLE_ARB |
| static GLuint | _iTexFormat =GL_RGBA32F_ARB |
| static int | _texMaxDim = 3200 |
| static int | _texMaxDimGL = 4096 |
| static int | _texMinDim = 16 |
| static int | _MemCapGPU = 0 |
| static int | _FitMemoryCap = 0 |
| static int | _verbose = 1 |
| static int | _timingS = 1 |
| static int | _timingO = 0 |
| static int | _timingL = 0 |
| static int | _usePackedTex = 1 |
| static int | _IsNvidia = 0 |
| static int | _KeepShaderLoop = 0 |
| static int | _UseCUDA = 0 |
| static int | _UseOpenCL = 0 |
| static int | _UseDynamicIndexing = 0 |
| static int | _debug = 0 |
| static int | _MaxFilterWidth = -1 |
| static float | _FilterWidthFactor = 4.0f |
| static float | _OrientationWindowFactor = 2.0f |
| static float | _DescriptorWindowFactor = 3.0f |
| static int | _MaxOrientation = 2 |
| static int | _OrientationPack2 = 0 |
| static int | _ListGenGPU = 1 |
| static int | _ListGenSkipGPU = 6 |
| static int | _SupportNVFloat = 0 |
| static int | _SupportTextureRG = 0 |
| static int | _FullSupported = 1 |
| static float | _MaxFeaturePercent = 0.005f |
| static int | _MaxLevelFeatureNum = 4096 |
| static int | _DescriptorPPR = 8 |
| static int | _DescriptorPPT = 16 |
| static int | _FeatureTexBlock = 4 |
| static int | _NarrowFeatureTex = 0 |
| static int | _SubpixelLocalization = 1 |
| static int | _ProcessOBO = 0 |
| static int | _TruncateMethod = 0 |
| static int | _PreciseBorder = 1 |
| static int | _UseSiftGPUEX = 0 |
| static int | _ForceTightPyramid = 0 |
| static int | _octave_min_default =0 |
| static int | _octave_num_default =-1 |
| static int | _InitPyramidWidth =0 |
| static int | _InitPyramidHeight =0 |
| static int | _PreProcessOnCPU = 1 |
| static int | _GoodOpenGL = -1 |
| static int | _FixedOrientation = 0 |
| static int | _LoweOrigin = 0 |
| static int | _ExitAfterSIFT = 0 |
| static int | _NormalizedSIFT = 1 |
| static int | _BinarySIFT = 0 |
| static int | _KeepExtremumSign = 0 |
| static int | _FeatureCountThreshold = -1 |
| static int | _KeyPointListForceLevel0 = 0 |
| static int | _DarknessAdaption = 0 |
| static float | _OrientationExtraFactor |
| static float | _OrientationGaussianFactor = 1.5f |
| static float | _MulitiOrientationThreshold = 0.8f |
| static int | _WindowInitX = -1 |
| static int | _WindowInitY = -1 |
| static const char * | _WindowDisplay = NULL |
| static int | _DeviceIndex = 0 |
Protected Attributes inherited from GLTexImage | |
| GLuint | _texID |
| int | _imgWidth |
| int | _imgHeight |
| int | _texWidth |
| int | _texHeight |
| int | _drawWidth |
| int | _drawHeight |
Definition at line 139 of file GLTexImage.h.
|
inline |
Definition at line 153 of file GLTexImage.h.
|
virtual |
Reimplemented from GLTexImage.
Definition at line 578 of file GLTexImage.cpp.
| void GLTexPacked::DrawMargin | ( | int | right, |
| int | bottom, | ||
| int | mx, | ||
| int | my | ||
| ) |
Definition at line 699 of file GLTexImage.cpp.
|
virtual |
Reimplemented from GLTexImage.
Definition at line 627 of file GLTexImage.cpp.
|
virtual |
Reimplemented from GLTexImage.
Definition at line 592 of file GLTexImage.cpp.
|
virtual |
Reimplemented from GLTexImage.
Definition at line 683 of file GLTexImage.cpp.
References GlobalUtil::FitViewPort(), min(), and ShaderMan::UseShaderMarginCopy().
|
virtual |
Reimplemented from GLTexImage.
Definition at line 534 of file GLTexImage.cpp.
References GlobalParam::_PreciseBorder, height, NULL, and width.
Referenced by PyramidPacked::ResizePyramid().
|
virtual |
Reimplemented from GLTexImage.
Definition at line 528 of file GLTexImage.cpp.
|
virtual |
Reimplemented from GLTexImage.
Definition at line 499 of file GLTexImage.cpp.
References NULL, ShaderMan::UnloadProgram(), and ShaderMan::UseShaderRGB2Gray().
|
virtual |
Reimplemented from GLTexImage.
Definition at line 664 of file GLTexImage.cpp.
References GlobalUtil::FitViewPort(), min(), and ShaderMan::UseShaderZeroPass().