YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::sig Namespace Reference

Namespaces

namespace  draw
 
namespace  file
 
namespace  soundfilters
 
namespace  utils
 

Classes

class  AudioBufferSize
 
class  audioBufferSizeData
 
class  AudioPlayerStatus
 AudioPlayerStatus: A class used to describe the status of an audio player device. More...
 
class  AudioRecorderStatus
 AudioRecorderStatus: A class used to describe the status of an audio recorder device. More...
 
class  CameraDistortionTypeConverter
 
class  CircularAudioBuffer
 
class  ColorRGB
 
struct  DataCurvature
 
struct  DataInterestPointXYZ
 
struct  DataNormal
 
struct  DataNormalNoCurvature
 
struct  DataRGBA
 
struct  DataViewpoint
 
struct  DataXY
 
struct  DataXYZ
 
struct  DataXYZI
 
struct  DataXYZNormal
 
struct  DataXYZNormalRGBA
 
struct  DataXYZRGBA
 
class  DistortionModelData
 
class  FlexImage
 Image class with user control of representation details. More...
 
struct  has_member_z
 
struct  has_member_z< T, std::void_t< decltype(std::declval< T >().z)> >
 
class  Image
 Base class for storing images. More...
 
class  ImageAlphaData
 
class  ImageColorKey
 
class  ImageColorKeyData
 
class  ImageLayer
 
class  ImageLayerData
 A single layer of a layered image. More...
 
class  ImageNetworkHeader
 Byte order in image header for network transmission. More...
 
class  ImageOf
 Typed image class. More...
 
struct  IntrinsicParams
 The IntrinsicParams struct to handle the intrinsic parameter of cameras(RGB and RGBD either). More...
 
class  IntrinsicParamsData
 
class  LaserMeasurementData
 \LaserMeasurementData More...
 
class  LaserScan2D
 
class  LayeredImage
 A Layered Image, composed by a background and multiple layers. More...
 
class  LayeredImageData
 
class  Matrix
 A class for a Matrix. More...
 
class  MatrixData
 
class  PointCloud
 The PointCloud class. More...
 
class  PointCloudBase
 The PointCloudBase class. More...
 
class  PointCloudNetworkHeader
 The yarp::sig::PointCloudNetworkHeader class. More...
 
class  Pose6D
 
class  QuaternionData
 
class  Sound
 Class for storing sounds See Audio in YARP for additional documentation on YARP audio. More...
 
struct  SoundMarker
 
class  SoundMarkerData
 
class  TranslationData
 
class  Vec2DOfDoubleData
 
class  Vec2DOfIntData
 
class  Vec2DOfSizetData
 
class  VectorBase
 
class  VectorOfDouble
 
class  VectorOfDoubleData
 
class  VectorOfFloat
 
class  VectorOfFloatData
 
class  VectorOfInt
 
class  VectorOfInt32Data
 
class  VectorOfSizet
 
class  VectorOfSizetData
 
class  VectorOfString
 
class  VectorOfStringData
 

Typedefs

typedef size_t size_t
 
typedef size_t size32
 
typedef float float32
 
using PointCloudXY = PointCloud< DataXY >
 
using PointCloudXYZ = PointCloud< DataXYZ >
 
using PointCloudNormal = PointCloud< DataNormal >
 
using PointCloudXYZRGBA = PointCloud< DataXYZRGBA >
 
using PointCloudXYZI = PointCloud< DataXYZI >
 
using PointCloudInterestPointXYZ = PointCloud< DataInterestPointXYZ >
 
using PointCloudXYZNormal = PointCloud< DataXYZNormal >
 
using PointCloudXYZNormalRGBA = PointCloud< DataXYZNormalRGBA >
 
typedef float Range
 
template<typename T >
using VectorOf = typename vector_selector< T >::type
 

Enumerations

enum  CameraDistortionType : int32_t {
  YARP_DISTORTION_NONE = 0 ,
  YARP_PLUMB_BOB = 1 ,
  YARP_FISH_EYE = 2 ,
  YARP_UNSUPPORTED = 3
}
 
