Loading...
Searching...
No Matches
person_attribs.h
#pragma once
#include <string>
#include <vector>
#include <iosfwd>
#include <pcl/memory.h>
#include <pcl/pcl_exports.h>
namespace pcl
{
namespace gpu
{
namespace people
{
class PCL_EXPORTS PersonAttribs
{
public:
using Ptr = shared_ptr<PersonAttribs>;
using ConstPtr = shared_ptr<const PersonAttribs>;
/** \brief Constructor creates generic values from **/
PersonAttribs();
/**
* \brief Read XML configuration file for a specific person
* \param[in] is input stream of file
* \return 0 when successful, -1 when an error occurred, datastructure might become corrupted in the process
**/
int
readPersonXMLConfig (std::istream& is);
/**
* \brief Write XML configuration file for a specific person
* \param[in] os output stream of file, extension determines format
**/
void
writePersonXMLConfig (std::ostream& os);
std::string name_; // Name of the person
std::vector<float> max_part_size_; // Max primary eigenvalue for each body part
std::vector<std::vector<float> > part_ideal_length_; // Ideal length between two body parts
std::vector<std::vector<float> > max_length_offset_; // Max allowed length offset between two body parts
std::vector<int> nr_of_children_; // The number of children for each part
};
}
}
}
pcl::gpu::people::PersonAttribs::max_length_offset_
std::vector< std::vector< float > > max_length_offset_
Definition person_attribs.h:43
pcl::gpu::people::PersonAttribs::writePersonXMLConfig
void writePersonXMLConfig(std::ostream &os)
Write XML configuration file for a specific person.
pcl::gpu::people::PersonAttribs::ConstPtr
shared_ptr< const PersonAttribs > ConstPtr
Definition person_attribs.h:20
pcl::gpu::people::PersonAttribs::max_part_size_
std::vector< float > max_part_size_
Definition person_attribs.h:41
pcl::gpu::people::PersonAttribs::name_
std::string name_
Definition person_attribs.h:40
pcl::gpu::people::PersonAttribs::readPersonXMLConfig
int readPersonXMLConfig(std::istream &is)
Read XML configuration file for a specific person.
pcl::gpu::people::PersonAttribs::Ptr
shared_ptr< PersonAttribs > Ptr
Definition person_attribs.h:19
pcl::gpu::people::PersonAttribs::PersonAttribs
PersonAttribs()
Constructor creates generic values from.
pcl::gpu::people::PersonAttribs::nr_of_children_
std::vector< int > nr_of_children_
Definition person_attribs.h:44
pcl::gpu::people::PersonAttribs::part_ideal_length_
std::vector< std::vector< float > > part_ideal_length_
Definition person_attribs.h:42
memory.h
Defines functions, macros and traits for allocating and using memory.
pcl::gpu::people
Definition bodyparts_detector.h:63
pcl::gpu
Definition device_array.h:45
pcl
Definition convolution.h:46