Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
BIAS::MapFusion Class Reference

#include <OpenGLFramework/SpecializedBatches/MapFusion.hh>

+ Inheritance diagram for BIAS::MapFusion:
+ Collaboration diagram for BIAS::MapFusion:

Public Types

enum  FUSION_TYPE { PIXEL = 0, AREA = 1, FG = 2 }
 

Public Member Functions

void ActivateFixedFunctionPipeline ()
 
glfShaderProgramCreateFragmentShaderProgram (const std::string &fragmentShaderCode)
 
glfShaderProgramCreateFragmentShaderProgramFromFile (const std::string &fragmentShaderPath)
 
void Draw ()
 
glfFramebufferObjectGetRenderTarget ()
 
glfTexture2DGetTextureFromDefaultRenderTarget ()
 
int GetTextureFromDefaultRenderTarget (ImageBase &texture)
 
unsigned int GetViewportHeight ()
 
unsigned int GetViewportWidth ()
 
glfTexture2DGetZBufferFromDefaultRenderTarget ()
 
void Init (unsigned int width, unsigned int height)
 
 MapFusion ()
 
void SetDefaultFloatRenderTarget (unsigned int width, unsigned height)
 
void SetDefaultRenderTarget (unsigned int width, unsigned height, GLenum internalFormat=GL_LUMINANCE32F_ARB)
 
void SetDefaultRGBRenderTarget (unsigned int width, unsigned height)
 
void SetDisparityMaps (glfTexture2D *dispMap1, glfTexture2D *dispMap2)
 
void SetFilterSize (unsigned int width, unsigned int height)
 
void SetFusionType (FUSION_TYPE fusion_type)
 
void SetRenderTarget (glfFramebufferObject *renderTarget)
 
void SetViewPort (unsigned int width, unsigned int height)
 
virtual ~MapFusion ()
 

Protected Member Functions

glfBatchGetBatch_ ()
 
glfDepthBufferModeGetDepthBufferMode_ ()
 
glfElementBufferGetElementBuffer_ ()
 
glfMatrixGetModelViewMatrix_ ()
 
glfMatrixGetProjectionMatrix_ ()
 
glfShaderGetShader ()
 
glfShaderProgramGetShaderProgram_ ()
 
glfVertexBufferGetVertexBuffer_ ()
 
glfViewportGetViewport_ ()
 
void InitBatch_ ()
 
void InitPrimitiveData_ ()
 
void InitVertexTransformation_ ()
 

Detailed Description

Definition at line 21 of file MapFusion.hh.

Member Enumeration Documentation

Enumerator
PIXEL 
AREA 
FG 

Definition at line 24 of file MapFusion.hh.

Constructor & Destructor Documentation

MapFusion::MapFusion ( )

Definition at line 14 of file MapFusion.cpp.

MapFusion::~MapFusion ( )
virtual

Definition at line 92 of file MapFusion.cpp.

Member Function Documentation

void BIAS::PerPixelProcessingBase::ActivateFixedFunctionPipeline ( )
inlineinherited

Definition at line 88 of file PerPixelProcessingBase.hh.

References BIAS::glfScreen::GetInstance().

glfShaderProgram * PerPixelProcessingBase::CreateFragmentShaderProgram ( const std::string &  fragmentShaderCode)
inherited
glfShaderProgram * PerPixelProcessingBase::CreateFragmentShaderProgramFromFile ( const std::string &  fragmentShaderPath)
inherited
void MapFusion::Draw ( )

Definition at line 126 of file MapFusion.cpp.

glfBatch* BIAS::PerPixelProcessingBase::GetBatch_ ( )
inlineprotectedinherited

Definition at line 157 of file PerPixelProcessingBase.hh.

Referenced by BIAS::SeparableBilateralFilter::Draw().

glfDepthBufferMode* BIAS::PerPixelProcessingBase::GetDepthBufferMode_ ( )
inlineprotectedinherited

Definition at line 172 of file PerPixelProcessingBase.hh.

Referenced by BIAS::SeparableBilateralFilter::Init().

