Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

combinatorial_map Class Reference

#include <combinatorial_map.hh>

Inheritance diagram for combinatorial_map:

Inheritance graph
[legend]
Collaboration diagram for combinatorial_map:

Collaboration graph
[legend]
List of all members.

Public Methods

 combinatorial_map ()
 Constructor.

 combinatorial_map (pyramid &P)
 Constructor.

virtual ~combinatorial_map ()
 Virtual destructor.

dart & sigma (dart d)
 Function to access to the sigma of one dart of the combinatorial map.

dart & alpha (dart d)
 Function to access to the alpha of one dart of the combinatorial map.

vertex mu (dart d) const
 Function to read the vertex of one dart of the combinatorial map.

dart mu_1 (vertex v) const
 Function to read one dart of one vertex of the combinatorial map.

bool is_open_parenthesis (dart d) const
 Function that return true if the dart is an openparenthesis for an inclused area.

dart give_level ()
 give the level of the combinatorial map

unsigned int give_background ()
 give the background of the combinatorial map

int give_level (dart d)
 Give the max level of the dart.

int give_width ()
 Give the width of the base map.

int give_height ()
 Give the height of the base map.

dart give_alpha_base (dart d)
 Give the alpha of the dart in the base map.

dart give_sigma_base (dart d)
 Give the sigma of the dart in the base map.

void give_point (dart d, point &p)
 Give the departure point of the dart.

void give_pixel (dart d, point &p)
 Give the departure pixel of the dart.

move_type give_move (dart d)
 Give the orientation of the dart.

vertex_iterator & give_vertex_first ()
 Give an iterator positioned on the first element of the vertex list.

vertex_iterator & give_vertex_last ()
 Give an iterator positioned on the last element of the vertex list.

vertex_iterator & give_vertex_end ()
 Give an iterator positioned on the element after the last of the vertex list.

dart_iterator & give_dart_first ()
 Give an iterator positionned on the first dart of the level_set for the given level.

dart_iterator & give_dart_begin ()
 Give an iterator positionned on the first dart of the given level.

dart_iterator & give_dart_last ()
 Give an iterator positionned after the last dart of the given level (loop : for(i=level_set.first();i<level.end();i++).

dart_iterator & give_dart_end ()
 Give an iterator positionned on the last dart of the given level (loop : for(i=level_set.first();i<=level.last();i++).

void give_all_neighbors (vertex, list_label &, list_label &)
 Function that put in the two lists the neighbors for the first list and the inclused area in the second.

void give_neighbors (vertex, list_label &)
 Function that put in the list the neighbors.

void give_included (vertex, list_label &)
 Function that put in the list the included neighbors.

void display ()
 Function that print on the standard output the list of the vertex and the sigma permutation.

void draw_border (image &, unsigned char *, draw_type=cm_draw_single)
 Function to draw the border on the picture.

void draw_vertex_border (vertex, image &, unsigned char *, draw_type=cm_draw_single)
 Function to draw the border of one area on the picture.

dart give_neighbor_dart (vertex)
 Return a dart that is connected to a non included neighbor.

segment give_segment (dart d)
 Function that give a segment corresponding to the dart.


Detailed Description

Class for the combinatorial maps


Constructor & Destructor Documentation

combinatorial_map::combinatorial_map   [inline]
 

Constructor.

combinatorial_map::combinatorial_map pyramid   P [inline]
 

Constructor.

virtual combinatorial_map::~combinatorial_map   [inline, virtual]
 

Virtual destructor.


Member Function Documentation

dart& combinatorial_map::alpha dart    d [inline]
 

Function to access to the alpha of one dart of the combinatorial map.

void combinatorial_map::display  
 

Function that print on the standard output the list of the vertex and the sigma permutation.

void combinatorial_map::draw_border image &   ,
unsigned char *   ,
draw_type    = cm_draw_single
 

Function to draw the border on the picture.

void combinatorial_map::draw_vertex_border vertex   ,
image &   ,
unsigned char *   ,
draw_type    = cm_draw_single
 

Function to draw the border of one area on the picture.

void combinatorial_map::give_all_neighbors vertex   ,
list_label &   ,
list_label &   
 

Function that put in the two lists the neighbors for the first list and the inclused area in the second.

dart combinatorial_map::give_alpha_base dart    d
 

Give the alpha of the dart in the base map.

unsigned int combinatorial_map::give_background   [inline]
 

give the background of the combinatorial map

dart_iterator & combinatorial_map::give_dart_begin  
 

Give an iterator positionned on the first dart of the given level.

dart_iterator & combinatorial_map::give_dart_end  
 

Give an iterator positionned on the last dart of the given level (loop : for(i=level_set.first();i<=level.last();i++).

dart_iterator & combinatorial_map::give_dart_first  
 

Give an iterator positionned on the first dart of the level_set for the given level.

dart_iterator & combinatorial_map::give_dart_last  
 

Give an iterator positionned after the last dart of the given level (loop : for(i=level_set.first();i<level.end();i++).

int combinatorial_map::give_height  
 

Give the height of the base map.

void combinatorial_map::give_included vertex   ,
list_label &   
 

Function that put in the list the included neighbors.

int combinatorial_map::give_level dart    d
 

Give the max level of the dart.

dart combinatorial_map::give_level   [inline]
 

give the level of the combinatorial map

move_type combinatorial_map::give_move dart    d
 

Give the orientation of the dart.

int combinatorial_map::give_neighbor_dart vertex   
 

Return a dart that is connected to a non included neighbor.

void combinatorial_map::give_neighbors vertex   ,
list_label &   
 

Function that put in the list the neighbors.

void combinatorial_map::give_pixel dart    d,
point &    p
 

Give the departure pixel of the dart.

void combinatorial_map::give_point dart    d,
point &    p
 

Give the departure point of the dart.

segment combinatorial_map::give_segment dart    d [inline]
 

Function that give a segment corresponding to the dart.

dart combinatorial_map::give_sigma_base dart    d
 

Give the sigma of the dart in the base map.

vertex_iterator & combinatorial_map::give_vertex_end  
 

Give an iterator positioned on the element after the last of the vertex list.

vertex_iterator & combinatorial_map::give_vertex_first  
 

Give an iterator positioned on the first element of the vertex list.

vertex_iterator & combinatorial_map::give_vertex_last  
 

Give an iterator positioned on the last element of the vertex list.

int combinatorial_map::give_width  
 

Give the width of the base map.

bool combinatorial_map::is_open_parenthesis dart    d const [inline]
 

Function that return true if the dart is an openparenthesis for an inclused area.

vertex combinatorial_map::mu dart    d const [inline]
 

Function to read the vertex of one dart of the combinatorial map.

dart combinatorial_map::mu_1 vertex    v const [inline]
 

Function to read one dart of one vertex of the combinatorial map.

dart& combinatorial_map::sigma dart    d [inline]
 

Function to access to the sigma of one dart of the combinatorial map.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 14:58:46 2003 for Combinatorial Pyramids by doxygen1.2.18