ed
|
Namespaces | |
convex_hull | |
io | |
log | |
models | |
world_model | |
Classes | |
struct | ConvexHull |
struct | ConvexHull2D |
struct | ConvexHull2DWithIndices |
class | Entity |
class | ErrorContext |
struct | ErrorContextData |
class | EventClock |
class | IArchive |
class | ImageMask |
struct | InitData |
class | LoopUsageStatus |
A diagnostic task that monitors the frequency of an event. More... | |
class | Measurement |
struct | MeasurementConvexHull |
class | OArchive |
class | Plugin |
class | PluginContainer |
struct | PluginInput |
class | Probe |
class | ProbeClient |
class | ProbeROS |
struct | Property |
class | PropertyInfo |
struct | PropertyKey |
class | PropertyKeyDB |
struct | PropertyKeyDBEntry |
class | Relation |
struct | RGBDData |
class | SampleRenderResult |
struct | SearchNode |
class | Server |
class | Time |
class | TimeCache |
class | TransformCache |
struct | TypeWrapper |
struct | TypeWrapper< const T & > |
struct | TypeWrapper< const T > |
struct | TypeWrapper< T & > |
class | UpdateRequest |
class | UUID |
class | Variant |
class | WorldModel |
Typedefs | |
typedef shared_ptr< const Entity > | EntityConstPtr |
typedef shared_ptr< Entity > | EntityPtr |
typedef uint64_t | Idx |
typedef std::vector< std::vector< cv::Point2i > > | IndexMap |
typedef shared_ptr< const Measurement > | MeasurementConstPtr |
typedef shared_ptr< Measurement > | MeasurementPtr |
typedef shared_ptr< const PerceptionModule > | PerceptionModuleConstPtr |
typedef shared_ptr< PerceptionModule > | PerceptionModulePtr |
typedef shared_ptr< const Plugin > | PluginConstPtr |
typedef shared_ptr< const PluginContainer > | PluginContainerConstPtr |
typedef shared_ptr< PluginContainer > | PluginContainerPtr |
typedef shared_ptr< Plugin > | PluginPtr |
typedef std::vector< int > | PointCloudMask |
typedef pcl::IndicesConstPtr | PointCloudMaskConstPtr |
typedef pcl::IndicesPtr | PointCloudMaskPtr |
typedef std::vector< std::vector< int > > | PointCloudToPixelsMapping |
typedef shared_ptr< const Relation > | RelationConstPtr |
typedef shared_ptr< Relation > | RelationPtr |
typedef shared_ptr< const RGBDALModule > | RGBDALModuleConstPtr |
typedef shared_ptr< RGBDALModule > | RGBDALModulePtr |
typedef shared_ptr< const RGBDSegModule > | RGBDSegModuleConstPtr |
typedef shared_ptr< RGBDSegModule > | RGBDSegModulePtr |
typedef shared_ptr< const SensorModule > | SensorModuleConstPtr |
typedef shared_ptr< SensorModule > | SensorModulePtr |
typedef shared_ptr< const tf2_ros::Buffer > | TFBufferConstPtr |
typedef shared_ptr< tf2_ros::Buffer > | TFBufferPtr |
typedef std::string | TYPE |
typedef shared_ptr< const UpdateRequest > | UpdateRequestConstPtr |
typedef shared_ptr< UpdateRequest > | UpdateRequestPtr |
typedef shared_ptr< const WorldModel > | WorldModelConstPtr |
typedef shared_ptr< WorldModel > | WorldModelPtr |
Enumerations | |
enum | ShowVolumes { NoVolumes, ModelVolumes, RoomVolumes } |
The ShowVolumes enum indicates which volumes to render. More... | |
Functions | |
float | clamp (float x, float a, float b) |
void | convert (const ed::Entity &e, ed_msgs::EntityInfo &msg) |
converting ed::Entity to ed_msgs::EntityInfo message More... | |
void | convert (const geo::ShapeConstPtr shape, ed_msgs::SubVolume &sub_Volume) |
converting geo::ShapeConstPtr to ed_msgs::SubVolume message More... | |
bool | deserialize (ed::io::Reader &r, ConvexHull &ch) |
bool | deserialize (ed::io::Reader &r, geo::Pose3D &pose) |
bool | deserialize (ed::io::Reader &r, geo::Shape &s) |
bool | deserialize (io::Reader &r, UpdateRequest &req) |
bool | deserialize (tue::config::Reader &r, const std::string &group, geo::Pose3D &pose) |
bool | deserialize (tue::config::Reader &r, const std::string &group, geo::Shape &s) |
bool | deserialize (tue::config::Reader &r, const std::string &group, geo::Vec3 &p) |
bool | deserialize (tue::serialization::InputArchive &m, ImageMask &mask) |
bool | deserializeTimestamp (ed::io::Reader &r, double &time) |
unsigned int | djb2 (const std::string &str) |
void | interpolate (const geo::Transform &t1, const geo::Transform &t2, float alpha, geo::Pose3D &result) |
const static PointCloudMask | NO_MASK (1, -1) |
bool | read (const std::string &filename, Measurement &msr) |
bool | readEntity (const std::string &filename, UpdateRequest &req) |
void | renderMesh (const geo::DepthCamera &cam, const geo::Pose3D &pose, const geo::Mesh &mesh, const cv::Vec3b &color, SampleRenderResult &res, bool flatten=false) |
Render a mesh. More... | |
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 More... | |
void | serialize (const ConvexHull &ch, ed::io::Writer &w) |
void | serialize (const geo::Pose3D &pose, ed::io::Writer &w) |
void | serialize (const geo::Shape &s, ed::io::Writer &w) |
void | serialize (const ImageMask &mask, tue::serialization::OutputArchive &m) |
void | serializeTimestamp (double time, ed::io::Writer &w) |
geo::Quaternion | slerp (const geo::Quaternion &v0, const geo::Quaternion &v1, float alpha) |
bool | write (const std::string &filename, const Entity &e) |
bool | write (const std::string &filename, const Measurement &msr) |
Variables | |
float | COLORS [27][3] |
static const Idx | INVALID_IDX = std::numeric_limits<Idx>::max() |
typedef shared_ptr<const Entity> ed::EntityConstPtr |
typedef shared_ptr<Entity> ed::EntityPtr |
typedef std::vector< std::vector<cv::Point2i> > ed::IndexMap |
Definition at line 16 of file convex_hull_2d.h.
typedef shared_ptr<const Measurement> ed::MeasurementConstPtr |
typedef shared_ptr<Measurement> ed::MeasurementPtr |
typedef shared_ptr<const PerceptionModule> ed::PerceptionModuleConstPtr |
typedef shared_ptr<PerceptionModule> ed::PerceptionModulePtr |
typedef shared_ptr<const Plugin> ed::PluginConstPtr |
typedef shared_ptr<const PluginContainer> ed::PluginContainerConstPtr |
typedef shared_ptr<PluginContainer> ed::PluginContainerPtr |
typedef shared_ptr<Plugin> ed::PluginPtr |
typedef std::vector<int> ed::PointCloudMask |
Definition at line 14 of file rgbd_data.h.
typedef pcl::IndicesConstPtr ed::PointCloudMaskConstPtr |
Definition at line 16 of file rgbd_data.h.
typedef pcl::IndicesPtr ed::PointCloudMaskPtr |
Definition at line 15 of file rgbd_data.h.
typedef std::vector<std::vector<int> > ed::PointCloudToPixelsMapping |
Definition at line 17 of file rgbd_data.h.
typedef shared_ptr<const Relation> ed::RelationConstPtr |
typedef shared_ptr<Relation> ed::RelationPtr |
typedef shared_ptr<const RGBDALModule> ed::RGBDALModuleConstPtr |
typedef shared_ptr<RGBDALModule> ed::RGBDALModulePtr |
typedef shared_ptr<const RGBDSegModule> ed::RGBDSegModuleConstPtr |
typedef shared_ptr<RGBDSegModule> ed::RGBDSegModulePtr |
typedef shared_ptr<const SensorModule> ed::SensorModuleConstPtr |
typedef shared_ptr<SensorModule> ed::SensorModulePtr |
typedef shared_ptr<const tf2_ros::Buffer> ed::TFBufferConstPtr |
typedef shared_ptr<tf2_ros::Buffer> ed::TFBufferPtr |
typedef std::string ed::TYPE |
typedef shared_ptr<const UpdateRequest> ed::UpdateRequestConstPtr |
typedef shared_ptr<UpdateRequest> ed::UpdateRequestPtr |
typedef shared_ptr<const WorldModel> ed::WorldModelConstPtr |
typedef shared_ptr<WorldModel> ed::WorldModelPtr |
enum ed::ShowVolumes |
The ShowVolumes enum indicates which volumes to render.
Enumerator | |
---|---|
NoVolumes | |
ModelVolumes | |
RoomVolumes |
Definition at line 23 of file rendering.h.
|
inline |
Definition at line 8 of file transform_cache.cpp.
void ed::convert | ( | const ed::Entity & | e, |
ed_msgs::EntityInfo & | msg | ||
) |
converting ed::Entity to ed_msgs::EntityInfo message
e | ed::Entity as input |
msg | filled ed_msgs::EntityInfo message as output |
Definition at line 49 of file msg_conversions.h.
void ed::convert | ( | const geo::ShapeConstPtr | shape, |
ed_msgs::SubVolume & | sub_Volume | ||
) |
converting geo::ShapeConstPtr to ed_msgs::SubVolume message
shape | geo::ShapeConstPtr as input |
msg | filled ed_msgs::SubVolume message as output |
Definition at line 26 of file msg_conversions.h.
bool ed::deserialize | ( | ed::io::Reader & | r, |
ConvexHull & | ch | ||
) |
Definition at line 281 of file serialization.cpp.
bool ed::deserialize | ( | ed::io::Reader & | r, |
geo::Pose3D & | pose | ||
) |
Definition at line 165 of file serialization.cpp.
bool ed::deserialize | ( | ed::io::Reader & | r, |
geo::Shape & | s | ||
) |
Definition at line 334 of file serialization.cpp.
bool ed::deserialize | ( | io::Reader & | r, |
UpdateRequest & | req | ||
) |
Definition at line 37 of file serialization.cpp.
bool ed::deserialize | ( | tue::config::Reader & | r, |
const std::string & | group, | ||
geo::Pose3D & | pose | ||
) |
Definition at line 214 of file serialization.cpp.
bool ed::deserialize | ( | tue::config::Reader & | r, |
const std::string & | group, | ||
geo::Shape & | s | ||
) |
Definition at line 378 of file serialization.cpp.
bool ed::deserialize | ( | tue::config::Reader & | r, |
const std::string & | group, | ||
geo::Vec3 & | p | ||
) |
Definition at line 250 of file serialization.cpp.
bool ed::deserialize | ( | tue::serialization::InputArchive & | m, |
ImageMask & | mask | ||
) |
Definition at line 501 of file serialization.cpp.
bool ed::deserializeTimestamp | ( | ed::io::Reader & | r, |
double & | time | ||
) |
Definition at line 465 of file serialization.cpp.
unsigned int ed::djb2 | ( | const std::string & | str | ) |
Definition at line 78 of file rendering.cpp.
void ed::interpolate | ( | const geo::Transform & | t1, |
const geo::Transform & | t2, | ||
float | alpha, | ||
geo::Pose3D & | result | ||
) |
Definition at line 44 of file transform_cache.cpp.
|
static |
bool ed::read | ( | const std::string & | filename, |
Measurement & | msr | ||
) |
bool ed::readEntity | ( | const std::string & | filename, |
UpdateRequest & | req | ||
) |
void ed::renderMesh | ( | const geo::DepthCamera & | cam, |
const geo::Pose3D & | pose, | ||
const geo::Mesh & | mesh, | ||
const cv::Vec3b & | color, | ||
SampleRenderResult & | res, | ||
bool | flatten = false |
||
) |
Render a mesh.
cam | DepthCamera to use |
pose | Pose of the mesh in the camera frame |
mesh | Mesh to render |
color | color vector |
res | Renderresult, which stores the renderer image |
flatten | Flatten all the meshes to the groundplane (default: false) |
Definition at line 99 of file rendering.cpp.
bool ed::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
world_model | world model to render |
show_volumes | configures which volumes to render |
cam | DepthCamera object used for rendering |
cam_pose_inv | inverse pose of the depth camera |
depth_image | depth image that will be rendered |
image | colored 3D image that will be rendered. N.B.: needs to be of the same size as the depth image |
flatten | Flatten all the meshes to the groundplane (default: false) |
Definition at line 128 of file rendering.cpp.
void ed::serialize | ( | const ConvexHull & | ch, |
ed::io::Writer & | w | ||
) |
Definition at line 265 of file serialization.cpp.
void ed::serialize | ( | const geo::Pose3D & | pose, |
ed::io::Writer & | w | ||
) |
Definition at line 150 of file serialization.cpp.
void ed::serialize | ( | const geo::Shape & | s, |
ed::io::Writer & | w | ||
) |
Definition at line 306 of file serialization.cpp.
void ed::serialize | ( | const ImageMask & | mask, |
tue::serialization::OutputArchive & | m | ||
) |
Definition at line 476 of file serialization.cpp.
void ed::serializeTimestamp | ( | double | time, |
ed::io::Writer & | w | ||
) |
Definition at line 457 of file serialization.cpp.
geo::Quaternion ed::slerp | ( | const geo::Quaternion & | v0, |
const geo::Quaternion & | v1, | ||
float | alpha | ||
) |
Definition at line 15 of file transform_cache.cpp.
bool ed::write | ( | const std::string & | filename, |
const Entity & | e | ||
) |
bool ed::write | ( | const std::string & | filename, |
const Measurement & | msr | ||
) |
float ed::COLORS[27][3] |
Definition at line 18 of file rendering.cpp.