|
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | FunctorWithReturnType |
| Base class for functors with return value. More... | |
| struct | is_shared_ptr |
| struct | is_shared_ptr< boost::shared_ptr< T > > |
| struct | is_shared_ptr< std::shared_ptr< T > > |
| class | PerpendicularPlaneFitting |
| struct | PlaneFittingResult |
| struct | PointCloudFunctor |
Functor creating a pcl::PointCloud<PointT> and passing it to function. More... | |
| struct | PointCloudPtrFunctor |
Functor creating a pcl::PointCloud<PointT>::Ptr and passing it to function. More... | |
Enumerations | |
| enum | PCLToDebugDrawerConversionMode { eConvertAsPoints , eConvertAsColors , eConvertAsLabels } |
Functions | |
| template<class LabeledPointT> | |
| void | addSegmentIndices (std::map< uint32_t, pcl::PointIndices > &segmentIndices, const pcl::PointCloud< LabeledPointT > &labeledCloud, bool excludeZero=false) |
Add indices of each segment's points to segmentIndices. | |
| template<class LabeledPointT> | |
| void | addSegmentIndices (std::map< uint32_t, pcl::PointIndices::Ptr > &segmentIndices, const pcl::PointCloud< LabeledPointT > &labeledCloud, bool excludeZero=false) |
| template<typename T> | |
| void | arrayToVector (const T *dataArray, const int size, std::vector< T > &vec) |
| template<class FunctionT, class... Args> | |
| void | callWithPointCloud (const FunctionT &function, PointContentType type, Args... args) |
Overload of callWithPointCloud() for functions passed by const reference. | |
| template<class FunctionT, class... Args> | |
| void | callWithPointCloud (FunctionT &function, PointContentType type, Args... args) |
Call function with a pcl::PointCloud<PointT> with the adequate PointT according to type. | |
| template<class FunctionT, class... Args> | |
| void | callWithPointCloudPtr (const FunctionT &function, PointContentType type, Args... args) |
Overload of callWithPointCloudPtr() for functions passed by const reference. | |
| template<class FunctionT, class... Args> | |
| void | callWithPointCloudPtr (FunctionT &function, PointContentType type, Args... args) |
Call function with a (non-null) pcl::PointCloud<PointT>::Ptr with the adequate PointT according to type. | |
| template<class FunctorT, class... Args> | |
| std::enable_if_t<!std::is_base_of< detail::FunctorWithReturnType, FunctorT >::value, void > | callWithPointType (const FunctorT &functor, PointContentType type, Args... args) |
Overload of visitWithPointType() for functors passed by const reference. | |
| template<class VisitorT, class... Args> | |
| VisitorT::ReturnType | callWithPointType (const VisitorT &functor, PointContentType type, Args... args) |
Overload of visitWithPointType() for functors with return value passed by const reference. | |
| template<class FunctorT, class... Args> | |
| std::enable_if_t<!std::is_base_of< detail::FunctorWithReturnType, FunctorT >::value, void > | callWithPointType (FunctorT &functor, PointContentType type, Args... args) |
Call functor with the correct pcl point type according to type. | |
| template<class VisitorT, class... Args> | |
| VisitorT::ReturnType | callWithPointType (VisitorT &functor, PointContentType type, Args... args) |
Overload of visitWithPointType() for functors with return value. | |
| void | colorizeLabeledPointCloud (pcl::PointCloud< pcl::PointXYZL >::Ptr sourceCloudPtr, pcl::PointCloud< pcl::PointXYZRGBA >::Ptr targetCloudPtr) |
| template<typename PointCloudPtrT> | |
| std::tuple< uint8_t, uint8_t, uint8_t > | colorizeSegment (PointCloudPtrT &segment) |
| ::ImageProcessor::BayerPatternType | convert (const BayerPatternType visionxBayerPatternType) |
| Converts a VisionX BayerPatternType into a IVT's image processor BayerPatternType. | |
| visionx::MonocularCalibration | convert (const CCalibration &ivtCalibration) |
| Converts an IVT CCalibration into a VisionX MonocularCalibration struct. | |
| visionx::StereoCalibration | convert (const CStereoCalibration &ivtStereoCalibration) |
| Converts an IVT CStereoCalibration into a VisionX StereoCalibration struct. | |
| CVideoCaptureInterface::FrameRate | convert (const float frameRate) |
| Converts frame rate floats into distinct IVT FrameRates by applying quantization. | |
| CVideoCaptureInterface::VideoMode | convert (const ImageDimension &imageDimension) |
| Converts a VisionX image dimension object into an IVT VideoMode of IVT's CVideoCaptureInterface. | |
| CByteImage::ImageType | convert (const ImageType visionxImageType) |
| Converts a VisionX image type into an image type of IVT's ByteImage. | |
| visionx::types::Mat | convert (const Mat3d &mat) |
| Converts an IVT Mat3d into VisionX Matrix (float STL Vectors) | |
| visionx::types::Region | convert (const MyRegion &ivtRegion) |
| Converts an IVT MyRegion into a VisionX MyRegion. | |
| visionx::types::Object3DEntry | convert (const Object3DEntry &ivtObject3DEntry) |
| Converts an IVT Object3DEntry id into a VisionX ObjectEntry. | |
| visionx::types::Object3DList | convert (const Object3DList &ivtObject3DList) |
| Converts an IVT Object3DList object into an VisionX ObjectList. | |
| visionx::types::ObjectColor | convert (const ObjectColor &ivtObjectColor) |
| Mapps an IVT Object color id onto a VisionX object color id. | |
| visionx::types::ObjectType | convert (const ObjectType &ivtObjectType) |
| Mapps an IVT Object type id onto a VisionX object type id. | |
| visionx::types::Transformation3d | convert (const Transformation3d &ivtTransformation3d) |
| Converts an IVT Transformation3d into a VisionX Transformation3d. | |
| visionx::types::Vec | convert (const Vec2d &vec) |
| Converts an IVT Vec2d Vector into VisionX Vector (float STL Vector) | |
| visionx::types::Vec | convert (const Vec3d &vec) |
| Converts an IVT Vec3d Vector into VisionX Vector (float STL Vector) | |
| CCalibration * | convert (const visionx::MonocularCalibration &calibration) |
| Converts a VisionX MonocularCalibration object into an IVT CCalibration. | |
| CStereoCalibration * | convert (const visionx::StereoCalibration &stereoCalibration) |
| Converts a VisionX StereoCalibration object into an IVT CStereoCalibration. | |
| Mat3d | convert (const visionx::types::Mat &mat) |
| Converts a VisionX Matrix (float STL Vectors) into an IVT Mat3d. | |
| Object3DEntry | convert (const visionx::types::Object3DEntry &object3DEntry) |
| Converts a VisionX ObjectEntry object into an IVT Object3DEntry instance. | |
| Object3DList | convert (const visionx::types::Object3DList &object3DList) |
| Converts an IVT Object3DList object into a VisionX Object3DEntry instance. | |
| ObjectColor | convert (const visionx::types::ObjectColor &objectColor) |
| Mapps an IVT Object color id onto a VisionX object color id. | |
| ObjectType | convert (const visionx::types::ObjectType &objectType) |
| Mapps an IVT Object type id onto a VisionX object type id. | |
| MyRegion | convert (const visionx::types::Region ®ion) |
| Converts a VisionX MyRegion object into an IVT MyRegion instance. | |
| Transformation3d | convert (const visionx::types::Transformation3d &transformation3d) |
| Converts a VisionX Transformation3d object into an IVT Transformation3d object. | |
| Vec3d | convert (const visionx::types::Vec &vec) |
| Converts a VisionX Vector (float STL Vector) into an IVT Vec3d. | |
| Vec2d | convert (const visionx::types::Vec *pVec) |
| Converts a VisionX Vector (float STL Vector) into an IVT Vec2d. | |
| visionx::types::Mat | convertEigenMatToVisionX (Eigen::MatrixXf m) |
| visionx::types::Vec | convertEigenVecToVisionX (Eigen::VectorXf v) |
| void | convertFromPCL (const pcl::PointCloud< pcl::PointXYZRGBA >::Ptr sourcePtr, ColoredPointCloud &target) |
| void | convertFromPCL (const pcl::PointCloud< pcl::PointXYZRGBA >::Ptr sourcePtr, visionx::ColoredPointCloud &target) |
| void | convertFromPCL (const pcl::PointCloud< pcl::PointXYZRGBL > &source, ColoredLabeledPointCloud &target) |
| template<typename VisionXPointT, typename PclPointT> | |
| std::vector< VisionXPointT > | convertFromPCL (const pcl::PointCloud< PclPointT > &source) |
| Convert a PCL point cloud to a VisionX point cloud (as return value). | |
| template<typename VisionXPointT, typename PclPointT> | |
| void | convertFromPCL (const pcl::PointCloud< PclPointT > &source, std::vector< VisionXPointT > &target) |
| Convert a PCL point cloud to a VisionX point cloud. | |
| void | convertFromPCL (pcl::PointCloud< pcl::PointXYZ >::Ptr sourcePtr, void **target) |
| void | convertFromPCL (pcl::PointCloud< pcl::PointXYZI >::Ptr sourcePtr, void **target) |
| void | convertFromPCL (pcl::PointCloud< pcl::PointXYZL >::Ptr sourcePtr, void **target) |
| void | convertFromPCL (pcl::PointCloud< pcl::PointXYZRGB >::Ptr sourcePtr, void **target) |
| void | convertFromPCL (pcl::PointCloud< pcl::PointXYZRGBA >::Ptr sourcePtr, void **target) |
| void | convertFromPCL (pcl::PointCloud< pcl::PointXYZRGBL >::Ptr sourcePtr, void **target) |
| void | convertFromPCL (pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr &sourcePtr, void **target) |
| void | convertFromPCLToDebugDrawer (const pcl::PointCloud< pcl::PointXYZ >::Ptr &sourcePtr, armarx::DebugDrawer24BitColoredPointCloud &target, PCLToDebugDrawerConversionMode mode, float pointSize) |
| void | convertFromPCLToDebugDrawer (const pcl::PointCloud< pcl::PointXYZL >::Ptr &sourcePtr, armarx::DebugDrawer24BitColoredPointCloud &target, PCLToDebugDrawerConversionMode mode, float pointSize) |
| void | convertFromPCLToDebugDrawer (const pcl::PointCloud< pcl::PointXYZRGBA >::Ptr &sourcePtr, armarx::DebugDrawer24BitColoredPointCloud &target, PCLToDebugDrawerConversionMode mode, float pointSize) |
| void | convertFromPCLToDebugDrawer (const pcl::PointCloud< pcl::PointXYZRGBL >::Ptr &sourcePtr, armarx::DebugDrawer24BitColoredPointCloud &target, PCLToDebugDrawerConversionMode mode, float pointSize) |
| void | convertImage (const ImageFormatInfo &imageFormat, const ImageType destinationImageType, void *inputData, void *outputData) |
| This converts the input image data into a desired destination image data type specified in the given ImageProviderInfo. | |
| void | convertImage (const ImageProviderInfo &imageProviderInfo, void *inputData, void *outputData) |
| Simplifies usage of visionx::tools:convertImage in ImageProcessors. | |
| Eigen::Matrix3f | convertIVTtoEigen (const Mat3d &m) |
| Eigen::Vector3f | convertIVTtoEigen (const Vec3d &v) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZ &source, visionx::Point3D &target) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZ &source, visionx::Point3D &target) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZL &source, visionx::LabeledPoint3D &target) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZL &source, visionx::LabeledPoint3D &target) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZRGBA &source, visionx::ColoredPoint3D &target) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZRGBA &source, visionx::ColoredPoint3D &target) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZRGBL &source, visionx::ColoredLabeledPoint3D &target) |
| template<> | |
| void | convertPointFromPCL (const pcl::PointXYZRGBL &source, visionx::ColoredLabeledPoint3D &target) |
| template<typename PclPointT, typename VisionXPointT> | |
| void | convertPointFromPCL (const PclPointT &p, VisionXPointT &v) |
| Convert a PCL point type to a VisionX point type. | |
| template<> | |
| void | convertPointToPCL (const visionx::ColoredLabeledPoint3D &source, pcl::PointXYZRGBL &target) |
| template<> | |
| void | convertPointToPCL (const visionx::ColoredLabeledPoint3D &source, pcl::PointXYZRGBL &target) |
| template<> | |
| void | convertPointToPCL (const visionx::ColoredPoint3D &source, pcl::PointXYZRGBA &target) |
| template<> | |
| void | convertPointToPCL (const visionx::ColoredPoint3D &source, pcl::PointXYZRGBA &target) |
| template<> | |
| void | convertPointToPCL (const visionx::LabeledPoint3D &source, pcl::PointXYZL &target) |
| template<> | |
| void | convertPointToPCL (const visionx::LabeledPoint3D &source, pcl::PointXYZL &target) |
| template<> | |
| void | convertPointToPCL (const visionx::Point3D &source, pcl::PointXYZ &target) |
| template<> | |
| void | convertPointToPCL (const visionx::Point3D &source, pcl::PointXYZ &target) |
| template<typename PclPointT, typename VisionXPointT> | |
| void | convertPointToPCL (const VisionXPointT &v, PclPointT &p) |
| Convert a VisionX point type to a PCL point type. | |
| void | convertToPCL (const ColoredLabeledPointCloud &source, pcl::PointCloud< pcl::PointXYZRGBL > &target) |
| void | convertToPCL (const ColoredPointCloud &source, pcl::PointCloud< pcl::PointXYZRGBA >::Ptr targetPtr) |
| template<typename PclPointT, typename VisionXPointT> | |
| pcl::PointCloud< PclPointT >::Ptr | convertToPCL (const std::vector< VisionXPointT > &source) |
| Convert a VisionX point cloud to a PCL point cloud (as return value). | |
| template<typename PclPointT, typename VisionXPointT> | |
| void | convertToPCL (const std::vector< VisionXPointT > &source, pcl::PointCloud< PclPointT > &target) |
| Convert a VisionX point cloud to a PCL point cloud. | |
| void | convertToPCL (const visionx::ColoredPointCloud &source, pcl::PointCloud< pcl::PointXYZRGBA >::Ptr targetPtr) |
| void | convertToPCL (void **source, visionx::MetaPointCloudFormatPtr pointCloudFormat, pcl::PointCloud< pcl::PointXYZ >::Ptr targetPtr) |
| void | convertToPCL (void **source, visionx::MetaPointCloudFormatPtr pointCloudFormat, pcl::PointCloud< pcl::PointXYZI >::Ptr targetPtr) |
| void | convertToPCL (void **source, visionx::MetaPointCloudFormatPtr pointCloudFormat, pcl::PointCloud< pcl::PointXYZL >::Ptr targetPtr) |
| void | convertToPCL (void **source, visionx::MetaPointCloudFormatPtr pointCloudFormat, pcl::PointCloud< pcl::PointXYZRGB >::Ptr targetPtr) |
| void | convertToPCL (void **source, visionx::MetaPointCloudFormatPtr pointCloudFormat, pcl::PointCloud< pcl::PointXYZRGBA >::Ptr targetPtr) |
| void | convertToPCL (void **source, visionx::MetaPointCloudFormatPtr pointCloudFormat, pcl::PointCloud< pcl::PointXYZRGBL >::Ptr targetPtr) |
| void | convertToPCL (void **source, visionx::MetaPointCloudFormatPtr pointCloudFormat, pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr targetPtr) |
| Eigen::MatrixXf | convertVisionXMatToEigen (visionx::types::Mat m) |
| Eigen::VectorXf | convertVisionXVecToEigen (visionx::types::Vec v) |
| CByteImage * | createByteImage (const ImageFormatInfo &imageFormat) |
| CByteImage * | createByteImage (const ImageFormatInfo &imageFormat, const ImageType imageType) |
| Creates a ByteImage for the destination type specified in the given imageProviderInfo. | |
| CByteImage * | createByteImage (const ImageProviderInfo &imageProviderInfo) |
| Simplifies usage of visionx::tools:convertImage in ImageProcessors. | |
| MonocularCalibration | createDefaultMonocularCalibration () |
| Creates a MonocularCalibration with all parameters set to a neutral value. | |
| CFloatImage * | createFloatImage (const ImageFormatInfo &imageFormat, const ImageType imageType) |
| Creates a FloatImage for the destination type specified in the given imageProviderInfo. | |
| CFloatImage * | createFloatImage (const ImageProviderInfo &imageProviderInfo) |
| Simplifies usage of visionx::tools:convertImage in ImageProcessors. | |
| DECLARE_fitPlaneRansac_PointT (pcl::PointXYZ) | |
| DECLARE_fitPlaneRansac_PointT (pcl::PointXYZRGB) | |
| DECLARE_fitPlaneRansac_PointT (pcl::PointXYZRGBA) | |
| DECLARE_fitPlaneRansac_PointT (pcl::PointXYZRGBL) | |
| void | depthValueToRGB (unsigned int depthInMM, unsigned char &r, unsigned char &g, unsigned char &b, bool noiseResistant=false) |
| template<typename PointCloudT> | |
| PointCloudT::Ptr | downsampleByVoxelGrid (typename PointCloudT::ConstPtr inputCloud, float leafSize=5.0, pcl::IndicesConstPtr indices=nullptr) |
| template<typename PointCloudT> | |
| PointCloudT::Ptr | downsampleByVoxelGrid (typename PointCloudT::ConstPtr inputCloud, float leafSize=5.0, pcl::PointIndicesConstPtr indices=nullptr) |
| template<class PointCloudT> | |
| std::enable_if<!is_shared_ptr< PointCloudT >::value, void >::type | fillLabelMap (const PointCloudT &labeledCloud, std::map< uint32_t, pcl::PointIndices > &labelIndicesMap, bool excludeZero=true) |
| template<class LabeledPointCloudPtrT> | |
| std::enable_if< is_shared_ptr< LabeledPointCloudPtrT >::value, void >::type | fillLabelMap (LabeledPointCloudPtrT labeledCloudPtr, std::map< uint32_t, pcl::PointIndices > &labelIndicesMap, bool excludeZero=true) |
| template<typename PointT, typename IndicesPtrT = pcl::IndicesPtr> | |
| std::optional< PlaneFittingResult > | fitPlaneRansac (typename pcl::PointCloud< PointT >::Ptr cloud, double distanceThreshold=1.0, const IndicesPtrT &indices=nullptr) |
| template<typename PointCloudT> | |
| simox::AxisAlignedBoundingBox | getAABB (const PointCloudT &pointCloud, const pcl::PointIndices &indices={}) |
| Get the axis-aligned bounding-box of the given point cloud. | |
| template<class PointCloudT> | |
| simox::AxisAlignedBoundingBox | getAABB (const PointCloudT &pointCloud, const pcl::PointIndices::Ptr &indices) |
| size_t | getBytesPerPoint (visionx::PointContentType pointContent) |
| template<typename PointCloudT> | |
| pcl::PointIndices::Ptr | getCropIndices (const PointCloudT &inputCloud, Eigen::Vector3f min, Eigen::Vector3f max) |
| template<typename PointCloudT> | |
| PointCloudT::Ptr | getCropped (const PointCloudT &inputCloud, Eigen::Vector3f min, Eigen::Vector3f max) |
| std::string | getHardwareId () |
| Retrieve hardware id to identify local machine. | |
| template<class PointCloudT> | |
| std::map< uint32_t, pcl::PointIndices > | getLabelMap (const PointCloudT &labeledCloud, bool excludeZero=true) |
| template<typename LabeledPointT> | |
| std::set< uint32_t > | getLabelSet (const pcl::PointCloud< LabeledPointT > &pointCloud) |
Return the set of labels in pointCloud. | |
| template<class ValueT> | |
| std::set< uint32_t > | getLabelSet (const std::map< uint32_t, ValueT > &segmentIndices) |
Return the labels in segmentIndices as std::set. | |
| template<typename PointT> | |
| visionx::PointContentType | getPointContentType () |
| template<> | |
| PointContentType | getPointContentType< pcl::PointNormal > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointNormal > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZ > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZ > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZI > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZI > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZL > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZL > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZRGBA > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZRGBA > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZRGBL > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZRGBL > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZRGBNormal > () |
| template<> | |
| visionx::PointContentType | getPointContentType< pcl::PointXYZRGBNormal > () |
| template<class PointT, class IndicesT = pcl::PointIndices> | |
| std::map< uint32_t, simox::AxisAlignedBoundingBox > | getSegmentAABBs (const pcl::PointCloud< PointT > &pointCloud, const std::map< uint32_t, IndicesT > &segmentIndices) |
| template<class PointT, class IndicesT = pcl::PointIndices> | |
| std::vector< simox::AxisAlignedBoundingBox > | getSegmentAABBs (const pcl::PointCloud< PointT > &pointCloud, const std::vector< IndicesT > &segmentIndices) |
| template<class LabeledPointT> | |
| std::map< uint32_t, pcl::PointIndices > | getSegmentIndices (const pcl::PointCloud< LabeledPointT > &labeledCloud, bool excludeZero=false) |
| Get a map from segment labels to indices of segments' points. | |
| template<class LabeledPointT> | |
| std::map< uint32_t, pcl::PointIndices::Ptr > | getSegmentIndicesPtr (const pcl::PointCloud< LabeledPointT > &labeledCloud, bool excludeZero=false) |
Version of addSegmentIndices() containing pcl::PointIndices::Ptr. | |
| template<class ValueT> | |
| std::vector< uint32_t > | getUniqueLabels (const std::map< uint32_t, ValueT > &segmentIndices) |
Return the labels in segmentIndices as std::vector. | |
| std::string | imageTypeToTypeName (const ImageType imageType) |
| Converts an image type into a string integer. | |
| bool | isColored (PointContentType type) |
| bool | isColored (visionx::PointContentType type) |
| Indicate whether this point type contains colors. | |
| bool | isLabeled (PointContentType type) |
| bool | isLabeled (visionx::PointContentType type) |
| Indicate whether this point type contains labels. | |
| template<class PointT> | |
| void | relabel (pcl::PointCloud< PointT > &pointCloud, const std::map< uint32_t, pcl::PointIndices > &segmentIndices) |
| template<class PointT> | |
| void | relabel (pcl::PointCloud< PointT > &pointCloud, const std::map< uint32_t, pcl::PointIndices::Ptr > &segmentIndices) |
| float | rgbToDepthValue (unsigned char r, unsigned char g, unsigned char b, bool noiseResistant=false) |
| simox::AxisAlignedBoundingBox | toAABB (const BoundingBox3D &boundingBox) |
| BoundingBox3D | toBoundingBox3D (const Eigen::Vector3f &min, const Eigen::Vector3f &max) |
| BoundingBox3D | toBoundingBox3D (const simox::AxisAlignedBoundingBox &aabb) |
| std::string | toString (PointContentType pointContent) |
| std::string | toString (visionx::PointContentType pointContent) |
| ImageType | typeNameToImageType (const std::string &imageTypeName) |
| Converts an image type name as string into an ImageType integer. | |
| template<typename T> | |
| T * | vectorToArray (const std::vector< T > &dataVector) |
| void addSegmentIndices | ( | std::map< uint32_t, pcl::PointIndices > & | segmentIndices, |
| const pcl::PointCloud< LabeledPointT > & | labeledCloud, | ||
| bool | excludeZero = false ) |
Add indices of each segment's points to segmentIndices.
| segmentIndices | The map to fill (label -> point indicies). |
| labeledCloud | A labeled point cloud. |
| excludeZero | If true, points with label == 0 are ignored. |
| void addSegmentIndices | ( | std::map< uint32_t, pcl::PointIndices::Ptr > & | segmentIndices, |
| const pcl::PointCloud< LabeledPointT > & | labeledCloud, | ||
| bool | excludeZero = false ) |
| void arrayToVector | ( | const T * | dataArray, |
| const int | size, | ||
| std::vector< T > & | vec ) |
| void callWithPointCloud | ( | const FunctionT & | function, |
| PointContentType | type, | ||
| Args... | args ) |
Overload of callWithPointCloud() for functions passed by const reference.
| void callWithPointCloud | ( | FunctionT & | function, |
| PointContentType | type, | ||
| Args... | args ) |
Call function with a pcl::PointCloud<PointT> with the adequate PointT according to type.
The passed function may be a lambda taking the point cloud by auto as its first argument: [](auto pointCloud) { pointCloud.size(); }
| function | The function to be called. |
| type | The point content type. |
| args | Optional additional arguments passed to the called function. |
| void callWithPointCloudPtr | ( | const FunctionT & | function, |
| PointContentType | type, | ||
| Args... | args ) |
Overload of callWithPointCloudPtr() for functions passed by const reference.
| void callWithPointCloudPtr | ( | FunctionT & | function, |
| PointContentType | type, | ||
| Args... | args ) |
Call function with a (non-null) pcl::PointCloud<PointT>::Ptr with the adequate PointT according to type.
The passed function may be a lambda taking the point cloud by auto as its first argument: [](auto pointCloud) { pointCloud->size(); }
| function | The function to be called. |
| type | The point content type. |
| args | Optional additional arguments passed to the called function. |
| std::enable_if_t<!std::is_base_of< detail::FunctorWithReturnType, FunctorT >::value, void > callWithPointType | ( | const FunctorT & | functor, |
| PointContentType | type, | ||
| Args... | args ) |
Overload of visitWithPointType() for functors passed by const reference.
| VisitorT::ReturnType callWithPointType | ( | const VisitorT & | functor, |
| PointContentType | type, | ||
| Args... | args ) |
Overload of visitWithPointType() for functors with return value passed by const reference.
| std::enable_if_t<!std::is_base_of< detail::FunctorWithReturnType, FunctorT >::value, void > callWithPointType | ( | FunctorT & | functor, |
| PointContentType | type, | ||
| Args... | args ) |
Call functor with the correct pcl point type according to type.
The passed functor must have a member functor template, taking the pcl point type as first template argument:
Construct your functor and pass it to callWithPointType() along with the respective PointContentType:
Depending on the passed PointContentType, the functor's operator() is called with the according pcl::Point... type as template argument. This allows you to create pcl::PointCloud<PointT> with the correct type.
In addition to functor and type, callWithPointType() can take more arguments which will be passed to the functor's operator():
Usage:
If your functor returns a result, have it derive from FunctorWithReturnType, specifying the return type as template argument:
Usage:
| functor | The functor to be called. |
| type | The point content type. |
| args | Arguments passed to functor call. |
| VisitorT::ReturnType callWithPointType | ( | VisitorT & | functor, |
| PointContentType | type, | ||
| Args... | args ) |
Overload of visitWithPointType() for functors with return value.
|
inline |
| std::tuple< uint8_t, uint8_t, uint8_t > colorizeSegment | ( | PointCloudPtrT & | segment | ) |
| ImageProcessor::BayerPatternType convert | ( | const BayerPatternType | visionxBayerPatternType | ) |
| visionx::MonocularCalibration convert | ( | const CCalibration & | ivtCalibration | ) |
| visionx::StereoCalibration convert | ( | const CStereoCalibration & | ivtStereoCalibration | ) |
| CVideoCaptureInterface::FrameRate convert | ( | const float | frameRate | ) |
Converts frame rate floats into distinct IVT FrameRates by applying quantization.
| frameRate | frame rate |
| CVideoCaptureInterface::VideoMode convert | ( | const ImageDimension & | imageDimension | ) |
Converts a VisionX image dimension object into an IVT VideoMode of IVT's CVideoCaptureInterface.
| imageDimension | VisionX image dimension which consist of image width and height |
| CByteImage::ImageType convert | ( | const ImageType | visionxImageType | ) |
| visionx::types::Mat convert | ( | const Mat3d & | mat | ) |
| visionx::types::Region convert | ( | const MyRegion & | ivtRegion | ) |
| visionx::types::Object3DEntry convert | ( | const Object3DEntry & | ivtObject3DEntry | ) |
| visionx::types::Object3DList convert | ( | const Object3DList & | ivtObject3DList | ) |
| visionx::types::ObjectColor convert | ( | const ObjectColor & | ivtObjectColor | ) |
| visionx::types::ObjectType convert | ( | const ObjectType & | ivtObjectType | ) |
| visionx::types::Transformation3d convert | ( | const Transformation3d & | ivtTransformation3d | ) |
| visionx::types::Vec convert | ( | const Vec2d & | vec | ) |
| visionx::types::Vec convert | ( | const Vec3d & | vec | ) |
| CCalibration * convert | ( | const visionx::MonocularCalibration & | calibration | ) |
| CStereoCalibration * convert | ( | const visionx::StereoCalibration & | stereoCalibration | ) |
| Mat3d convert | ( | const visionx::types::Mat & | mat | ) |
| Object3DEntry convert | ( | const visionx::types::Object3DEntry & | object3DEntry | ) |
| Object3DList convert | ( | const visionx::types::Object3DList & | object3DList | ) |
| ObjectColor convert | ( | const visionx::types::ObjectColor & | objectColor | ) |
| ObjectType convert | ( | const visionx::types::ObjectType & | objectType | ) |
| MyRegion convert | ( | const visionx::types::Region & | region | ) |
| Transformation3d convert | ( | const visionx::types::Transformation3d & | transformation3d | ) |
| Vec3d convert | ( | const visionx::types::Vec & | vec | ) |
| Vec2d convert | ( | const visionx::types::Vec * | pVec | ) |
| visionx::types::Mat convertEigenMatToVisionX | ( | Eigen::MatrixXf | m | ) |
| visionx::types::Vec convertEigenVecToVisionX | ( | Eigen::VectorXf | v | ) |
| void convertFromPCL | ( | const pcl::PointCloud< pcl::PointXYZRGBA >::Ptr | sourcePtr, |
| ColoredPointCloud & | target ) |
| void convertFromPCL | ( | const pcl::PointCloud< pcl::PointXYZRGBA >::Ptr | sourcePtr, |
| visionx::ColoredPointCloud & | target ) |
| void convertFromPCL | ( | const pcl::PointCloud< pcl::PointXYZRGBL > & | source, |
| ColoredLabeledPointCloud & | target ) |
| std::vector< VisionXPointT > convertFromPCL | ( | const pcl::PointCloud< PclPointT > & | source | ) |
Convert a PCL point cloud to a VisionX point cloud (as return value).
Pass the desired point type as first template argument, for example:
| void convertFromPCL | ( | const pcl::PointCloud< PclPointT > & | source, |
| std::vector< VisionXPointT > & | target ) |
Convert a PCL point cloud to a VisionX point cloud.
| void convertFromPCL | ( | pcl::PointCloud< pcl::PointXYZ >::Ptr | sourcePtr, |
| void ** | target ) |
| sourcePtr | point to the source pcl point cloud |
| void convertFromPCL | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | sourcePtr, |
| void ** | target ) |
| void convertFromPCL | ( | pcl::PointCloud< pcl::PointXYZL >::Ptr | sourcePtr, |
| void ** | target ) |
| void convertFromPCL | ( | pcl::PointCloud< pcl::PointXYZRGB >::Ptr | sourcePtr, |
| void ** | target ) |
| void convertFromPCL | ( | pcl::PointCloud< pcl::PointXYZRGBA >::Ptr | sourcePtr, |
| void ** | target ) |
| void convertFromPCL | ( | pcl::PointCloud< pcl::PointXYZRGBL >::Ptr | sourcePtr, |
| void ** | target ) |
| void convertFromPCL | ( | pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr & | sourcePtr, |
| void ** | target ) |
| void convertFromPCLToDebugDrawer | ( | const pcl::PointCloud< pcl::PointXYZ >::Ptr & | sourcePtr, |
| armarx::DebugDrawer24BitColoredPointCloud & | target, | ||
| PCLToDebugDrawerConversionMode | mode, | ||
| float | pointSize ) |
| void convertFromPCLToDebugDrawer | ( | const pcl::PointCloud< pcl::PointXYZL >::Ptr & | sourcePtr, |
| armarx::DebugDrawer24BitColoredPointCloud & | target, | ||
| PCLToDebugDrawerConversionMode | mode, | ||
| float | pointSize ) |
| void convertFromPCLToDebugDrawer | ( | const pcl::PointCloud< pcl::PointXYZRGBA >::Ptr & | sourcePtr, |
| armarx::DebugDrawer24BitColoredPointCloud & | target, | ||
| PCLToDebugDrawerConversionMode | mode, | ||
| float | pointSize ) |
| void convertFromPCLToDebugDrawer | ( | const pcl::PointCloud< pcl::PointXYZRGBL >::Ptr & | sourcePtr, |
| armarx::DebugDrawer24BitColoredPointCloud & | target, | ||
| PCLToDebugDrawerConversionMode | mode, | ||
| float | pointSize ) |
| void convertImage | ( | const ImageFormatInfo & | imageFormat, |
| const ImageType | destinationImageType, | ||
| void * | inputData, | ||
| void * | outputData ) |
This converts the input image data into a desired destination image data type specified in the given ImageProviderInfo.
If source image type equals destination image type, the image is simply copied, otherwise the image is converted if the conversion type is supported.
Supported conversions:
| ImageFormatInfo | Image format information which contains the source image type, source image size and more details needed for conversions. |
| destinationType | destination image type of outputData |
| inputData | input data array |
| outputData | output data array |
| visionx::UnsupportedImageConversion | if conversion from a specific source type into a destination type is not supported or implemented. |
| void convertImage | ( | const ImageProviderInfo & | imageProviderInfo, |
| void * | inputData, | ||
| void * | outputData ) |
Simplifies usage of visionx::tools:convertImage in ImageProcessors.
| ImageProviderInfo | Registered image provider information which contains the source image type, destination image type, source image size and more details needed for conversions. |
| inputData | input data array |
| outputData | output data array |
| visionx::UnsupportedImageConversion | if conversion from a specific source type into a destination type is not supported or implemented. |
| Eigen::Matrix3f convertIVTtoEigen | ( | const Mat3d & | m | ) |
| Eigen::Vector3f convertIVTtoEigen | ( | const Vec3d & | v | ) |
| void convertPointFromPCL | ( | const pcl::PointXYZ & | source, |
| visionx::Point3D & | target ) |
| void convertPointFromPCL | ( | const pcl::PointXYZ & | source, |
| visionx::Point3D & | target ) |
| void convertPointFromPCL | ( | const pcl::PointXYZL & | source, |
| visionx::LabeledPoint3D & | target ) |
| void convertPointFromPCL | ( | const pcl::PointXYZL & | source, |
| visionx::LabeledPoint3D & | target ) |
| void convertPointFromPCL | ( | const pcl::PointXYZRGBA & | source, |
| visionx::ColoredPoint3D & | target ) |
| void convertPointFromPCL | ( | const pcl::PointXYZRGBA & | source, |
| visionx::ColoredPoint3D & | target ) |
| void convertPointFromPCL | ( | const pcl::PointXYZRGBL & | source, |
| visionx::ColoredLabeledPoint3D & | target ) |
| void convertPointFromPCL | ( | const pcl::PointXYZRGBL & | source, |
| visionx::ColoredLabeledPoint3D & | target ) |
| void convertPointFromPCL | ( | const PclPointT & | p, |
| VisionXPointT & | v ) |
Convert a PCL point type to a VisionX point type.
| void convertPointToPCL | ( | const visionx::ColoredLabeledPoint3D & | source, |
| pcl::PointXYZRGBL & | target ) |
| void convertPointToPCL | ( | const visionx::ColoredLabeledPoint3D & | source, |
| pcl::PointXYZRGBL & | target ) |
| void convertPointToPCL | ( | const visionx::ColoredPoint3D & | source, |
| pcl::PointXYZRGBA & | target ) |
| void convertPointToPCL | ( | const visionx::ColoredPoint3D & | source, |
| pcl::PointXYZRGBA & | target ) |
| void convertPointToPCL | ( | const visionx::LabeledPoint3D & | source, |
| pcl::PointXYZL & | target ) |
| void convertPointToPCL | ( | const visionx::LabeledPoint3D & | source, |
| pcl::PointXYZL & | target ) |
| void convertPointToPCL | ( | const visionx::Point3D & | source, |
| pcl::PointXYZ & | target ) |
| void convertPointToPCL | ( | const visionx::Point3D & | source, |
| pcl::PointXYZ & | target ) |
| void convertPointToPCL | ( | const VisionXPointT & | v, |
| PclPointT & | p ) |
Convert a VisionX point type to a PCL point type.
| void convertToPCL | ( | const ColoredLabeledPointCloud & | source, |
| pcl::PointCloud< pcl::PointXYZRGBL > & | target ) |
| void convertToPCL | ( | const ColoredPointCloud & | source, |
| pcl::PointCloud< pcl::PointXYZRGBA >::Ptr | targetPtr ) |
| pcl::PointCloud< PclPointT >::Ptr convertToPCL | ( | const std::vector< VisionXPointT > & | source | ) |
Convert a VisionX point cloud to a PCL point cloud (as return value).
Convert a VisionX point cloud to a PCL point cloud.
Pass the desired point type as first template argument, for example:
| void convertToPCL | ( | const std::vector< VisionXPointT > & | source, |
| pcl::PointCloud< PclPointT > & | target ) |
Convert a VisionX point cloud to a PCL point cloud.
| void convertToPCL | ( | const visionx::ColoredPointCloud & | source, |
| pcl::PointCloud< pcl::PointXYZRGBA >::Ptr | targetPtr ) |
| void convertToPCL | ( | void ** | source, |
| visionx::MetaPointCloudFormatPtr | pointCloudFormat, | ||
| pcl::PointCloud< pcl::PointXYZ >::Ptr | targetPtr ) |
| targetPtr | point to the pcl point cloud |
| void convertToPCL | ( | void ** | source, |
| visionx::MetaPointCloudFormatPtr | pointCloudFormat, | ||
| pcl::PointCloud< pcl::PointXYZI >::Ptr | targetPtr ) |
| void convertToPCL | ( | void ** | source, |
| visionx::MetaPointCloudFormatPtr | pointCloudFormat, | ||
| pcl::PointCloud< pcl::PointXYZL >::Ptr | targetPtr ) |
| void convertToPCL | ( | void ** | source, |
| visionx::MetaPointCloudFormatPtr | pointCloudFormat, | ||
| pcl::PointCloud< pcl::PointXYZRGB >::Ptr | targetPtr ) |
| void convertToPCL | ( | void ** | source, |
| visionx::MetaPointCloudFormatPtr | pointCloudFormat, | ||
| pcl::PointCloud< pcl::PointXYZRGBA >::Ptr | targetPtr ) |
| void convertToPCL | ( | void ** | source, |
| visionx::MetaPointCloudFormatPtr | pointCloudFormat, | ||
| pcl::PointCloud< pcl::PointXYZRGBL >::Ptr | targetPtr ) |
| void convertToPCL | ( | void ** | source, |
| visionx::MetaPointCloudFormatPtr | pointCloudFormat, | ||
| pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr | targetPtr ) |
| Eigen::MatrixXf convertVisionXMatToEigen | ( | visionx::types::Mat | m | ) |
| Eigen::VectorXf convertVisionXVecToEigen | ( | visionx::types::Vec | v | ) |
| CByteImage * createByteImage | ( | const ImageFormatInfo & | imageFormat | ) |
| CByteImage * createByteImage | ( | const ImageFormatInfo & | imageFormat, |
| const ImageType | imageType ) |
Creates a ByteImage for the destination type specified in the given imageProviderInfo.
| ImageFormatInfo | Image format information which contains the source image size |
| imageType | Required VisionX image type which will be mapped onto an appropriate CByteImage::ImageType |
| CByteImage * createByteImage | ( | const ImageProviderInfo & | imageProviderInfo | ) |
Simplifies usage of visionx::tools:convertImage in ImageProcessors.
| imageProviderInfo | Registered image provider information which contains the ImageFormatInfo and destination image type. |
| visionx::MonocularCalibration createDefaultMonocularCalibration | ( | ) |
Creates a MonocularCalibration with all parameters set to a neutral value.
| CFloatImage * createFloatImage | ( | const ImageFormatInfo & | imageFormat, |
| const ImageType | imageType ) |
Creates a FloatImage for the destination type specified in the given imageProviderInfo.
| ImageFormatInfo | Image format information which contains the source image size |
| imageType | Required VisionX image type which will be mapped onto an appropriate number of channels |
| CFloatImage * createFloatImage | ( | const ImageProviderInfo & | imageProviderInfo | ) |
Simplifies usage of visionx::tools:convertImage in ImageProcessors.
| imageProviderInfo | Registered image provider information which contains the ImageFormatInfo and destination image type. |
| DECLARE_fitPlaneRansac_PointT | ( | pcl::PointXYZ | ) |
| DECLARE_fitPlaneRansac_PointT | ( | pcl::PointXYZRGB | ) |
| DECLARE_fitPlaneRansac_PointT | ( | pcl::PointXYZRGBA | ) |
| DECLARE_fitPlaneRansac_PointT | ( | pcl::PointXYZRGBL | ) |
|
inline |
| PointCloudT::Ptr downsampleByVoxelGrid | ( | typename PointCloudT::ConstPtr | inputCloud, |
| float | leafSize = 5.0, | ||
| pcl::IndicesConstPtr | indices = nullptr ) |
| PointCloudT::Ptr downsampleByVoxelGrid | ( | typename PointCloudT::ConstPtr | inputCloud, |
| float | leafSize = 5.0, | ||
| pcl::PointIndicesConstPtr | indices = nullptr ) |
| std::enable_if<!is_shared_ptr< PointCloudT >::value, void >::type fillLabelMap | ( | const PointCloudT & | labeledCloud, |
| std::map< uint32_t, pcl::PointIndices > & | labelIndicesMap, | ||
| bool | excludeZero = true ) |
| std::enable_if< is_shared_ptr< LabeledPointCloudPtrT >::value, void >::type fillLabelMap | ( | LabeledPointCloudPtrT | labeledCloudPtr, |
| std::map< uint32_t, pcl::PointIndices > & | labelIndicesMap, | ||
| bool | excludeZero = true ) |
| std::optional< PlaneFittingResult > fitPlaneRansac | ( | typename pcl::PointCloud< PointT >::Ptr | cloud, |
| double | distanceThreshold = 1.0, | ||
| const IndicesPtrT & | indices = nullptr ) |
| simox::AxisAlignedBoundingBox getAABB | ( | const PointCloudT & | pointCloud, |
| const pcl::PointIndices & | indices = {} ) |
Get the axis-aligned bounding-box of the given point cloud.
| pointCloud | The point cloud. |
| indices | If not empty, only the specified point indices are used. |
| simox::AxisAlignedBoundingBox getAABB | ( | const PointCloudT & | pointCloud, |
| const pcl::PointIndices::Ptr & | indices ) |
| size_t getBytesPerPoint | ( | visionx::PointContentType | pointContent | ) |
| pcl::PointIndices::Ptr getCropIndices | ( | const PointCloudT & | inputCloud, |
| Eigen::Vector3f | min, | ||
| Eigen::Vector3f | max ) |
| PointCloudT::Ptr getCropped | ( | const PointCloudT & | inputCloud, |
| Eigen::Vector3f | min, | ||
| Eigen::Vector3f | max ) |
| std::string getHardwareId | ( | ) |
Retrieve hardware id to identify local machine.
This method generates a hardware id from the mac address.
| std::map< uint32_t, pcl::PointIndices > getLabelMap | ( | const PointCloudT & | labeledCloud, |
| bool | excludeZero = true ) |
| std::set< uint32_t > getLabelSet | ( | const pcl::PointCloud< LabeledPointT > & | pointCloud | ) |
Return the set of labels in pointCloud.
| std::set< uint32_t > getLabelSet | ( | const std::map< uint32_t, ValueT > & | segmentIndices | ) |
Return the labels in segmentIndices as std::set.
| visionx::PointContentType getPointContentType | ( | ) |
| PointContentType getPointContentType< pcl::PointNormal > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointNormal > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZ > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZ > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZI > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZI > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZL > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZL > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZRGBA > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZRGBA > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZRGBL > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZRGBL > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZRGBNormal > | ( | ) |
| visionx::PointContentType getPointContentType< pcl::PointXYZRGBNormal > | ( | ) |
| std::map< uint32_t, simox::AxisAlignedBoundingBox > getSegmentAABBs | ( | const pcl::PointCloud< PointT > & | pointCloud, |
| const std::map< uint32_t, IndicesT > & | segmentIndices ) |
| std::vector< simox::AxisAlignedBoundingBox > getSegmentAABBs | ( | const pcl::PointCloud< PointT > & | pointCloud, |
| const std::vector< IndicesT > & | segmentIndices ) |
| std::map< uint32_t, pcl::PointIndices > getSegmentIndices | ( | const pcl::PointCloud< LabeledPointT > & | labeledCloud, |
| bool | excludeZero = false ) |
Get a map from segment labels to indices of segments' points.
| labeledCloud | A labeled point cloud. |
| excludeZero | If true, points with label == 0 are ignored. |
| std::map< uint32_t, pcl::PointIndices::Ptr > getSegmentIndicesPtr | ( | const pcl::PointCloud< LabeledPointT > & | labeledCloud, |
| bool | excludeZero = false ) |
Version of addSegmentIndices() containing pcl::PointIndices::Ptr.
| std::vector< uint32_t > getUniqueLabels | ( | const std::map< uint32_t, ValueT > & | segmentIndices | ) |
Return the labels in segmentIndices as std::vector.
| std::string imageTypeToTypeName | ( | const ImageType | imageType | ) |
Converts an image type into a string integer.
| imageType | Image type |
| bool isColored | ( | PointContentType | type | ) |
| bool isColored | ( | visionx::PointContentType | type | ) |
Indicate whether this point type contains colors.
| bool isLabeled | ( | PointContentType | type | ) |
| bool isLabeled | ( | visionx::PointContentType | type | ) |
Indicate whether this point type contains labels.
| void relabel | ( | pcl::PointCloud< PointT > & | pointCloud, |
| const std::map< uint32_t, pcl::PointIndices > & | segmentIndices ) |
| void relabel | ( | pcl::PointCloud< PointT > & | pointCloud, |
| const std::map< uint32_t, pcl::PointIndices::Ptr > & | segmentIndices ) |
|
inline |
| simox::AxisAlignedBoundingBox toAABB | ( | const BoundingBox3D & | boundingBox | ) |
| BoundingBox3D toBoundingBox3D | ( | const Eigen::Vector3f & | min, |
| const Eigen::Vector3f & | max ) |
| BoundingBox3D toBoundingBox3D | ( | const simox::AxisAlignedBoundingBox & | aabb | ) |
| std::string toString | ( | PointContentType | pointContent | ) |
| std::string toString | ( | visionx::PointContentType | pointContent | ) |
| visionx::ImageType typeNameToImageType | ( | const std::string & | imageTypeName | ) |
Converts an image type name as string into an ImageType integer.
| imageTypeName | Image type string |