Point Cloud Library (PCL)
1.11.1-dev
|
Index used to access elements in the half-edge mesh. More...
#include <pcl/geometry/mesh_indices.h>
Public Types | |
using | Base = boost::totally_ordered< pcl::geometry::FaceIndex, boost::unit_steppable< pcl::geometry::FaceIndex, boost::additive< pcl::geometry::FaceIndex > >> |
using | Self = pcl::geometry::FaceIndex |
Public Member Functions | |
FaceIndex () | |
Constructor. More... | |
FaceIndex (const int index) | |
Constructor. More... | |
bool | isValid () const |
Returns true if the index is valid. More... | |
void | invalidate () |
Invalidate the index. More... | |
int | get () const |
Get the index. More... | |
void | set (const int index) |
Set the index. More... | |
bool | operator< (const Self &other) const |
Comparison operators (with boost::operators): < > <= >=. More... | |
bool | operator== (const Self &other) const |
Comparison operators (with boost::operators): == !=. More... | |
Self & | operator++ () |
Increment operators (with boost::operators): ++ (pre and post) More... | |
Self & | operator-- () |
Decrement operators (with boost::operators): -- (pre and post) More... | |
Self & | operator+= (const Self &other) |
Addition operators (with boost::operators): + +=. More... | |
Self & | operator-= (const Self &other) |
Subtraction operators (with boost::operators): - -=. More... | |
Friends | |
std::istream & | operator>> (std::istream &is, pcl::geometry::FaceIndex &index) |
istream operator. More... | |
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 460 of file mesh_indices.h.
using pcl::geometry::FaceIndex::Base = boost::totally_ordered< pcl::geometry::FaceIndex, boost::unit_steppable<pcl::geometry::FaceIndex, boost::additive<pcl::geometry::FaceIndex> >> |
Definition at line 472 of file mesh_indices.h.
Definition at line 473 of file mesh_indices.h.
|
inline |
|
inlineexplicit |
|
inline |
Get the index.
Definition at line 499 of file mesh_indices.h.
Referenced by pcl::geometry::MeshBase< QuadMesh< MeshTraitsT >, MeshTraitsT, QuadMeshTag >::getFace(), operator+=(), operator-=(), operator<(), pcl::geometry::operator<<(), operator==(), and pcl::geometry::MeshBase< QuadMesh< MeshTraitsT >, MeshTraitsT, QuadMeshTag >::setFace().
|
inline |
Invalidate the index.
Definition at line 492 of file mesh_indices.h.
Referenced by pcl::geometry::MeshBase< QuadMesh< MeshTraitsT >, MeshTraitsT, QuadMeshTag >::deleteFace().
|
inline |
Returns true if the index is valid.
Definition at line 485 of file mesh_indices.h.
Referenced by pcl::geometry::MeshBase< QuadMesh< MeshTraitsT >, MeshTraitsT, QuadMeshTag >::deleteVertex().
|
inline |
Increment operators (with boost::operators): ++ (pre and post)
Definition at line 527 of file mesh_indices.h.
Addition operators (with boost::operators): + +=.
Definition at line 543 of file mesh_indices.h.
References get().
|
inline |
Decrement operators (with boost::operators): -- (pre and post)
Definition at line 535 of file mesh_indices.h.
Subtraction operators (with boost::operators): - -=.
Definition at line 551 of file mesh_indices.h.
References get().
|
inline |
Comparison operators (with boost::operators): < > <= >=.
Definition at line 513 of file mesh_indices.h.
References get().
|
inline |
Comparison operators (with boost::operators): == !=.
Definition at line 520 of file mesh_indices.h.
References get().
|
inline |
Set the index.
Definition at line 506 of file mesh_indices.h.
|
friend |
istream operator.
Definition at line 574 of file mesh_indices.h.