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>
Public Types | |
typedef boost::totally_ordered < pcl::geometry::EdgeIndex, boost::unit_steppable < pcl::geometry::EdgeIndex, boost::additive < pcl::geometry::EdgeIndex > > > | Base |
typedef pcl::geometry::EdgeIndex | Self |
Public Member Functions | |
EdgeIndex () | |
Constructor. Initializes with an invalid index. | |
EdgeIndex (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. | |
Self & | operator++ () |
Increment operators (with boost::operators): ++ (pre and post) | |
Self & | operator+= (const Self &other) |
Addition operators (with boost::operators): + +=. | |
Self & | operator-- () |
Decrement operators (with boost::operators): \-\- (pre and post) | |
Self & | operator-= (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::EdgeIndex &index) |
istream operator. |
Index used to access elements in the half-edge mesh. It is basically just a wrapper around an integer with a few added methods.
Definition at line 340 of file mesh_indices.h.
typedef boost::totally_ordered<pcl::geometry::EdgeIndex, boost::unit_steppable <pcl::geometry::EdgeIndex, boost::additive <pcl::geometry::EdgeIndex> > > pcl::geometry::EdgeIndex::Base |
Definition at line 350 of file mesh_indices.h.
Definition at line 351 of file mesh_indices.h.
pcl::geometry::EdgeIndex::EdgeIndex | ( | ) | [inline] |
Constructor. Initializes with an invalid index.
Definition at line 354 of file mesh_indices.h.
pcl::geometry::EdgeIndex::EdgeIndex | ( | const int | index | ) | [inline, explicit] |
int pcl::geometry::EdgeIndex::get | ( | ) | const [inline] |
Get the index.
Definition at line 383 of file mesh_indices.h.
void pcl::geometry::EdgeIndex::invalidate | ( | ) | [inline] |
Invalidate the index.
Definition at line 376 of file mesh_indices.h.
bool pcl::geometry::EdgeIndex::isValid | ( | ) | const [inline] |
Returns true if the index is valid.
Definition at line 369 of file mesh_indices.h.
Self& pcl::geometry::EdgeIndex::operator++ | ( | ) | [inline] |
Increment operators (with boost::operators): ++ (pre and post)
Definition at line 411 of file mesh_indices.h.
Addition operators (with boost::operators): + +=.
Definition at line 427 of file mesh_indices.h.
Self& pcl::geometry::EdgeIndex::operator-- | ( | ) | [inline] |
Decrement operators (with boost::operators): \-\- (pre and post)
Definition at line 419 of file mesh_indices.h.
Subtraction operators (with boost::operators): - -=.
Definition at line 435 of file mesh_indices.h.
bool pcl::geometry::EdgeIndex::operator< | ( | const Self & | other | ) | const [inline] |
Comparison operators (with boost::operators): < > <= >=.
Definition at line 397 of file mesh_indices.h.
bool pcl::geometry::EdgeIndex::operator== | ( | const Self & | other | ) | const [inline] |
Comparison operators (with boost::operators): == !=.
Definition at line 404 of file mesh_indices.h.
void pcl::geometry::EdgeIndex::set | ( | const int | index | ) | [inline] |
Set the index.
Definition at line 390 of file mesh_indices.h.
std::istream& operator>> | ( | std::istream & | is, |
pcl::geometry::EdgeIndex & | index | ||
) | [friend] |
istream operator.
Definition at line 459 of file mesh_indices.h.
int pcl::geometry::EdgeIndex::index_ [private] |
Stored index.
Definition at line 444 of file mesh_indices.h.