enum  PointCloudBasicType : std::int32_t {
  PC_XY_DATA = (1 << 0) ,
  PC_XYZ_DATA = (1 << 1) ,
  PC_RGBA_DATA = (1 << 2) ,
  PC_INTENSITY_DATA = (1 << 3) ,
  PC_INTEREST_DATA = (1 << 4) ,
  PC_NORMAL_DATA = (1 << 5) ,
  PC_CURVATURE_DATA = (1 << 6) ,
  PC_RANGE_DATA = (1 << 7) ,
  PC_VIEWPOINT_DATA = (1 << 8) ,
  PC_MOMENT_INV_DATA = (1 << 9) ,
  PC_RADII_RSD_DATA = (1 << 10) ,
  PC_BOUNDARY_DATA = (1 << 11) ,
  PC_PRINCIPAL_CURVATURE_DATA = (1 << 12) ,
  PC_PFH_SIGNAT_125_DATA = (1 << 13) ,
  PC_FPFH_SIGNAT_33_DATA = (1 << 14) ,
  PC_VFH_SIGNAT_308_DATA = (1 << 15) ,
  PC_NARF_36_DATA = (1 << 16) ,
  PC_BORDER_DATA = (1 << 17) ,
  PC_INTENSITY_GRAD_DATA = (1 << 18) ,
  PC_HISTOGRAM_DATA = (1 << 19) ,
  PC_SCALE_DATA = (1 << 20) ,
  PC_CONFIDENCE_DATA = (1 << 21) ,
  PC_RADIUS_DATA = (1 << 22) ,
  PC_USER_DEFINED = (1 << 23) ,
  PC_PADDING2 = (1 << 24) ,
  PC_PADDING3 = (1 << 25)
}
 The PointCloudBasicTypes enum. More...
 
enum  PointCloudCompositeType : std::int32_t {
  PCL_POINT2D_XY = (PC_XY_DATA) ,
  PCL_POINT_XYZ = (PC_XYZ_DATA) ,
  PCL_POINT_XYZ_RGBA = (PC_XYZ_DATA | PC_RGBA_DATA | PC_PADDING3) ,
  PCL_POINT_XYZ_I = (PC_XYZ_DATA | PC_INTENSITY_DATA) ,
  PCL_INTEREST_POINT_XYZ = (PC_XYZ_DATA | PC_INTEREST_DATA) ,
  PCL_NORMAL = (PC_NORMAL_DATA | PC_CURVATURE_DATA | PC_PADDING3) ,
  PCL_POINT_XYZ_NORMAL = (PC_XYZ_DATA | PC_NORMAL_DATA | PC_CURVATURE_DATA | PC_PADDING3) ,
  PCL_POINT_XYZ_NORMAL_RGBA = (PC_XYZ_DATA | PC_RGBA_DATA | PC_NORMAL_DATA | PC_CURVATURE_DATA | PC_PADDING2) ,
  PCL_POINT_XYZ_I_NORMAL = (PC_XYZ_DATA | PC_INTENSITY_DATA | PC_NORMAL_DATA | PC_CURVATURE_DATA) ,
  PCL_POINT_XYZ_RANGE = (PC_XYZ_DATA | PC_RANGE_DATA) ,
  PCL_POINT_XYZ_VIEWPOINT = (PC_XYZ_DATA | PC_VIEWPOINT_DATA) ,
  PCL_MOMENT_INVARIANTS = (PC_MOMENT_INV_DATA) ,
  PCL_PRINCIPAL_RADII_RSD = (PC_RADII_RSD_DATA) ,
  PCL_BOUNDARY = (PC_BOUNDARY_DATA) ,
  PCL_PRINCIPAL_CURVATURES = (PC_PRINCIPAL_CURVATURE_DATA) ,
  PCL_PFH_SIGNAT_125 = (PC_PFH_SIGNAT_125_DATA) ,
  PCL_FPFH_SIGNAT_33 = (PC_FPFH_SIGNAT_33_DATA) ,
  PCL_VFH_SIGNAT_308 = (PC_VFH_SIGNAT_308_DATA) ,
  PCL_NARF_36 = (PC_NARF_36_DATA) ,
  PCL_POINT2D_BORDER = (PC_XY_DATA | PC_BORDER_DATA) ,
  PCL_INTENSITY_GRADIENT = (PC_INTENSITY_GRAD_DATA) ,
  PCL_PC_HISTOGRAM_N = (PC_HISTOGRAM_DATA) ,
  PCL_POINT_XYZ_SCALE = (PC_XYZ_DATA | PC_SCALE_DATA) ,
  PCL_POINT_XYZ_SURFEL = (PC_XYZ_DATA | PC_RGBA_DATA | PC_NORMAL_DATA | PC_RADIUS_DATA | PC_CONFIDENCE_DATA)
}
 The PointCloudCompositeType enum. More...
 
