Public Types | Public Member Functions | Private Attributes | Friends
pcl::geometry::FaceIndex Class Reference

Index used to access elements in the half-edge mesh. It is basically just a wrapper around an integer with a few added methods. More...

#include <mesh_indices.h>

List of all members.

Public Types

typedef boost::totally_ordered
< pcl::geometry::FaceIndex,
boost::unit_steppable
< pcl::geometry::FaceIndex,
boost::additive
< pcl::geometry::FaceIndex > > > 
Base
typedef pcl::geometry::FaceIndex Self

Public Member Functions

 FaceIndex ()
 Constructor. Initializes with an invalid index.
 FaceIndex (const int index)
 Constructor.
int get () const
 Get the index.
void invalidate ()
 Invalidate the index.
bool isValid () const
 Returns true if the index is valid.
Selfoperator++ ()
 Increment operators (with boost::operators): ++ (pre and post)
Selfoperator+= (const Self &other)
 Addition operators (with boost::operators): + +=.
Selfoperator-- ()
 Decrement operators (with boost::operators): \-\- (pre and post)
Selfoperator-= (const Self &other)
 Subtraction operators (with boost::operators): - -=.
bool operator< (const Self &other) const
 Comparison operators (with boost::operators): < > <= >=.
bool operator== (const Self &other) const
 Comparison operators (with boost::operators): == !=.
void set (const int index)
 Set the index.

Private Attributes

int index_
 Stored index.

Friends

std::istream & operator>> (std::istream &is, pcl::geometry::FaceIndex &index)
 istream operator.

Detailed Description

Index used to access elements in the half-edge mesh. It is basically just a wrapper around an integer with a few added methods.

Author:
Martin Saelzle

Definition at line 479 of file mesh_indices.h.


Member Typedef Documentation

typedef boost::totally_ordered<pcl::geometry::FaceIndex, boost::unit_steppable <pcl::geometry::FaceIndex, boost::additive <pcl::geometry::FaceIndex> > > pcl::geometry::FaceIndex::Base

Definition at line 489 of file mesh_indices.h.

Definition at line 490 of file mesh_indices.h.


Constructor & Destructor Documentation

Constructor. Initializes with an invalid index.

Definition at line 493 of file mesh_indices.h.

pcl::geometry::FaceIndex::FaceIndex ( const int  index) [inline, explicit]

Constructor.

Parameters:
[in]indexThe integer index.

Definition at line 501 of file mesh_indices.h.


Member Function Documentation

int pcl::geometry::FaceIndex::get ( ) const [inline]

Get the index.

Definition at line 522 of file mesh_indices.h.

Invalidate the index.

Definition at line 515 of file mesh_indices.h.

bool pcl::geometry::FaceIndex::isValid ( ) const [inline]

Returns true if the index is valid.

Definition at line 508 of file mesh_indices.h.

Self& pcl::geometry::FaceIndex::operator++ ( ) [inline]

Increment operators (with boost::operators): ++ (pre and post)

Definition at line 550 of file mesh_indices.h.

Self& pcl::geometry::FaceIndex::operator+= ( const Self other) [inline]

Addition operators (with boost::operators): + +=.

Definition at line 566 of file mesh_indices.h.

Self& pcl::geometry::FaceIndex::operator-- ( ) [inline]

Decrement operators (with boost::operators): \-\- (pre and post)

Definition at line 558 of file mesh_indices.h.

Self& pcl::geometry::FaceIndex::operator-= ( const Self other) [inline]

Subtraction operators (with boost::operators): - -=.

Definition at line 574 of file mesh_indices.h.

bool pcl::geometry::FaceIndex::operator< ( const Self other) const [inline]

Comparison operators (with boost::operators): < > <= >=.

Definition at line 536 of file mesh_indices.h.

bool pcl::geometry::FaceIndex::operator== ( const Self other) const [inline]

Comparison operators (with boost::operators): == !=.

Definition at line 543 of file mesh_indices.h.

void pcl::geometry::FaceIndex::set ( const int  index) [inline]

Set the index.

Definition at line 529 of file mesh_indices.h.


Friends And Related Function Documentation

std::istream& operator>> ( std::istream &  is,
pcl::geometry::FaceIndex index 
) [friend]

istream operator.

Definition at line 598 of file mesh_indices.h.


Member Data Documentation

Stored index.

Definition at line 583 of file mesh_indices.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:55