24 namespace visualization {
43 std::shared_ptr<const geometry::Geometry> geometry_ptr) = 0;
50 std::shared_ptr<const geometry::Geometry>
GetGeometry()
const {
55 std::shared_ptr<const geometry::Geometry> geometry_ptr)
const {
74 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
91 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
105 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
119 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
133 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
147 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
162 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
181 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
196 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
211 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
225 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
239 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
253 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
268 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
Defines rendering options for visualizer.
Definition: RenderOption.h:20
View controller for visualizer.
Definition: ViewControl.h:23
Definition: GeometryRenderer.h:140
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:208
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:215
~AxisAlignedBoundingBoxRenderer() override
Definition: GeometryRenderer.h:142
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:225
SimpleShaderForAxisAlignedBoundingBox simple_axis_aligned_bounding_box_shader_
Definition: GeometryRenderer.h:152
Definition: GeometryRenderer.h:232
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:344
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:324
~CoordinateFrameRenderer() override
Definition: GeometryRenderer.h:234
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:332
PhongShaderForTriangleMesh phong_shader_
Definition: GeometryRenderer.h:243
Definition: GeometryRenderer.h:28
virtual bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr)=0
void SetVisible(bool visible)
Definition: GeometryRenderer.h:60
virtual bool UpdateGeometry()=0
bool is_visible_
Definition: GeometryRenderer.h:64
std::shared_ptr< const geometry::Geometry > geometry_ptr_
Definition: GeometryRenderer.h:60
virtual ~GeometryRenderer()
Definition: GeometryRenderer.h:30
std::shared_ptr< const geometry::Geometry > GetGeometry() const
Definition: GeometryRenderer.h:50
bool HasGeometry() const
Definition: GeometryRenderer.h:49
virtual bool Render(const RenderOption &option, const ViewControl &view)=0
bool HasGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) const
Definition: GeometryRenderer.h:54
bool IsVisible() const
Definition: GeometryRenderer.h:59
Definition: ImageMaskShader.h:61
Definition: GeometryRenderer.h:204
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:298
ImageShaderForImage image_shader_
Definition: GeometryRenderer.h:215
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:288
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:282
~ImageRenderer() override
Definition: GeometryRenderer.h:206
Definition: ImageShader.h:57
Definition: GeometryRenderer.h:98
SimpleShaderForLineSet simple_lineset_shader_
Definition: GeometryRenderer.h:109
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:144
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:150
~LineSetRenderer() override
Definition: GeometryRenderer.h:100
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:160
Definition: NormalShader.h:58
Definition: NormalShader.h:73
Definition: GeometryRenderer.h:189
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:138
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:113
SimpleShaderForOctreeLine simple_shader_for_octree_line_
Definition: GeometryRenderer.h:200
~OctreeRenderer() override
Definition: GeometryRenderer.h:191
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:128
SimpleShaderForOctreeFace simple_shader_for_octree_face_
Definition: GeometryRenderer.h:201
Definition: GeometryRenderer.h:126
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:203
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:186
~OrientedBoundingBoxRenderer() override
Definition: GeometryRenderer.h:128
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:193
SimpleShaderForOrientedBoundingBox simple_oriented_bounding_box_shader_
Definition: GeometryRenderer.h:137
Definition: PhongShader.h:78
Definition: PhongShader.h:94
Definition: PickingShader.h:56
Definition: GeometryRenderer.h:261
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:376
~PointCloudPickerRenderer() override
Definition: GeometryRenderer.h:263
PhongShaderForTriangleMesh phong_shader_
Definition: GeometryRenderer.h:272
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:424
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:414
Definition: GeometryRenderer.h:84
PickingShaderForPointCloud picking_shader_
Definition: GeometryRenderer.h:95
~PointCloudPickingRenderer() override
Definition: GeometryRenderer.h:86
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:63
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:80
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:70
Definition: GeometryRenderer.h:67
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:23
PhongShaderForPointCloud phong_point_shader_
Definition: GeometryRenderer.h:79
SimpleBlackShaderForPointCloudNormal simpleblack_normal_shader_
Definition: GeometryRenderer.h:81
~PointCloudRenderer() override
Definition: GeometryRenderer.h:69
NormalShaderForPointCloud normal_point_shader_
Definition: GeometryRenderer.h:80
SimpleShaderForPointCloud simple_point_shader_
Definition: GeometryRenderer.h:78
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:45
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:55
Definition: GeometryRenderer.h:218
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:319
RGBDImageShaderForImage rgbd_image_shader_
Definition: GeometryRenderer.h:229
~RGBDImageRenderer() override
Definition: GeometryRenderer.h:220
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:303
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:309
Definition: RGBDImageShader.h:69
Definition: GeometryRenderer.h:246
ImageMaskShaderForImage image_mask_shader_
Definition: GeometryRenderer.h:258
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:370
~SelectionPolygonRenderer() override
Definition: GeometryRenderer.h:248
Simple2DShaderForSelectionPolygon simple2d_shader_
Definition: GeometryRenderer.h:257
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:360
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:349
Definition: Simple2DShader.h:55
Definition: SimpleBlackShader.h:55
Definition: SimpleBlackShader.h:70
Definition: SimpleShader.h:117
Definition: SimpleShader.h:71
Definition: SimpleShader.h:196
Definition: SimpleShader.h:181
Definition: SimpleShader.h:101
Definition: SimpleShader.h:56
Definition: SimpleShader.h:86
Definition: SimpleShader.h:133
Definition: SimpleShader.h:165
Definition: SimpleShader.h:149
Definition: GeometryRenderer.h:112
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:171
~TetraMeshRenderer() override
Definition: GeometryRenderer.h:114
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:181
SimpleShaderForTetraMesh simple_tetramesh_shader_
Definition: GeometryRenderer.h:123
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:165
Definition: TexturePhongShader.h:88
Definition: TextureSimpleShader.h:65
Definition: GeometryRenderer.h:155
SimpleShaderForTriangleMesh simple_mesh_shader_
Definition: GeometryRenderer.h:166
TexturePhongShaderForTriangleMesh texture_phong_mesh_shader_
Definition: GeometryRenderer.h:169
~TriangleMeshRenderer() override
Definition: GeometryRenderer.h:157
TextureSimpleShaderForTriangleMesh texture_simple_mesh_shader_
Definition: GeometryRenderer.h:167
NormalShaderForTriangleMesh normal_mesh_shader_
Definition: GeometryRenderer.h:170
PhongShaderForTriangleMesh phong_mesh_shader_
Definition: GeometryRenderer.h:168
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:260
SimpleBlackShaderForTriangleMeshWireFrame simpleblack_wireframe_shader_
Definition: GeometryRenderer.h:171
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:230
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:272
Definition: GeometryRenderer.h:174
SimpleShaderForVoxelGridFace simple_shader_for_voxel_grid_face_
Definition: GeometryRenderer.h:186
~VoxelGridRenderer() override
Definition: GeometryRenderer.h:176
bool Render(const RenderOption &option, const ViewControl &view) override
Definition: GeometryRenderer.cpp:85
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: GeometryRenderer.cpp:97
SimpleShaderForVoxelGridLine simple_shader_for_voxel_grid_line_
Definition: GeometryRenderer.h:185
bool UpdateGeometry() override
Definition: GeometryRenderer.cpp:107
Definition: PinholeCameraIntrinsic.cpp:16