glfElementBuffer* BIAS::PerPixelProcessingBase::GetElementBuffer_ ( )
protectedinherited
glfMatrix* BIAS::PerPixelProcessingBase::GetModelViewMatrix_ ( )
protectedinherited
glfMatrix* BIAS::PerPixelProcessingBase::GetProjectionMatrix_ ( )
protectedinherited
glfFramebufferObject* BIAS::PerPixelProcessingBase::GetRenderTarget ( )
inlineinherited

Definition at line 129 of file PerPixelProcessingBase.hh.

glfShader* BIAS::PerPixelProcessingBase::GetShader ( )
inlineprotectedinherited

Definition at line 176 of file PerPixelProcessingBase.hh.

glfShaderProgram* BIAS::PerPixelProcessingBase::GetShaderProgram_ ( )
inlineprotectedinherited
glfTexture2D* BIAS::PerPixelProcessingBase::GetTextureFromDefaultRenderTarget ( )
inlineinherited

Definition at line 115 of file PerPixelProcessingBase.hh.

int BIAS::PerPixelProcessingBase::GetTextureFromDefaultRenderTarget ( ImageBase texture)
inlineinherited

Definition at line 119 of file PerPixelProcessingBase.hh.

glfVertexBuffer* BIAS::PerPixelProcessingBase::GetVertexBuffer_ ( )
protectedinherited
glfViewport* BIAS::PerPixelProcessingBase::GetViewport_ ( )
inlineprotectedinherited

Definition at line 169 of file PerPixelProcessingBase.hh.

unsigned int BIAS::PerPixelProcessingBase::GetViewportHeight ( )
inlineinherited

Definition at line 60 of file PerPixelProcessingBase.hh.

unsigned int BIAS::PerPixelProcessingBase::GetViewportWidth ( )
inlineinherited

Definition at line 57 of file PerPixelProcessingBase.hh.

glfTexture2D* BIAS::PerPixelProcessingBase::GetZBufferFromDefaultRenderTarget ( )
inlineinherited

Definition at line 112 of file PerPixelProcessingBase.hh.

void MapFusion::Init ( unsigned int  width,
unsigned int  height 
)

Definition at line 114 of file MapFusion.cpp.

void BIAS::PerPixelProcessingBase::InitBatch_ ( )
inlineprotectedinherited

Definition at line 134 of file PerPixelProcessingBase.hh.

Referenced by BIAS::SeparableBilateralFilter::Init().

void BIAS::PerPixelProcessingBase::InitPrimitiveData_ ( )
inlineprotectedinherited
void BIAS::PerPixelProcessingBase::InitVertexTransformation_ ( )
inlineprotectedinherited

Definition at line 152 of file PerPixelProcessingBase.hh.

void PerPixelProcessingBase::SetDefaultFloatRenderTarget ( unsigned int  width,
unsigned  height 
)
inherited

Definition at line 96 of file PerPixelProcessingBase.cpp.

void PerPixelProcessingBase::SetDefaultRenderTarget ( unsigned int  width,
unsigned  height,
GLenum  internalFormat = GL_LUMINANCE32F_ARB 
)
inherited

Definition at line 44 of file PerPixelProcessingBase.cpp.

References BIAS::glfException::GetMessageString().

void PerPixelProcessingBase::SetDefaultRGBRenderTarget ( unsigned int  width,
unsigned  height 
)
inherited

Definition at line 101 of file PerPixelProcessingBase.cpp.

void MapFusion::SetDisparityMaps ( glfTexture2D dispMap1,
glfTexture2D dispMap2 
)

Definition at line 101 of file MapFusion.cpp.

void BIAS::MapFusion::SetFilterSize ( unsigned int  width,
unsigned int  height 
)
inline

Definition at line 34 of file MapFusion.hh.

void MapFusion::SetFusionType ( FUSION_TYPE  fusion_type)

Definition at line 110 of file MapFusion.cpp.

void BIAS::PerPixelProcessingBase::SetRenderTarget ( glfFramebufferObject renderTarget)
inlineinherited
void BIAS::PerPixelProcessingBase::SetViewPort ( unsigned int  width,
unsigned int  height 
)
inlineinherited

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