Point Cloud Library (PCL)
1.14.1-dev
|
#include <pcl/geometry/mesh_indices.h>
Public Types | |
using | Base = boost::totally_ordered< MeshIndex< IndexTagT >, boost::unit_steppable< MeshIndex< IndexTagT >, boost::additive< MeshIndex< IndexTagT > >> > |
using | Self = MeshIndex< IndexTagT > |
Public Member Functions | |
MeshIndex () | |
Constructor. More... | |
MeshIndex (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, MeshIndex< IndexTagT > &index) |
istream operator. More... | |
Definition at line 62 of file mesh_indices.h.
using pcl::detail::MeshIndex< IndexTagT >::Base = boost::totally_ordered< MeshIndex<IndexTagT>, boost::unit_steppable<MeshIndex<IndexTagT>, boost::additive<MeshIndex<IndexTagT> >> > |
Definition at line 71 of file mesh_indices.h.
using pcl::detail::MeshIndex< IndexTagT >::Self = MeshIndex<IndexTagT> |
Definition at line 75 of file mesh_indices.h.
|
inline |
|
inlineexplicit |
|
inline |
Get the index.
Definition at line 101 of file mesh_indices.h.
Referenced by pcl::geometry::getBoundBoundaryHalfEdges(), pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::getFace(), pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::getHalfEdge(), pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::getOppositeHalfEdgeIndex(), pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::getVertex(), pcl::detail::MeshIndex< IndexTagT >::operator+=(), pcl::detail::MeshIndex< IndexTagT >::operator-=(), pcl::detail::MeshIndex< IndexTagT >::operator<(), pcl::detail::operator<<(), pcl::detail::MeshIndex< IndexTagT >::operator==(), pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::setFace(), pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::setHalfEdge(), pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::setVertex(), pcl::geometry::toEdgeIndex(), and pcl::geometry::toHalfEdgeIndex().
|
inline |
Invalidate the index.
Definition at line 94 of file mesh_indices.h.
Referenced by pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::deleteFace(), and pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::markDeleted().
|
inline |
Returns true if the index is valid.
Definition at line 87 of file mesh_indices.h.
Referenced by pcl::geometry::MeshBase< DerivedT, MeshTraitsT, MeshTagT >::deleteVertex(), pcl::geometry::toEdgeIndex(), and pcl::geometry::toHalfEdgeIndex().
|
inline |
Increment operators (with boost::operators): ++ (pre and post)
Definition at line 129 of file mesh_indices.h.
|
inline |
Addition operators (with boost::operators): + +=.
Definition at line 145 of file mesh_indices.h.
References pcl::detail::MeshIndex< IndexTagT >::get().
|
inline |
Decrement operators (with boost::operators): -- (pre and post)
Definition at line 137 of file mesh_indices.h.
|
inline |
Subtraction operators (with boost::operators): - -=.
Definition at line 153 of file mesh_indices.h.
References pcl::detail::MeshIndex< IndexTagT >::get().
|
inline |
Comparison operators (with boost::operators): < > <= >=.
Definition at line 114 of file mesh_indices.h.
References pcl::detail::MeshIndex< IndexTagT >::get().
|
inline |
Comparison operators (with boost::operators): == !=.
Definition at line 122 of file mesh_indices.h.
References pcl::detail::MeshIndex< IndexTagT >::get().
|
inline |
Set the index.
Definition at line 108 of file mesh_indices.h.
|
friend |
istream operator.
Definition at line 178 of file mesh_indices.h.