16 namespace visualization {
46 std::vector<
Eigen::Vector3f> &normals,
47 std::vector<
Eigen::Vector3f> &colors) = 0;
89 std::vector<Eigen::Vector3f> &
points,
90 std::vector<Eigen::Vector3f> &normals,
91 std::vector<Eigen::Vector3f> &colors)
final;
105 std::vector<Eigen::Vector3f> &
points,
106 std::vector<Eigen::Vector3f> &normals,
107 std::vector<Eigen::Vector3f> &colors)
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: PhongShader.h:78
PhongShaderForPointCloud()
Definition: PhongShader.h:80
Definition: PhongShader.h:94
PhongShaderForTriangleMesh()
Definition: PhongShader.h:96
Definition: PhongShader.h:20
GLuint M_
Definition: PhongShader.h:61
bool Compile() final
Definition: PhongShader.cpp:20
gl_util::GLVector4f light_specular_shininess_data_
Definition: PhongShader.h:74
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: PhongShader.cpp:49
GLuint light_specular_power_
Definition: PhongShader.h:65
gl_util::GLMatrix4f light_position_world_data_
Definition: PhongShader.h:70
GLuint V_
Definition: PhongShader.h:60
GLuint vertex_color_buffer_
Definition: PhongShader.h:56
GLuint light_diffuse_power_
Definition: PhongShader.h:64
GLuint light_ambient_
Definition: PhongShader.h:67
GLuint vertex_position_buffer_
Definition: PhongShader.h:54
void SetLighting(const ViewControl &view, const RenderOption &option)
Definition: PhongShader.cpp:130
GLuint vertex_normal_
Definition: PhongShader.h:57
GLuint light_position_world_
Definition: PhongShader.h:62
GLuint vertex_color_
Definition: PhongShader.h:55
GLuint vertex_position_
Definition: PhongShader.h:53
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
void Release() final
Definition: PhongShader.cpp:44
PhongShader(const std::string &name)
Definition: PhongShader.h:25
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::Vector3f > &colors)=0
gl_util::GLVector4f light_specular_power_data_
Definition: PhongShader.h:73
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: PhongShader.cpp:86
GLuint MVP_
Definition: PhongShader.h:59
GLuint light_color_
Definition: PhongShader.h:63
void UnbindGeometry() final
Definition: PhongShader.cpp:121
GLuint light_specular_shininess_
Definition: PhongShader.h:66
gl_util::GLVector4f light_diffuse_power_data_
Definition: PhongShader.h:72
~PhongShader() override
Definition: PhongShader.h:22
gl_util::GLMatrix4f light_color_data_
Definition: PhongShader.h:71
GLuint vertex_normal_buffer_
Definition: PhongShader.h:58
gl_util::GLVector4f light_ambient_data_
Definition: PhongShader.h:75
Definition: ShaderWrapper.h:21
Definition: NonRigidOptimizer.cpp:22
Eigen::Matrix< GLfloat, 4, 4, Eigen::ColMajor > GLMatrix4f
Definition: GLHelper.h:34
Eigen::Matrix< GLfloat, 4, 1, Eigen::ColMajor > GLVector4f
Definition: GLHelper.h:33
Definition: PinholeCameraIntrinsic.cpp:16