35 namespace visualization {
64 std::vector<Eigen::Vector3f> &
points,
65 std::vector<Eigen::Vector3f> &normals) = 0;
88 std::vector<Eigen::Vector3f> &
points,
89 std::vector<Eigen::Vector3f> &normals)
final;
104 std::vector<Eigen::Vector3f> &
points,
105 std::vector<Eigen::Vector3f> &normals)
final;
Definition: NormalShader.h:92
The base geometry class.
Definition: Geometry.h:37
GLuint vertex_normal_
Definition: NormalShader.h:70
GLuint vertex_position_
Definition: NormalShader.h:68
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: NormalShader.cpp:57
View controller for visualizer.
Definition: ViewControl.h:41
NormalShaderForPointCloud()
Definition: NormalShader.h:79
GLuint vertex_position_buffer_
Definition: NormalShader.h:69
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, std::vector< Eigen::Vector3f > &points, std::vector< Eigen::Vector3f > &normals)=0
Definition: NormalShader.h:39
GLuint vertex_normal_buffer_
Definition: NormalShader.h:71
NormalShaderForTriangleMesh()
Definition: NormalShader.h:94
Defines rendering options for visualizer.
Definition: RenderOption.h:39
void UnbindGeometry() final
Definition: NormalShader.cpp:112
Definition: NormalShader.h:77
int points
Definition: FilePCD.cpp:71
Definition: Open3DViewer.h:29
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
bool Compile() final
Definition: NormalShader.cpp:38
std::string name
Definition: FilePCD.cpp:56
Definition: ShaderWrapper.h:40
NormalShader(const std::string &name)
Definition: NormalShader.h:44
void Release() final
Definition: NormalShader.cpp:52
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: NormalShader.cpp:89
GLuint MVP_
Definition: NormalShader.h:72
GLuint M_
Definition: NormalShader.h:74
~NormalShader() override
Definition: NormalShader.h:41
GLuint V_
Definition: NormalShader.h:73