16 namespace visualization {
46 std::vector<
Eigen::Vector3f> &normals) = 0;
69 std::vector<Eigen::Vector3f> &
points,
70 std::vector<Eigen::Vector3f> &normals)
final;
85 std::vector<Eigen::Vector3f> &
points,
86 std::vector<Eigen::Vector3f> &normals)
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: NormalShader.h:58
NormalShaderForPointCloud()
Definition: NormalShader.h:60
Definition: NormalShader.h:73
NormalShaderForTriangleMesh()
Definition: NormalShader.h:75
Definition: NormalShader.h:20
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: NormalShader.cpp:37
GLuint vertex_normal_
Definition: NormalShader.h:51
GLuint M_
Definition: NormalShader.h:55
GLuint MVP_
Definition: NormalShader.h:53
GLuint V_
Definition: NormalShader.h:54
~NormalShader() override
Definition: NormalShader.h:22
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
void UnbindGeometry() final
Definition: NormalShader.cpp:92
GLuint vertex_position_buffer_
Definition: NormalShader.h:50
GLuint vertex_normal_buffer_
Definition: NormalShader.h:52
NormalShader(const std::string &name)
Definition: NormalShader.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)=0
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: NormalShader.cpp:69
void Release() final
Definition: NormalShader.cpp:32
bool Compile() final
Definition: NormalShader.cpp:19
GLuint vertex_position_
Definition: NormalShader.h:49
Definition: ShaderWrapper.h:21
Definition: NonRigidOptimizer.cpp:22
Definition: PinholeCameraIntrinsic.cpp:16