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  CircularAudioBuffer
 
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  FlexImage
 Image class with user control of representation details. More...
 
class  Image
 Base class for storing images. 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  LaserMeasurementData
 \LaserMeasurementData More...
 
class  LaserScan2D
 
class  Matrix
 A class for a Matrix. More...
 
class  PointCloud
 The PointCloud class. More...
 
class  PointCloudBase
 The PointCloudBase class. More...
 
class  PointCloudNetworkHeader
 The yarp::sig::PointCloudNetworkHeader class. More...
 
class  Sound
 Class for storing sounds See Audio in YARP for additional documentation on YARP audio. More...
 
class  VectorBase
 A Base class for a VectorOf<T>, provide default implementation for read/write methods. More...
 
class  VectorOf
 Provides: More...
 

Typedefs

typedef size_t size_t
 
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
 
typedef VectorOf< double > Vector
 

Enumerations

enum class  YarpDistortion : std::int32_t {
  YARP_DISTORTION_NONE ,
  YARP_PLUMB_BOB ,
  YARP_FISH_EYE ,
  YARP_UNSUPPORTED ,
  YARP_DISTORTION_COUNT ,
  YARP_PLUM_BOB = YARP_PLUMB_BOB
}
 The YarpDistortion enum to define the type of the distortion model of the camera. More...
 
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

◆ PointCloudInterestPointXYZ

◆ PointCloudNormal

Definition at line 448 of file PointCloud.h.

◆ PointCloudXY

Definition at line 446 of file PointCloud.h.

◆ PointCloudXYZ

Definition at line 447 of file PointCloud.h.

◆ PointCloudXYZI

Definition at line 450 of file PointCloud.h.

◆ PointCloudXYZNormal

Definition at line 452 of file PointCloud.h.

◆ PointCloudXYZNormalRGBA

Definition at line 453 of file PointCloud.h.

◆ PointCloudXYZRGBA

Definition at line 449 of file PointCloud.h.

◆ Range

typedef float yarp::sig::Range

Definition at line 414 of file PointCloudTypes.h.

◆ size_t

Definition at line 17 of file AudioPlayerStatus_common.h.

◆ Vector

typedef VectorOf<double> yarp::sig::Vector

Definition at line 36 of file Vector.h.

Enumeration Type Documentation

◆ 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.

◆ YarpDistortion

enum class yarp::sig::YarpDistortion : std::int32_t
strong

The YarpDistortion enum to define the type of the distortion model of the camera.

In geometric optics, distortion is a deviation from rectilinear projection; a projection in which straight lines in a scene remain straight in an image. Although distortion can be irregular or follow many patterns, the most commonly encountered distortions are radially symmetric. These can be represent by models that allow us to undistort the images knowing the parameters of the distortion (k1, k2, t1, t2, k3).

Enumerator
YARP_DISTORTION_NONE 

Rectilinear images.

No distortion compensation required.

YARP_PLUMB_BOB 

Plumb bob distortion model.

YARP_FISH_EYE 

Fish eye distortion model.

YARP_UNSUPPORTED 

Unsupported distortion model.

YARP_DISTORTION_COUNT 

Number of enumeration values.

Not a valid input: intended to be used in for-loops.

YARP_PLUM_BOB 

Deprecated name for plumb bob distortion model.

Definition at line 26 of file IntrinsicParams.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.