vtol_extract_topology_region_type Class Reference

#include <vtol_extract_topology.h>

Inheritance diagram for vtol_extract_topology_region_type:

vbl_ref_count List of all members.

Detailed Description

Stores the boundary of a region.

This stores the one chain corresponding to a complete region boundary. It also stores a point completely inside that region. This point is used to perform containment checks between regions.

See also:
contains

Definition at line 95 of file vtol_extract_topology.h.


Public Types

typedef vbl_smart_ptr< vtol_extract_topology_edgel_chainedgel_chain_sptr

Public Member Functions

void push_back (edgel_chain_sptr chain)
 Add an edge to this region.
unsigned size () const
 The number of edges in the boundary.
vdgl_edgel_chain_sptr const & operator[] (unsigned i) const
 Extract segment i of the boundary one chain.
vtol_one_chain_sptr make_one_chain () const
 Create a vtol_one_chain describing the boundary.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Public Attributes

unsigned i
 Location of a pixel inside the region.
unsigned j

Private Attributes

vcl_vector< edgel_chain_sptrlist_
 The list of bounday edges (which are edgel chains).

Member Typedef Documentation

typedef vbl_smart_ptr< vtol_extract_topology_edgel_chain > vtol_extract_topology_region_type::edgel_chain_sptr

Definition at line 99 of file vtol_extract_topology.h.


Member Function Documentation

void vtol_extract_topology_region_type::push_back ( edgel_chain_sptr  chain  ) 

Add an edge to this region.

Definition at line 62 of file vtol_extract_topology.cxx.

unsigned vtol_extract_topology_region_type::size (  )  const

The number of edges in the boundary.

Definition at line 73 of file vtol_extract_topology.cxx.

vdgl_edgel_chain_sptr const & vtol_extract_topology_region_type::operator[] ( unsigned  i  )  const

Extract segment i of the boundary one chain.

Definition at line 84 of file vtol_extract_topology.cxx.

vtol_one_chain_sptr vtol_extract_topology_region_type::make_one_chain (  )  const

Create a vtol_one_chain describing the boundary.

Definition at line 95 of file vtol_extract_topology.cxx.


Member Data Documentation

unsigned vtol_extract_topology_region_type::i

Location of a pixel inside the region.

Definition at line 118 of file vtol_extract_topology.h.

unsigned vtol_extract_topology_region_type::j

Definition at line 118 of file vtol_extract_topology.h.

vcl_vector< edgel_chain_sptr > vtol_extract_topology_region_type::list_ [private]

The list of bounday edges (which are edgel chains).

Definition at line 123 of file vtol_extract_topology.h.


The documentation for this class was generated from the following files:
Generated on Mon Mar 8 05:21:43 2010 for contrib/gel/vtol by  doxygen 1.5.1