Go to the documentation of this file.
33 namespace visualization {
64 geometry::
Image &image) = 0;
GLfloat mask_alpha_data_
Definition: ImageMaskShader.h:77
bool Compile() final
Definition: ImageMaskShader.cpp:40
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, geometry::Image &image)=0
GLuint vertex_position_buffer_
Definition: ImageMaskShader.h:68
GLuint image_texture_
Definition: ImageMaskShader.h:71
void Release() final
Definition: ImageMaskShader.cpp:54
GLuint vertex_UV_buffer_
Definition: ImageMaskShader.h:70
Definition: ImageMaskShader.h:80
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
Definition: RenderOption.h:36
GLuint mask_color_
Definition: ImageMaskShader.h:73
GLuint vertex_UV_
Definition: ImageMaskShader.h:69
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: ImageMaskShader.cpp:116
GLuint image_texture_buffer_
Definition: ImageMaskShader.h:72
void UnbindGeometry() final
Definition: ImageMaskShader.cpp:143
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition: Image.h:53
The base geometry class.
Definition: Geometry.h:35
Definition: ImageMaskShader.h:37
ImageMaskShader(const std::string &name)
Definition: ImageMaskShader.h:42
std::string name
Definition: FilePCD.cpp:55
GLHelper::GLVector3f mask_color_data_
Definition: ImageMaskShader.h:76
Eigen::Matrix< GLfloat, 3, 1, Eigen::ColMajor > GLVector3f
Definition: GLHelper.h:44
Definition: ShaderWrapper.h:40
Definition: ViewControl.h:38
GLuint mask_alpha_
Definition: ImageMaskShader.h:74
Definition: PinholeCameraIntrinsic.cpp:34
ImageMaskShaderForImage()
Definition: ImageMaskShader.h:82
GLuint vertex_position_
Definition: ImageMaskShader.h:67
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: ImageMaskShader.cpp:59
~ImageMaskShader() override
Definition: ImageMaskShader.h:39