enum  PointCloudBorderTrait : std::int32_t {
  BORDER_TRAIT__OBSTACLE_BORDER ,
  BORDER_TRAIT__SHADOW_BORDER ,
  BORDER_TRAIT__VEIL_POINT ,
  BORDER_TRAIT__SHADOW_BORDER_TOP ,
  BORDER_TRAIT__SHADOW_BORDER_RIGHT ,
  BORDER_TRAIT__SHADOW_BORDER_BOTTOM ,
  BORDER_TRAIT__SHADOW_BORDER_LEFT ,
  BORDER_TRAIT__OBSTACLE_BORDER_TOP ,
  BORDER_TRAIT__OBSTACLE_BORDER_RIGHT ,
  BORDER_TRAIT__OBSTACLE_BORDER_BOTTOM ,
  BORDER_TRAIT__OBSTACLE_BORDER_LEFT ,
  BORDER_TRAIT__VEIL_POINT_TOP ,
  BORDER_TRAIT__VEIL_POINT_RIGHT ,
  BORDER_TRAIT__VEIL_POINT_BOTTOM ,
  BORDER_TRAIT__VEIL_POINT_LEFT
}
 

Functions

size_t PAD_BYTES (size_t len, size_t pad)
 computes the padding of YARP images.
 
bool submatrix (const Matrix &in, Matrix &out, size_t r1, size_t r2, size_t c1, size_t c2)
 
bool removeCols (const Matrix &in, Matrix &out, size_t first_col, size_t how_many)
 
bool removeRows (const Matrix &in, Matrix &out, size_t first_row, size_t how_many)
 

Typedef Documentation

◆ float32

typedef float yarp::sig::float32

Definition at line 18 of file VectorOfData_common.h.

◆ PointCloudInterestPointXYZ

◆ PointCloudNormal

Definition at line 254 of file PointCloud.h.

◆ PointCloudXY

Definition at line 252 of file PointCloud.h.

◆ PointCloudXYZ

Definition at line 253 of file PointCloud.h.

◆ PointCloudXYZI

Definition at line 256 of file PointCloud.h.

◆ PointCloudXYZNormal

Definition at line 258 of file PointCloud.h.

◆ PointCloudXYZNormalRGBA

Definition at line 259 of file PointCloud.h.

◆ PointCloudXYZRGBA

Definition at line 255 of file PointCloud.h.

◆ Range

typedef float yarp::sig::Range

Definition at line 414 of file PointCloudTypes.h.

◆ size32

Definition at line 17 of file Vec2DData_common.h.

◆ size_t

Definition at line 17 of file AudioPlayerStatus_common.h.

◆ VectorOf

template<typename T >
using yarp::sig::VectorOf = typedef typename vector_selector<T>::type

Definition at line 174 of file Vector.h.

Enumeration Type Documentation

◆ CameraDistortionType

Enumerator
YARP_DISTORTION_NONE 
YARP_PLUMB_BOB 
YARP_FISH_EYE 
YARP_UNSUPPORTED 

Definition at line 21 of file CameraDistortionType.h.

◆ PointCloudBasicType

enum yarp::sig::PointCloudBasicType : std::int32_t

The PointCloudBasicTypes enum.

