35 namespace visualization {
64 std::vector<Eigen::Vector3f> &
points,
65 std::vector<Eigen::Vector3f> &normals,
66 std::vector<Eigen::Vector3f> &colors) = 0;
108 std::vector<Eigen::Vector3f> &
points,
109 std::vector<Eigen::Vector3f> &normals,
110 std::vector<Eigen::Vector3f> &colors)
final;
124 std::vector<Eigen::Vector3f> &
points,
125 std::vector<Eigen::Vector3f> &normals,
126 std::vector<Eigen::Vector3f> &colors)
final;
~PhongShader() override
Definition: PhongShader.h:41
GLuint vertex_position_
Definition: PhongShader.h:72
gl_util::GLVector4f light_diffuse_power_data_
Definition: PhongShader.h:91
The base geometry class.
Definition: Geometry.h:37
Eigen::Matrix< GLfloat, 4, 4, Eigen::ColMajor > GLMatrix4f
Definition: GLHelper.h:53
GLuint vertex_color_
Definition: PhongShader.h:74
GLuint light_color_
Definition: PhongShader.h:82
gl_util::GLMatrix4f light_position_world_data_
Definition: PhongShader.h:89
void SetLighting(const ViewControl &view, const RenderOption &option)
Definition: PhongShader.cpp:149
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: PhongShader.cpp:68
View controller for visualizer.
Definition: ViewControl.h:41
Eigen::Matrix< GLfloat, 4, 1, Eigen::ColMajor > GLVector4f
Definition: GLHelper.h:52
GLuint MVP_
Definition: PhongShader.h:78
GLuint light_diffuse_power_
Definition: PhongShader.h:83
GLuint light_position_world_
Definition: PhongShader.h:81
Definition: PhongShader.h:39
bool Compile() final
Definition: PhongShader.cpp:39
GLuint V_
Definition: PhongShader.h:79
GLuint light_specular_power_
Definition: PhongShader.h:84
GLuint vertex_normal_
Definition: PhongShader.h:76
gl_util::GLMatrix4f light_color_data_
Definition: PhongShader.h:90
Definition: PhongShader.h:113
GLuint light_specular_shininess_
Definition: PhongShader.h:85
GLuint M_
Definition: PhongShader.h:80
Defines rendering options for visualizer.
Definition: RenderOption.h:39
gl_util::GLVector4f light_ambient_data_
Definition: PhongShader.h:94
void UnbindGeometry() final
Definition: PhongShader.cpp:140
void Release() final
Definition: PhongShader.cpp:63
GLuint vertex_color_buffer_
Definition: PhongShader.h:75
gl_util::GLVector4f light_specular_shininess_data_
Definition: PhongShader.h:93
int points
Definition: FilePCD.cpp:73
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
Definition: PinholeCameraIntrinsic.cpp:35
GLuint light_ambient_
Definition: PhongShader.h:86
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
std::string name
Definition: FilePCD.cpp:58
Definition: ShaderWrapper.h:40
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: PhongShader.cpp:105
Definition: PhongShader.h:97
PhongShaderForPointCloud()
Definition: PhongShader.h:99
PhongShader(const std::string &name)
Definition: PhongShader.h:44
gl_util::GLVector4f light_specular_power_data_
Definition: PhongShader.h:92
GLuint vertex_position_buffer_
Definition: PhongShader.h:73
PhongShaderForTriangleMesh()
Definition: PhongShader.h:115
GLuint vertex_normal_buffer_
Definition: PhongShader.h:77