ed
rendering.h
Go to the documentation of this file.
1 #ifndef RENDERING_H
2 #define RENDERING_H
3 
4 #include <geolib/datatypes.h>
5 
6 // Forward declarations
7 namespace ed {
8  class WorldModel;
9 }
10 namespace geo {
11  class DepthCamera;
12 }
13 namespace cv {
14  class Mat;
15 }
16 
17 namespace ed
18 {
19 
24 {
28 };
29 
42 bool renderWorldModel(const ed::WorldModel& world_model, const enum ShowVolumes show_volumes,
43  const geo::DepthCamera& cam, const geo::Pose3D& cam_pose_inv,
44  cv::Mat& depth_image, cv::Mat& image, bool flatten = false);
45 
46 } // End of namespace ed
47 
48 
49 #endif // RENDERING_H
datatypes.h
ed::WorldModel
Definition: world_model.h:21
geo
cam
geo::DepthCamera cam
Definition: view_model.cpp:28
ed::renderWorldModel
bool renderWorldModel(const ed::WorldModel &world_model, const enum ShowVolumes show_volumes, const geo::DepthCamera &cam, const geo::Pose3D &cam_pose_inv, cv::Mat &depth_image, cv::Mat &image, bool flatten=false)
renderWorldModel renders a world model on a depth image and a colored (3D) image
Definition: rendering.cpp:128
geo::Transform3T
ed::ShowVolumes
ShowVolumes
The ShowVolumes enum indicates which volumes to render.
Definition: rendering.h:23
image
cv::Mat image
Definition: view_model.cpp:42
ed::NoVolumes
@ NoVolumes
Definition: rendering.h:25
geo::DepthCamera
ed
Definition: convex_hull.h:8
cv
ed::ModelVolumes
@ ModelVolumes
Definition: rendering.h:26
depth_image
cv::Mat depth_image
Definition: view_model.cpp:41
ed::RoomVolumes
@ RoomVolumes
Definition: rendering.h:27