Go to the documentation of this file.
35 namespace visualization {
67 std::vector<
Eigen::Vector3f> &normals,
68 std::vector<
Eigen::Vector2f> &uvs) = 0;
114 std::vector<Eigen::Vector3f> &
points,
115 std::vector<Eigen::Vector3f> &normals,
116 std::vector<Eigen::Vector2f> &uvs)
final;
GLHelper::GLVector4f light_specular_power_data_
Definition: TexturePhongShader.h:97
GLuint vertex_position_
Definition: TexturePhongShader.h:74
Definition: EigenHelperForNonRigidOptimization.h:33
~TexturePhongShader() override
Definition: TexturePhongShader.h:41
void SetLighting(const ViewControl &view, const RenderOption &option)
Definition: TexturePhongShader.cpp:164
Eigen::Matrix< GLfloat, 4, 4, Eigen::ColMajor > GLMatrix4f
Definition: GLHelper.h:46
Definition: RenderOption.h:36
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: TexturePhongShader.cpp:72
GLHelper::GLVector4f light_ambient_data_
Definition: TexturePhongShader.h:99
void UnbindGeometry() final
Definition: TexturePhongShader.cpp:154
GLuint light_specular_power_
Definition: TexturePhongShader.h:86
GLuint vertex_uv_buffer_
Definition: TexturePhongShader.h:77
void Release() final
Definition: TexturePhongShader.cpp:67
The base geometry class.
Definition: Geometry.h:35
GLuint light_color_
Definition: TexturePhongShader.h:84
GLHelper::GLVector4f light_diffuse_power_data_
Definition: TexturePhongShader.h:96
bool Compile() final
Definition: TexturePhongShader.cpp:40
GLuint light_specular_shininess_
Definition: TexturePhongShader.h:87
Definition: TexturePhongShader.h:39
GLuint light_ambient_
Definition: TexturePhongShader.h:88
int points
Definition: FilePCD.cpp:70
GLuint vertex_normal_
Definition: TexturePhongShader.h:78
std::string name
Definition: FilePCD.cpp:55
Definition: TexturePhongShader.h:102
GLuint light_diffuse_power_
Definition: TexturePhongShader.h:85
GLuint M_
Definition: TexturePhongShader.h:82
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: TexturePhongShader.cpp:110
Definition: ShaderWrapper.h:40
GLuint diffuse_texture_buffer_
Definition: TexturePhongShader.h:91
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, std::vector< Eigen::Vector3f > &points, std::vector< Eigen::Vector3f > &normals, std::vector< Eigen::Vector2f > &uvs)=0
GLuint vertex_uv_
Definition: TexturePhongShader.h:76
Definition: ViewControl.h:38
GLuint vertex_position_buffer_
Definition: TexturePhongShader.h:75
GLuint V_
Definition: TexturePhongShader.h:81
TexturePhongShader(const std::string &name)
Definition: TexturePhongShader.h:44
GLHelper::GLMatrix4f light_color_data_
Definition: TexturePhongShader.h:95
Definition: PinholeCameraIntrinsic.cpp:34
Eigen::Matrix< GLfloat, 4, 1, Eigen::ColMajor > GLVector4f
Definition: GLHelper.h:45
GLHelper::GLVector4f light_specular_shininess_data_
Definition: TexturePhongShader.h:98
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
GLuint light_position_world_
Definition: TexturePhongShader.h:83
GLHelper::GLMatrix4f light_position_world_data_
Definition: TexturePhongShader.h:94
TexturePhongShaderForTriangleMesh()
Definition: TexturePhongShader.h:104
GLuint MVP_
Definition: TexturePhongShader.h:80
GLuint vertex_normal_buffer_
Definition: TexturePhongShader.h:79
GLuint diffuse_texture_
Definition: TexturePhongShader.h:90