Public Member Functions | Static Public Member Functions | List of all members
pcl::tracking::ParticleCuboid Struct Reference

#include <particle_cuboid.h>

Inheritance diagram for pcl::tracking::ParticleCuboid:
Inheritance graph
[legend]

Public Member Functions

float area () const
 
double distanceNearestToPlaneWithOcclusion (const Eigen::Vector3f &v, const std::vector< int > &visible_faces, std::vector< jsk_pcl_ros::Polygon::Ptr > &faces) const
 
double distanceToPlane (const Eigen::Vector3f &v, const int plane_index) const
 
void fromEigen (const Eigen::Affine3f &pose)
 
int nearestPlaneIndex (const Eigen::Vector3f &local_v) const
 
float operator[] (unsigned int i) const
 
 ParticleCuboid ()
 
 ParticleCuboid (const ParticleCuboid &obj)
 
 ParticleCuboid (float _x, float _y, float _z, float _roll, float _pitch, float _yaw)
 
void sample (const std::vector< double > &mean, const std::vector< double > &cov)
 
double signedDistanceToPlane (const Eigen::Vector3f &v, const int plane_index) const
 
jsk_recognition_msgs::BoundingBox toBoundingBox ()
 
jsk_pcl_ros::Cube::Ptr toCube () const
 
Eigen::Affine3f toEigenMatrix () const
 
std::vector< int > visibleFaceIndices (const Eigen::Vector3f local_view_point) const
 
float volume () const
 
void zero ()
 

Static Public Member Functions

static int stateDimension ()
 
static pcl::tracking::ParticleCuboid toState (const Eigen::Affine3f &trans)
 

Additional Inherited Members

- Public Attributes inherited from pcl::tracking::_ParticleCuboid
union {
   struct {
      float   dx
 
      float   dy
 
      float   dz
 
      float   pitch
 
      float   roll
 
      float   weight
 
      float   yaw
 
   } 
 
   float   data_c [8]
 
}; 
 
 PCL_ADD_POINT4D
 
int plane_index
 

Detailed Description

Definition at line 134 of file particle_cuboid.h.

Constructor & Destructor Documentation

◆ ParticleCuboid() [1/3]

pcl::tracking::ParticleCuboid::ParticleCuboid ( const ParticleCuboid obj)
inline

Definition at line 138 of file particle_cuboid.h.

◆ ParticleCuboid() [2/3]

pcl::tracking::ParticleCuboid::ParticleCuboid ( )
inline

Definition at line 153 of file particle_cuboid.h.

◆ ParticleCuboid() [3/3]

pcl::tracking::ParticleCuboid::ParticleCuboid ( float  _x,
float  _y,
float  _z,
float  _roll,
float  _pitch,
float  _yaw 
)
inline

Definition at line 159 of file particle_cuboid.h.

Member Function Documentation

◆ area()

float pcl::tracking::ParticleCuboid::area ( ) const
inline

Definition at line 189 of file particle_cuboid.h.

◆ distanceNearestToPlaneWithOcclusion()

double pcl::tracking::ParticleCuboid::distanceNearestToPlaneWithOcclusion ( const Eigen::Vector3f v,
const std::vector< int > &  visible_faces,
std::vector< jsk_pcl_ros::Polygon::Ptr > &  faces 
) const
inline

Definition at line 270 of file particle_cuboid.h.

◆ distanceToPlane()

double pcl::tracking::ParticleCuboid::distanceToPlane ( const Eigen::Vector3f v,
const int  plane_index 
) const
inline

Definition at line 332 of file particle_cuboid.h.

◆ fromEigen()

void pcl::tracking::ParticleCuboid::fromEigen ( const Eigen::Affine3f &  pose)
inline

Definition at line 172 of file particle_cuboid.h.

◆ nearestPlaneIndex()

int pcl::tracking::ParticleCuboid::nearestPlaneIndex ( const Eigen::Vector3f local_v) const
inline

Definition at line 340 of file particle_cuboid.h.

◆ operator[]()

float pcl::tracking::ParticleCuboid::operator[] ( unsigned int  i) const
inline

Definition at line 205 of file particle_cuboid.h.

◆ sample()

void pcl::tracking::ParticleCuboid::sample ( const std::vector< double > &  mean,
const std::vector< double > &  cov 
)
inline

Definition at line 223 of file particle_cuboid.h.

◆ signedDistanceToPlane()

double pcl::tracking::ParticleCuboid::signedDistanceToPlane ( const Eigen::Vector3f v,
const int  plane_index 
) const
inline

Definition at line 290 of file particle_cuboid.h.

◆ stateDimension()

static int pcl::tracking::ParticleCuboid::stateDimension ( )
inlinestatic

Definition at line 229 of file particle_cuboid.h.

◆ toBoundingBox()

jsk_recognition_msgs::BoundingBox pcl::tracking::ParticleCuboid::toBoundingBox ( )
inline

Definition at line 234 of file particle_cuboid.h.

◆ toCube()

jsk_pcl_ros::Cube::Ptr pcl::tracking::ParticleCuboid::toCube ( ) const
inline

Definition at line 368 of file particle_cuboid.h.

◆ toEigenMatrix()

Eigen::Affine3f pcl::tracking::ParticleCuboid::toEigenMatrix ( ) const
inline

Definition at line 167 of file particle_cuboid.h.

◆ toState()

static pcl::tracking::ParticleCuboid pcl::tracking::ParticleCuboid::toState ( const Eigen::Affine3f &  trans)
inlinestatic

Definition at line 195 of file particle_cuboid.h.

◆ visibleFaceIndices()

std::vector<int> pcl::tracking::ParticleCuboid::visibleFaceIndices ( const Eigen::Vector3f  local_view_point) const
inline

Definition at line 245 of file particle_cuboid.h.

◆ volume()

float pcl::tracking::ParticleCuboid::volume ( ) const
inline

Definition at line 184 of file particle_cuboid.h.

◆ zero()

void pcl::tracking::ParticleCuboid::zero ( )
inline

Definition at line 179 of file particle_cuboid.h.


The documentation for this struct was generated from the following file:


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jan 7 2025 04:05:46