Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions | Friends
pcl::geometry::HalfEdgeIndex Class Reference

Index used to access elements in the half-edge mesh. More...

#include <pcl/geometry/mesh_indices.h>

List of all members.

Public Types

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

Public Member Functions

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

Friends

std::istream & operator>> (std::istream &is, pcl::geometry::HalfEdgeIndex &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 201 of file mesh_indices.h.


Member Typedef Documentation

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

Definition at line 211 of file mesh_indices.h.

Definition at line 212 of file mesh_indices.h.


Constructor & Destructor Documentation

Constructor.

Initializes with an invalid index.

Definition at line 215 of file mesh_indices.h.

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

Constructor.

Parameters:
[in]indexThe integer index.

Definition at line 223 of file mesh_indices.h.


Member Function Documentation

int pcl::geometry::HalfEdgeIndex::get ( ) const [inline]
bool pcl::geometry::HalfEdgeIndex::isValid ( ) const [inline]

Returns true if the index is valid.

Definition at line 230 of file mesh_indices.h.

Referenced by pcl::geometry::toEdgeIndex().

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

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

Definition at line 272 of file mesh_indices.h.

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

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

Definition at line 288 of file mesh_indices.h.

References get().

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

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

Definition at line 280 of file mesh_indices.h.

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

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

Definition at line 296 of file mesh_indices.h.

References get().

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

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

Definition at line 258 of file mesh_indices.h.

References get().

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

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

Definition at line 265 of file mesh_indices.h.

References get().

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

Set the index.

Definition at line 251 of file mesh_indices.h.


Friends And Related Function Documentation

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

istream operator.

Definition at line 320 of file mesh_indices.h.


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