Public Member Functions | Public Attributes
PointMatcherIO< T >::PLYElement Class Reference

Interface for all PLY elements. More...

#include <IO.h>

Inheritance diagram for PointMatcherIO< T >::PLYElement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addProperty (PLYProperty &prop)
 add a property to vector of properties
bool operator== (const PLYElement &other) const
 comparison operator for elements
 PLYElement (const std::string &name, const unsigned num, const unsigned offset)
 PLY Element constructor.
bool supportsProperty (const PLYProperty &prop) const
 Returns true if property pro is supported by element.

Public Attributes

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

Detailed Description

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

Interface for all PLY elements.

Definition at line 257 of file IO.h.


Constructor & Destructor Documentation

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.

Definition at line 278 of file IO.h.


Member Function Documentation

template<typename T >
void PointMatcherIO< T >::PLYElement::addProperty ( PLYProperty prop)

add a property to vector of properties

Definition at line 1714 of file pointmatcher/IO.cpp.

template<typename T >
bool PointMatcherIO< T >::PLYElement::operator== ( const PLYElement other) const

comparison operator for elements

Definition at line 1777 of file pointmatcher/IO.cpp.

template<typename T >
bool PointMatcherIO< T >::PLYElement::supportsProperty ( const PLYProperty prop) const

Returns true if property pro is supported by element.

Definition at line 1731 of file pointmatcher/IO.cpp.


Member Data Documentation

template<typename T>
std::string PointMatcherIO< T >::PLYElement::name

name identifying the PLY element

Definition at line 260 of file IO.h.

template<typename T>
unsigned PointMatcherIO< T >::PLYElement::nbDescriptors

number of valid descriptors found in the header

Definition at line 266 of file IO.h.

template<typename T>
unsigned PointMatcherIO< T >::PLYElement::nbFeatures

number of valid features found in the header

Definition at line 265 of file IO.h.

template<typename T>
unsigned PointMatcherIO< T >::PLYElement::num

number of occurences of the element

Definition at line 261 of file IO.h.

template<typename T>
unsigned PointMatcherIO< T >::PLYElement::offset

line at which data starts

Definition at line 263 of file IO.h.

all properties found in the header

Definition at line 264 of file IO.h.

template<typename T>
unsigned PointMatcherIO< T >::PLYElement::total_props

total number of properties in PLY element

Definition at line 262 of file IO.h.


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


libpointmatcher
Author(s):
autogenerated on Mon Sep 14 2015 02:59:07