armarx::semantic Namespace Reference

Namespaces

 detail
 
 properties
 

Classes

class  ArmarXLog
 
class  ArmarXVisualizer
 Implementation of semrel::VisualizerInterface for ArmarX (using the DebugDrawer). More...
 
class  ShapesSupportRelations
 Brief description of class ShapesSupportRelations. More...
 
class  ShapesSupportRelationsPropertyDefinitions
 Property definitions of ShapesSupportRelations. More...
 
class  SimoxObjectShape
 

Functions

semrel::ShapePtr fromIce (const data::Shape &shape)
 
semrel::ShapeList fromIce (const data::ShapeList &shapes)
 
semrel::AttributedGraph fromIce (const semantic::data::Graph &graph)
 
template<class PointT , class IndicesT = pcl::PointIndices>
semrel::AxisAlignedBoundingBox getAABB (const pcl::PointCloud< PointT > &pointCloud, const IndicesT &segmentIndices)
 Get the AABB of the given point cloud segment. More...
 
template<class PointT , class IndicesT = pcl::PointIndices>
std::map< uint32_t, semrel::AxisAlignedBoundingBox > getAABBs (const pcl::PointCloud< PointT > &pointCloud, const std::map< uint32_t, IndicesT > &segmentIndices)
 Get the AABB of each point cloud segment. More...
 
semrel::ShapeList getShapesFromAABBs (const pcl::PointCloud< pcl::PointXYZL > &pointCloud)
 Get the AABBs of each point cloud segment in pointCloud. More...
 
semrel::ShapeList getShapesFromAABBs (const pcl::PointCloud< pcl::PointXYZRGBL > &pointCloud)
 Get the AABBs of each point cloud segment in pointCloud. More...
 
semrel::ShapeList getShapesFromAABBs (const std::map< uint32_t, semrel::AxisAlignedBoundingBox > &segmentAABBs)
 Get the given AABBs as a semrel::ShapeList. More...
 
semrel::ShapeList getShapesFromSoftAABBs (const pcl::PointCloud< pcl::PointXYZL > &pointCloud, float outlierRatio)
 Return the AABBs of each point cloud segment in a pointCloud. More...
 
semrel::ShapeList getShapesFromSoftAABBs (const pcl::PointCloud< pcl::PointXYZRGBL > &pointCloud, float outlierRatio)
 Return the AABBs of each point cloud segment in a pointCloud. More...
 
template<class PointT >
semrel::AxisAlignedBoundingBox getSoftAABB (const pcl::PointCloud< PointT > &pointCloud, const pcl::PointIndices &segmentIndices, float outlierRatio)
 Get the soft AABB of the given point cloud segment. More...
 
template<class PointT >
std::map< uint32_t, semrel::AxisAlignedBoundingBox > getSoftAABBs (const pcl::PointCloud< PointT > &pointCloud, const std::map< uint32_t, pcl::PointIndices > &segmentIndices, float outlierRatio)
 Get the soft AABBs of each point cloud segment. More...
 
void setArmarXHooksAsImplementation (const DebugDrawerInterfacePrx &debugDrawer, const std::string &logTag="SemanticObjectRelations")
 
data::Graph toIce (const semrel::AttributedGraph &input)
 
template<typename VA , typename EA , typename GA >
data::Graph toIce (const semrel::RelationGraph< VA, EA, GA > &graph)
 
template<typename VA , typename EA , typename GA >
data::Graph toIce (const semrel::RelationGraph< VA, EA, GA > &graph, const semrel::ShapeMap &objects)
 
data::Shape toIce (const semrel::Shape &shape)
 
data::ShapeList toIce (const semrel::ShapeList &shapes)
 
data::ShapeList toIce (const semrel::ShapeMap &shapes)
 

Function Documentation

◆ fromIce() [1/3]

semrel::ShapePtr armarx::semantic::fromIce ( const data::Shape &  shape)

◆ fromIce() [2/3]

semrel::ShapeList armarx::semantic::fromIce ( const data::ShapeList &  shapes)

◆ fromIce() [3/3]

semrel::AttributedGraph armarx::semantic::fromIce ( const semantic::data::Graph &  graph)

Definition at line 30 of file graph.h.

+ Here is the caller graph for this function:

◆ getAABB()

semrel::AxisAlignedBoundingBox getAABB ( const pcl::PointCloud< PointT > &  pointCloud,
const IndicesT &  segmentIndices 
)

Get the AABB of the given point cloud segment.

Definition at line 85 of file shapes_from_aabbs.h.

+ Here is the call graph for this function:

◆ getAABBs()

