16 namespace visualization {
48 std::vector<
Eigen::Vector2f> &uvs) = 0;
77 std::vector<Eigen::Vector3f> &
points,
78 std::vector<Eigen::Vector2f> &uvs)
final;
The base geometry class.
Definition: Geometry.h:18
Defines rendering options for visualizer.
Definition: RenderOption.h:20
View controller for visualizer.
Definition: ViewControl.h:23
Definition: ShaderWrapper.h:21
Definition: TextureSimpleShader.h:65
TextureSimpleShaderForTriangleMesh()
Definition: TextureSimpleShader.h:67
Definition: TextureSimpleShader.h:20
void Release() final
Definition: TextureSimpleShader.cpp:31
std::vector< GLuint > texture_buffers_
Definition: TextureSimpleShader.h:62
std::vector< GLuint > vertex_uv_buffers_
Definition: TextureSimpleShader.h:61
~TextureSimpleShader() override
Definition: TextureSimpleShader.h:22
int num_materials_
Definition: TextureSimpleShader.h:56
GLuint vertex_position_
Definition: TextureSimpleShader.h:51
GLuint MVP_
Definition: TextureSimpleShader.h:54
TextureSimpleShader(const std::string &name)
Definition: TextureSimpleShader.h:25
std::vector< GLsizei > draw_array_sizes_
Definition: TextureSimpleShader.h:58
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: TextureSimpleShader.cpp:36
GLuint texture_
Definition: TextureSimpleShader.h:53
std::vector< GLuint > vertex_position_buffers_
Definition: TextureSimpleShader.h:60
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: TextureSimpleShader.cpp:73
bool Compile() final
Definition: TextureSimpleShader.cpp:18
GLuint vertex_uv_
Definition: TextureSimpleShader.h:52
std::vector< int > array_offsets_
Definition: TextureSimpleShader.h:57
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
void UnbindGeometry() final
Definition: TextureSimpleShader.cpp:106
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, std::vector< Eigen::Vector3f > &points, std::vector< Eigen::Vector2f > &uvs)=0
Definition: NonRigidOptimizer.cpp:22
Definition: PinholeCameraIntrinsic.cpp:16