vtol_extract_topology_vertex_node Struct Reference

#include <vtol_extract_topology.h>

List of all members.


Detailed Description

A node in the graph of vertices.

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_chainedgel_chain [4]
 Edgel chains leading to neighbouring vertices.

Constructor & Destructor Documentation

vtol_extract_topology_vertex_node::vtol_extract_topology_vertex_node ( unsigned  i,
unsigned  j 
)

Create a node for vertex at (i,j).

Definition at line 37 of file vtol_extract_topology.cxx.


Member Function Documentation

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.


Member Data Documentation

unsigned vtol_extract_topology_vertex_node::i

Location.

Definition at line 137 of file vtol_extract_topology.h.

unsigned vtol_extract_topology_vertex_node::j

Definition at line 137 of file vtol_extract_topology.h.

vtol_vertex_2d_sptr vtol_extract_topology_vertex_node::vertex

vtol vertex in pixel coordinates.

Definition at line 140 of file vtol_extract_topology.h.

unsigned vtol_extract_topology_vertex_node::link[4]

Neighbouring vertices in the graph.

Definition at line 143 of file vtol_extract_topology.h.

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.


The documentation for this struct was generated from the following files:
Generated on Tue Dec 2 05:15:31 2008 for contrib/gel/vtol by  doxygen 1.5.1