#include <vtol_extract_topology.h>
The links correspond to edges between the vertices. Each vertex is located at the corner of the pixel.
Definition at line 131 of file vtol_extract_topology.h.
Public Member Functions | |
| vtol_extract_topology_vertex_node (unsigned i, unsigned j) | |
| Create a node for vertex at (i,j). | |
Static Public Member Functions | |
| static const unsigned null_index | VCL_STATIC_CONST_INIT_INT_DECL (unsigned(-2)) |
| Null index value. | |
| static const unsigned done_index | VCL_STATIC_CONST_INIT_INT_DECL (unsigned(-1)) |
| "Processed" index value. | |
Public Attributes | |
| unsigned | i |
| Location. | |
| unsigned | j |
| vtol_vertex_2d_sptr | vertex |
| vtol vertex in pixel coordinates. | |
| unsigned | link [4] |
| Neighbouring vertices in the graph. | |
| unsigned | back_dir [4] |
| Direction in which we exit the neighbouring node to get back to this node. | |
| vbl_smart_ptr< vtol_extract_topology_edgel_chain > | edgel_chain [4] |
| Edgel chains leading to neighbouring vertices. | |
| vtol_extract_topology_vertex_node::vtol_extract_topology_vertex_node | ( | unsigned | i, | |
| unsigned | j | |||
| ) |
| static const unsigned null_index vtol_extract_topology_vertex_node::VCL_STATIC_CONST_INIT_INT_DECL | ( | unsigned(-2) | ) | [static] |
Null index value.
A vertex with an index value >= this value does not correspond to a node in the graph.
| static const unsigned done_index vtol_extract_topology_vertex_node::VCL_STATIC_CONST_INIT_INT_DECL | ( | unsigned(-1) | ) | [static] |
"Processed" index value.
This is used to indicate that the boundary edge following went through a vertex.
| unsigned vtol_extract_topology_vertex_node::i |
| unsigned vtol_extract_topology_vertex_node::j |
Definition at line 137 of file vtol_extract_topology.h.
| unsigned vtol_extract_topology_vertex_node::link[4] |
| unsigned vtol_extract_topology_vertex_node::back_dir[4] |
Direction in which we exit the neighbouring node to get back to this node.
That is, (this->link)[n].link[ this->back_dir[n] ] == indexof(this).
Definition at line 149 of file vtol_extract_topology.h.
| vbl_smart_ptr< vtol_extract_topology_edgel_chain > vtol_extract_topology_vertex_node::edgel_chain[4] |
Edgel chains leading to neighbouring vertices.
Definition at line 152 of file vtol_extract_topology.h.
1.5.1