Open3D (C++ API)
0.18.0+5c982c7
|
#include <RGBDImageShader.h>
Public Member Functions | |
RGBDImageShaderForImage () | |
Public Member Functions inherited from open3d::visualization::glsl::RGBDImageShader | |
~RGBDImageShader () override | |
Public Member Functions inherited from open3d::visualization::glsl::ShaderWrapper | |
virtual | ~ShaderWrapper () |
ShaderWrapper (const ShaderWrapper &)=delete | |
ShaderWrapper & | operator= (const ShaderWrapper &)=delete |
bool | Render (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) |
void | InvalidateGeometry () |
const std::string & | GetShaderName () const |
void | PrintShaderWarning (const std::string &message) const |
Protected Member Functions | |
virtual bool | PrepareRendering (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final |
virtual bool | PrepareBinding (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final |
Protected Member Functions inherited from open3d::visualization::glsl::RGBDImageShader | |
RGBDImageShader (const std::string &name) | |
bool | Compile () final |
void | Release () final |
bool | BindGeometry (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final |
bool | RenderGeometry (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final |
void | UnbindGeometry () final |
Protected Member Functions inherited from open3d::visualization::glsl::ShaderWrapper | |
ShaderWrapper (const std::string &name) | |
bool | ValidateShader (GLuint shader_index) |
bool | ValidateProgram (GLuint program_index) |
bool | CompileShaders (const char *const vertex_shader_code, const char *const geometry_shader_code, const char *const fragment_shader_code) |
void | ReleaseProgram () |
void | SetShaderName (const std::string &shader_name) |
Additional Inherited Members | |
Protected Attributes inherited from open3d::visualization::glsl::RGBDImageShader | |
GLuint | vertex_position_ |
GLuint | vertex_position_buffer_ |
GLuint | vertex_UV_ |
GLuint | vertex_UV_buffer_ |
GLuint | image_texture_ |
GLuint | color_texture_buffer_ |
GLuint | depth_texture_ |
GLuint | depth_texture_buffer_ |
GLuint | vertex_scale_ |
GLuint | texture_mode_ |
GLuint | depth_max_ |
float | depth_max_data_ |
float | color_rel_ratio_ = 0.5f |
ImageTextureMode | depth_texture_mode_ |
ImageTextureMode | color_texture_mode_ |
gl_util::GLVector3f | vertex_scale_data_ |
Protected Attributes inherited from open3d::visualization::glsl::ShaderWrapper | |
GLuint | vertex_shader_ = 0 |
GLuint | geometry_shader_ = 0 |
GLuint | fragment_shader_ = 0 |
GLuint | program_ = 0 |
GLenum | draw_arrays_mode_ = GL_POINTS |
GLsizei | draw_arrays_size_ = 0 |
bool | compiled_ = false |
bool | bound_ = false |
|
inline |
|
finalprotectedvirtual |
Implements open3d::visualization::glsl::RGBDImageShader.
|
finalprotectedvirtual |
Implements open3d::visualization::glsl::RGBDImageShader.