14 namespace visualization {
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:183
The base geometry class.
Definition: Geometry.h:18
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition: Image.h:34
Defines rendering options for visualizer.
Definition: RenderOption.h:20
View controller for visualizer.
Definition: ViewControl.h:23
Definition: ImageMaskShader.h:61
ImageMaskShaderForImage()
Definition: ImageMaskShader.h:63
Definition: ImageMaskShader.h:18
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, geometry::Image &image)=0
GLuint image_texture_buffer_
Definition: ImageMaskShader.h:53
ImageMaskShader(const std::string &name)
Definition: ImageMaskShader.h:23
~ImageMaskShader() override
Definition: ImageMaskShader.h:20
void UnbindGeometry() final
Definition: ImageMaskShader.cpp:123
GLuint vertex_position_buffer_
Definition: ImageMaskShader.h:49
void Release() final
Definition: ImageMaskShader.cpp:34
gl_util::GLVector3f mask_color_data_
Definition: ImageMaskShader.h:57
GLuint vertex_UV_
Definition: ImageMaskShader.h:50
GLuint vertex_position_
Definition: ImageMaskShader.h:48
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
GLuint mask_alpha_
Definition: ImageMaskShader.h:55
GLuint vertex_UV_buffer_
Definition: ImageMaskShader.h:51
bool Compile() final
Definition: ImageMaskShader.cpp:21
GLuint image_texture_
Definition: ImageMaskShader.h:52
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: ImageMaskShader.cpp:39
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: ImageMaskShader.cpp:96
GLuint mask_color_
Definition: ImageMaskShader.h:54
GLfloat mask_alpha_data_
Definition: ImageMaskShader.h:58
Definition: ShaderWrapper.h:21
Eigen::Matrix< GLfloat, 3, 1, Eigen::ColMajor > GLVector3f
Definition: GLHelper.h:32
Definition: PinholeCameraIntrinsic.cpp:16