33 namespace visualization {
62 geometry::
Image &image) = 0;
std::string name
Definition: FilePCD.cpp:55
The base geometry class.
Definition: Geometry.h:35
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition: Image.h:53
Definition: RenderOption.h:36
Definition: ViewControl.h:38
Definition: ImageShader.h:76
ImageShaderForImage()
Definition: ImageShader.h:78
Definition: ImageShader.h:37
void Release() final
Definition: ImageShader.cpp:65
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:127
bool Compile() final
Definition: ImageShader.cpp:53
GLuint vertex_UV_
Definition: ImageShader.h:67
GLHelper::GLVector3f vertex_scale_data_
Definition: ImageShader.h:73
ImageShader(const std::string &name)
Definition: ImageShader.h:42
void UnbindGeometry() final
Definition: ImageShader.cpp:153
GLuint image_texture_
Definition: ImageShader.h:69
GLuint vertex_scale_
Definition: ImageShader.h:71
GLuint vertex_position_buffer_
Definition: ImageShader.h:66
GLuint vertex_UV_buffer_
Definition: ImageShader.h:68
~ImageShader() override
Definition: ImageShader.h:39
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: ImageShader.cpp:70
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
GLuint vertex_position_
Definition: ImageShader.h:65
GLuint image_texture_buffer_
Definition: ImageShader.h:70
Definition: ShaderWrapper.h:40
Eigen::Matrix< GLfloat, 3, 1, Eigen::ColMajor > GLVector3f
Definition: GLHelper.h:44
Definition: PinholeCameraIntrinsic.cpp:34