35 namespace visualization {
66 std::vector<Eigen::Vector3f> &
points,
67 std::vector<Eigen::Vector2f> &uvs) = 0;
96 std::vector<Eigen::Vector3f> &
points,
97 std::vector<Eigen::Vector2f> &uvs)
final;
GLuint MVP_
Definition: TextureSimpleShader.h:73
The base geometry class.
Definition: Geometry.h:37
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
std::vector< GLuint > texture_buffers_
Definition: TextureSimpleShader.h:81
TextureSimpleShaderForTriangleMesh()
Definition: TextureSimpleShader.h:86
GLuint vertex_uv_
Definition: TextureSimpleShader.h:71
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, std::vector< Eigen::Vector3f > &points, std::vector< Eigen::Vector2f > &uvs)=0
void UnbindGeometry() final
Definition: TextureSimpleShader.cpp:125
View controller for visualizer.
Definition: ViewControl.h:41
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: TextureSimpleShader.cpp:55
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: TextureSimpleShader.cpp:92
Defines rendering options for visualizer.
Definition: RenderOption.h:39
Definition: TextureSimpleShader.h:39
int num_materials_
Definition: TextureSimpleShader.h:75
~TextureSimpleShader() override
Definition: TextureSimpleShader.h:41
int points
Definition: FilePCD.cpp:73
Definition: PinholeCameraIntrinsic.cpp:35
std::string name
Definition: FilePCD.cpp:58
Definition: ShaderWrapper.h:40
TextureSimpleShader(const std::string &name)
Definition: TextureSimpleShader.h:44
GLuint vertex_position_
Definition: TextureSimpleShader.h:70
std::vector< GLsizei > draw_array_sizes_
Definition: TextureSimpleShader.h:77
std::vector< int > array_offsets_
Definition: TextureSimpleShader.h:76
GLuint texture_
Definition: TextureSimpleShader.h:72
void Release() final
Definition: TextureSimpleShader.cpp:50
Definition: TextureSimpleShader.h:84
std::vector< GLuint > vertex_uv_buffers_
Definition: TextureSimpleShader.h:80
std::vector< GLuint > vertex_position_buffers_
Definition: TextureSimpleShader.h:79
bool Compile() final
Definition: TextureSimpleShader.cpp:37