Public Types | Public Member Functions | Public Attributes | Private Attributes
vtol_extract_topology_region_type Class Reference

Stores the boundary of a region. More...

#include <vtol_extract_topology.h>

Inheritance diagram for vtol_extract_topology_region_type:
Inheritance graph
[legend]

List of all members.

Public Types

typedef vbl_smart_ptr
< vtol_extract_topology_edgel_chain
edgel_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 boundary edges (which are edgel chains).

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.


Member Typedef Documentation

Definition at line 99 of file vtol_extract_topology.h.


Member Function Documentation

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.

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.

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 ( void  ) const

The number of edges in the boundary.

Definition at line 73 of file vtol_extract_topology.cxx.


Member Data Documentation

Location of a pixel inside the region.

Definition at line 118 of file vtol_extract_topology.h.

Definition at line 118 of file vtol_extract_topology.h.

The list of boundary 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: