14namespace 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 ImageShader.h:57
ImageShaderForImage()
Definition ImageShader.h:59
Definition ImageShader.h:18
void Release() final
Definition ImageShader.cpp:46
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, geometry::Image &image)=0
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition ImageShader.cpp:108
bool Compile() final
Definition ImageShader.cpp:34
GLuint vertex_UV_
Definition ImageShader.h:48
ImageShader(const std::string &name)
Definition ImageShader.h:23
void UnbindGeometry() final
Definition ImageShader.cpp:134
GLuint image_texture_
Definition ImageShader.h:50
gl_util::GLVector3f vertex_scale_data_
Definition ImageShader.h:54
GLuint vertex_scale_
Definition ImageShader.h:52
GLuint vertex_position_buffer_
Definition ImageShader.h:47
GLuint vertex_UV_buffer_
Definition ImageShader.h:49
~ImageShader() override
Definition ImageShader.h:20
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition ImageShader.cpp:51
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
GLuint vertex_position_
Definition ImageShader.h:46
GLuint image_texture_buffer_
Definition ImageShader.h:51
Definition ShaderWrapper.h:21
Definition PinholeCameraIntrinsic.cpp:16