Enumerator
PC_XY_DATA 
PC_XYZ_DATA 
PC_RGBA_DATA 
PC_INTENSITY_DATA 
PC_INTEREST_DATA 
PC_NORMAL_DATA 
PC_CURVATURE_DATA 
PC_RANGE_DATA 
PC_VIEWPOINT_DATA 
PC_MOMENT_INV_DATA 
PC_RADII_RSD_DATA 
PC_BOUNDARY_DATA 
PC_PRINCIPAL_CURVATURE_DATA 
PC_PFH_SIGNAT_125_DATA 
PC_FPFH_SIGNAT_33_DATA 
PC_VFH_SIGNAT_308_DATA 
PC_NARF_36_DATA 
PC_BORDER_DATA 
PC_INTENSITY_GRAD_DATA 
PC_HISTOGRAM_DATA 
PC_SCALE_DATA 
PC_CONFIDENCE_DATA 
PC_RADIUS_DATA 
PC_USER_DEFINED 
PC_PADDING2 
PC_PADDING3 

Definition at line 30 of file PointCloudTypes.h.

◆ PointCloudBorderTrait

enum yarp::sig::PointCloudBorderTrait : std::int32_t
Enumerator
BORDER_TRAIT__OBSTACLE_BORDER 
BORDER_TRAIT__SHADOW_BORDER 
BORDER_TRAIT__VEIL_POINT 
BORDER_TRAIT__SHADOW_BORDER_TOP 
BORDER_TRAIT__SHADOW_BORDER_RIGHT 
BORDER_TRAIT__SHADOW_BORDER_BOTTOM 
BORDER_TRAIT__SHADOW_BORDER_LEFT 
BORDER_TRAIT__OBSTACLE_BORDER_TOP 
BORDER_TRAIT__OBSTACLE_BORDER_RIGHT 
BORDER_TRAIT__OBSTACLE_BORDER_BOTTOM 
BORDER_TRAIT__OBSTACLE_BORDER_LEFT 
BORDER_TRAIT__VEIL_POINT_TOP 
BORDER_TRAIT__VEIL_POINT_RIGHT 
BORDER_TRAIT__VEIL_POINT_BOTTOM 
BORDER_TRAIT__VEIL_POINT_LEFT 

Definition at line 90 of file PointCloudTypes.h.

◆ PointCloudCompositeType

The PointCloudCompositeType enum.

Enumerator
PCL_POINT2D_XY 
PCL_POINT_XYZ 
PCL_POINT_XYZ_RGBA 
PCL_POINT_XYZ_I 
PCL_INTEREST_POINT_XYZ 
PCL_NORMAL 
PCL_POINT_XYZ_NORMAL 
PCL_POINT_XYZ_NORMAL_RGBA 
PCL_POINT_XYZ_I_NORMAL 
PCL_POINT_XYZ_RANGE 
PCL_POINT_XYZ_VIEWPOINT 
PCL_MOMENT_INVARIANTS 
PCL_PRINCIPAL_RADII_RSD 
PCL_BOUNDARY 
PCL_PRINCIPAL_CURVATURES 
PCL_PFH_SIGNAT_125 
PCL_FPFH_SIGNAT_33 
PCL_VFH_SIGNAT_308 
PCL_NARF_36 
PCL_POINT2D_BORDER 
PCL_INTENSITY_GRADIENT 
PCL_PC_HISTOGRAM_N 
PCL_POINT_XYZ_SCALE 
PCL_POINT_XYZ_SURFEL 

Definition at line 61 of file PointCloudTypes.h.

Function Documentation

◆ PAD_BYTES()

size_t yarp::sig::PAD_BYTES ( size_t  len,
size_t  pad 
)
inline

computes the padding of YARP images.

Parameters
lenis the row length in bytes
padis the desired padding (e.g. 8 bytes)
Returns
the number of extra bytes to add at the end of the image row

Definition at line 30 of file Image.h.

◆ removeCols()

bool yarp::sig::removeCols ( const Matrix &  in,
Matrix &  out,
size_t  first_col,
size_t  how_many 
)

Definition at line 47 of file Matrix.cpp.

◆ removeRows()

bool yarp::sig::removeRows ( const Matrix &  in,
Matrix &  out,
size_t  first_row,
size_t  how_many 
)

Definition at line 68 of file Matrix.cpp.

◆ submatrix()

bool yarp::sig::submatrix ( const Matrix &  in,
Matrix &  out,
size_t  r1,
size_t  r2,
size_t  c1,
size_t  c2 
)

Definition at line 89 of file Matrix.cpp.