![]() |
Orfeo Toolbox
3.16
|
Iterates on the graph vertices. More...
#include <otbRCC8VertexIterator.h>
Public Types | |
| typedef GraphType::Pointer | GraphPointerType |
| typedef TGraph | GraphType |
| typedef boost::property_map < InternalGraphType, boost::vertex_index_t >::type | IndexMapType |
| typedef GraphType::InternalGraphType | InternalGraphType |
| typedef boost::graph_traits < InternalGraphType > ::vertex_iterator | InternalIteratorType |
| typedef RCC8VertexIterator | Self |
| typedef GraphType::VertexDescriptorType | VertexDescriptorType |
| typedef GraphType::VertexPointerType | VertexPointerType |
Public Member Functions | |
| RCC8VertexIterator () | |
| RCC8VertexIterator (const Self &iter) | |
| RCC8VertexIterator (TGraph *graph) | |
| VertexPointerType | Get (void) |
| VertexDescriptorType | GetIndex (void) |
| void | GoToBegin (void) |
| bool | IsAtEnd (void) |
| bool | operator!= (const Self &it) |
| Self & | operator+ (int i) |
| Self & | operator++ () |
| Self & | operator- (int i) |
| Self & | operator-- () |
| Self & | operator= (const Self &it) |
| bool | operator== (const Self &it) |
| void | Set (VertexPointerType vertex) |
Private Attributes | |
| InternalIteratorType | m_End |
| GraphPointerType | m_Graph |
| InternalIteratorType | m_Iter |
Iterates on the graph vertices.
Definition at line 30 of file otbRCC8VertexIterator.h.
| typedef GraphType::Pointer otb::RCC8VertexIterator< TGraph >::GraphPointerType |
Definition at line 39 of file otbRCC8VertexIterator.h.
| typedef TGraph otb::RCC8VertexIterator< TGraph >::GraphType |
Graph typedef
Definition at line 37 of file otbRCC8VertexIterator.h.
| typedef boost::property_map<InternalGraphType, boost::vertex_index_t>::type otb::RCC8VertexIterator< TGraph >::IndexMapType |
Typedef of the index map
Definition at line 45 of file otbRCC8VertexIterator.h.
| typedef GraphType::InternalGraphType otb::RCC8VertexIterator< TGraph >::InternalGraphType |
Definition at line 38 of file otbRCC8VertexIterator.h.
| typedef boost::graph_traits<InternalGraphType>::vertex_iterator otb::RCC8VertexIterator< TGraph >::InternalIteratorType |
typedef of the internal iterator
Definition at line 43 of file otbRCC8VertexIterator.h.
| typedef RCC8VertexIterator otb::RCC8VertexIterator< TGraph >::Self |
self typedef
Definition at line 34 of file otbRCC8VertexIterator.h.
| typedef GraphType::VertexDescriptorType otb::RCC8VertexIterator< TGraph >::VertexDescriptorType |
Definition at line 41 of file otbRCC8VertexIterator.h.
| typedef GraphType::VertexPointerType otb::RCC8VertexIterator< TGraph >::VertexPointerType |
Definition at line 40 of file otbRCC8VertexIterator.h.
| otb::RCC8VertexIterator< TGraph >::RCC8VertexIterator | ( | ) |
Constructor
Definition at line 30 of file otbRCC8VertexIterator.txx.
| otb::RCC8VertexIterator< TGraph >::RCC8VertexIterator | ( | const Self & | iter | ) |
Copy constructor
Copy operator.
Definition at line 40 of file otbRCC8VertexIterator.txx.
References otb::RCC8VertexIterator< TGraph >::m_End, otb::RCC8VertexIterator< TGraph >::m_Graph, and otb::RCC8VertexIterator< TGraph >::m_Iter.
| otb::RCC8VertexIterator< TGraph >::RCC8VertexIterator | ( | TGraph * | graph | ) |
Constructor with input graph
*Constructor with input graph
Definition at line 51 of file otbRCC8VertexIterator.txx.
| RCC8VertexIterator< TGraph >::VertexPointerType otb::RCC8VertexIterator< TGraph >::Get | ( | void | ) |
Get the current vertex.
Get the current object.
Definition at line 64 of file otbRCC8VertexIterator.txx.
Referenced by otb::PolygonListToRCC8GraphFilter< TPolygonList, TOutputGraph >::ThreadedGenerateData().
| RCC8VertexIterator< TGraph >::VertexDescriptorType otb::RCC8VertexIterator< TGraph >::GetIndex | ( | void | ) |
Get the current vertex index.
Definition at line 87 of file otbRCC8VertexIterator.txx.
Referenced by otb::PolygonListToRCC8GraphFilter< TPolygonList, TOutputGraph >::ThreadedGenerateData().
| void otb::RCC8VertexIterator< TGraph >::GoToBegin | ( | void | ) |
Go to the beginning.
Definition at line 109 of file otbRCC8VertexIterator.txx.
Referenced by otb::PolygonListToRCC8GraphFilter< TPolygonList, TOutputGraph >::ThreadedGenerateData().
| bool otb::RCC8VertexIterator< TGraph >::IsAtEnd | ( | void | ) |
Return true if the iterator is at the end.
Definition at line 99 of file otbRCC8VertexIterator.txx.
Referenced by otb::PolygonListToRCC8GraphFilter< TPolygonList, TOutputGraph >::ThreadedGenerateData().
| bool otb::RCC8VertexIterator< TGraph >::operator!= | ( | const Self & | iter | ) |
Difference comparison operator.
Definition at line 167 of file otbRCC8VertexIterator.txx.
References otb::RCC8VertexIterator< TGraph >::m_Iter.
| RCC8VertexIterator< TGraph >::Self & otb::RCC8VertexIterator< TGraph >::operator+ | ( | int | i | ) |
Add
Definition at line 144 of file otbRCC8VertexIterator.txx.
| RCC8VertexIterator< TGraph >::Self & otb::RCC8VertexIterator< TGraph >::operator++ | ( | ) |
Increment.
Definition at line 120 of file otbRCC8VertexIterator.txx.
| RCC8VertexIterator< TGraph >::Self & otb::RCC8VertexIterator< TGraph >::operator- | ( | int | i | ) |
Remove
Definition at line 156 of file otbRCC8VertexIterator.txx.
| RCC8VertexIterator< TGraph >::Self & otb::RCC8VertexIterator< TGraph >::operator-- | ( | ) |
Decrement.
Definition at line 132 of file otbRCC8VertexIterator.txx.
| RCC8VertexIterator< TGraph >::Self & otb::RCC8VertexIterator< TGraph >::operator= | ( | const Self & | iter | ) |
Instantiation operator.
Definition at line 188 of file otbRCC8VertexIterator.txx.
References otb::RCC8VertexIterator< TGraph >::m_Iter.
| bool otb::RCC8VertexIterator< TGraph >::operator== | ( | const Self & | iter | ) |
Equality comparison operator.
Definition at line 177 of file otbRCC8VertexIterator.txx.
References otb::RCC8VertexIterator< TGraph >::m_Iter.
| void otb::RCC8VertexIterator< TGraph >::Set | ( | VertexPointerType | vertex | ) |
Set the current vertex.
| vertex | The vertex to set. |
Definition at line 75 of file otbRCC8VertexIterator.txx.
|
private |
Definition at line 107 of file otbRCC8VertexIterator.h.
Referenced by otb::RCC8VertexIterator< TGraph >::RCC8VertexIterator().
|
private |
Definition at line 111 of file otbRCC8VertexIterator.h.
Referenced by otb::RCC8VertexIterator< TGraph >::RCC8VertexIterator().
|
private |