35 namespace visualization {
64 std::vector<Eigen::Vector3f> &
points,
65 std::vector<Eigen::Vector3f> &colors) = 0;
86 std::vector<Eigen::Vector3f> &
points,
87 std::vector<Eigen::Vector3f> &colors)
final;
bool RenderGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: Simple2DShader.cpp:87
GLuint vertex_position_
Definition: Simple2DShader.h:68
bool BindGeometry(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final
Definition: Simple2DShader.cpp:54
The base geometry class.
Definition: Geometry.h:37
View controller for visualizer.
Definition: ViewControl.h:41
Definition: Simple2DShader.h:74
GLuint vertex_color_
Definition: Simple2DShader.h:70
bool Compile() final
Definition: Simple2DShader.cpp:38
virtual bool PrepareBinding(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, std::vector< Eigen::Vector3f > &points, std::vector< Eigen::Vector3f > &colors)=0
Defines rendering options for visualizer.
Definition: RenderOption.h:39
~Simple2DShader() override
Definition: Simple2DShader.h:41
GLuint vertex_color_buffer_
Definition: Simple2DShader.h:71
int points
Definition: FilePCD.cpp:71
Definition: Open3DViewer.h:29
Simple2DShader(const std::string &name)
Definition: Simple2DShader.h:44
std::string name
Definition: FilePCD.cpp:56
Definition: ShaderWrapper.h:40
void Release() final
Definition: Simple2DShader.cpp:49
void UnbindGeometry() final
Definition: Simple2DShader.cpp:107
Definition: Simple2DShader.h:39
GLuint vertex_position_buffer_
Definition: Simple2DShader.h:69
virtual bool PrepareRendering(const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0
Simple2DShaderForSelectionPolygon()
Definition: Simple2DShader.h:76