std::map< uint32_t, semrel::AxisAlignedBoundingBox > getAABBs ( const pcl::PointCloud< PointT > &  pointCloud,
const std::map< uint32_t, IndicesT > &  segmentIndices 
)

Get the AABB of each point cloud segment.

Only keys of segmentIndices are used; point labels are not used.

Definition at line 91 of file shapes_from_aabbs.h.

+ Here is the call graph for this function:

◆ getShapesFromAABBs() [1/3]

ShapeList getShapesFromAABBs ( const pcl::PointCloud< pcl::PointXYZL > &  pointCloud)

Get the AABBs of each point cloud segment in pointCloud.

Definition at line 25 of file shapes_from_aabbs.cpp.

+ Here is the caller graph for this function:

◆ getShapesFromAABBs() [2/3]

ShapeList getShapesFromAABBs ( const pcl::PointCloud< pcl::PointXYZRGBL > &  pointCloud)

Get the AABBs of each point cloud segment in pointCloud.

Definition at line 30 of file shapes_from_aabbs.cpp.

◆ getShapesFromAABBs() [3/3]

semrel::ShapeList armarx::semantic::getShapesFromAABBs ( const std::map< uint32_t, semrel::AxisAlignedBoundingBox > &  segmentAABBs)

Get the given AABBs as a semrel::ShapeList.

◆ getShapesFromSoftAABBs() [1/2]

ShapeList getShapesFromSoftAABBs ( const pcl::PointCloud< pcl::PointXYZL > &  pointCloud,
float  outlierRatio 
)

Return the AABBs of each point cloud segment in a pointCloud.

Definition at line 63 of file shapes_from_aabbs.cpp.

+ Here is the caller graph for this function:

◆ getShapesFromSoftAABBs() [2/2]

ShapeList getShapesFromSoftAABBs ( const pcl::PointCloud< pcl::PointXYZRGBL > &  pointCloud,
float  outlierRatio 
)

Return the AABBs of each point cloud segment in a pointCloud.

Definition at line 68 of file shapes_from_aabbs.cpp.

+ Here is the call graph for this function:

◆ getSoftAABB()

semrel::AxisAlignedBoundingBox getSoftAABB ( const pcl::PointCloud< PointT > &  pointCloud,
const pcl::PointIndices &  segmentIndices,
float  outlierRatio 
)

Get the soft AABB of the given point cloud segment.

Parameters
outlierRatioThe allowed outlier ratio. (
See also
semrel::SoftMinMax)

Definition at line 106 of file shapes_from_aabbs.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSoftAABBs()

std::map< uint32_t, semrel::AxisAlignedBoundingBox > getSoftAABBs ( const pcl::PointCloud< PointT > &  pointCloud,
const std::map< uint32_t, pcl::PointIndices > &  segmentIndices,
float  outlierRatio 
)

Get the soft AABBs of each point cloud segment.

Parameters
outlierRatioThe allowed outlier ratio. (
See also
semrel::SoftMinMax)

Definition at line 139 of file shapes_from_aabbs.h.

+ Here is the call graph for this function:

◆ setArmarXHooksAsImplementation()

void setArmarXHooksAsImplementation ( const DebugDrawerInterfacePrx debugDrawer,
const std::string &  logTag = "SemanticObjectRelations" 
)

Definition at line 7 of file hooks.cpp.

+ Here is the caller graph for this function:

◆ toIce() [1/6]

semantic::data::Graph toIce ( const semrel::AttributedGraph &  input)

Definition at line 15 of file graph.cpp.

+ Here is the caller graph for this function:

◆ toIce() [2/6]

data::Graph armarx::semantic::toIce ( const semrel::RelationGraph< VA, EA, GA > &  graph)

Definition at line 18 of file graph.h.

+ Here is the call graph for this function:

◆ toIce() [3/6]

data::Graph armarx::semantic::toIce ( const semrel::RelationGraph< VA, EA, GA > &  graph,
const semrel::ShapeMap &  objects 
)

Definition at line 24 of file graph.h.

+ Here is the call graph for this function:

◆ toIce() [4/6]

semantic::data::Shape toIce ( const semrel::Shape &  shape)

Definition at line 9 of file shape.cpp.

◆ toIce() [5/6]

semantic::data::ShapeList toIce ( const semrel::ShapeList &  shapes)

Definition at line 21 of file shape.cpp.

+ Here is the call graph for this function:

◆ toIce() [6/6]

semantic::data::ShapeList toIce ( const semrel::ShapeMap &  shapes)

Definition at line 32 of file shape.cpp.

+ Here is the call graph for this function: