libpointmatcher  1.3.1
Public Member Functions | Public Attributes | List of all members
PointMatcherIO< T >::PLYElement Class Reference

Interface for all PLY elements. More...

#include <IO.h>

Inheritance diagram for PointMatcherIO< T >::PLYElement:
PointMatcherIO< T >::PLYVertex

Public Member Functions

 PLYElement (const std::string &name, const unsigned num, const unsigned offset)
 PLY Element constructor. More...
 
bool operator== (const PLYElement &other) const
 comparison operator for elements
 

Public Attributes

std::string name
 name identifying the PLY element
 
unsigned num
 number of occurences of the element
 
unsigned total_props
 total number of properties in PLY element
 
unsigned offset
 line at which data starts
 
PLYProperties properties
 all properties found in the header
 
unsigned nbFeatures
 number of valid features found in the header
 
unsigned nbDescriptors
 number of valid descriptors found in the header
 

Detailed Description

template<typename T>
class PointMatcherIO< T >::PLYElement

Interface for all PLY elements.

Constructor & Destructor Documentation

◆ PLYElement()

template<typename T>
PointMatcherIO< T >::PLYElement::PLYElement ( const std::string &  name,
const unsigned  num,
const unsigned  offset 
)
inline

PLY Element constructor.

Parameters
namename of the ply element (case-sensitive)
numnumber of times the element appears in the file
offsetif there are several elements, the line offset at which this element begins. Note that, as of writing, only one (vertex) element is supported.

This object holds information about a PLY element contained in the file. It is filled out when reading the header and used when parsing the data.


The documentation for this class was generated from the following files: