title
Graph Drawing Toolkit

An object-oriented C++ library for handling and drawing graphs

struct_constraint Class Reference

#include <rm3_constraints.h>

Inheritance diagram for struct_constraint:

Inheritance graph
[legend]
Collaboration diagram for struct_constraint:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~struct_constraint ()
int get_id () const
constraint_type get_type () const
undi_graphget_owner_graph () const
gdt::list_item get_pos_in_owner_graph_list () const
virtual constraint copy (undi_graph &)=0
virtual void print (std::ostream &os=std::cout) const =0

Protected Member Functions

 struct_constraint (constraint_type, undi_graph &)
void remove_from_owner_graph_list ()
void remove_from_edge_list (gdtedge)
void remove_from_node_list (gdtnode)
gdt::list_item add_to_edge_list (gdtedge)
gdt::list_item add_to_node_list (gdtnode)
virtual bool update_after_del_edge (gdtedge e)=0
virtual bool update_after_del_node (gdtnode e)=0
virtual bool update_after_split_edge (gdtedge e, gdtedge e1, gdtedge e2)=0
virtual bool update_after_split_node (gdtnode v, gdtnode v1, gdtnode v2)=0
virtual bool update_after_merge_edges (gdtedge e1, gdtedge e2, gdtedge e)=0
virtual bool update_after_merge_nodes (gdtnode v1, gdtnode v2, gdtnode v)=0
virtual void update_after_edge_translation (gdtedge e, gdtnode ve1, gdtnode ve2, gdtedge d, gdtnode vd1, gdtnode vd2)=0
virtual void update_on_path_replacing_edge (gdtedge e, gdt::gdtlist< gdtedge > path, undi_graph &ug)=0

Protected Attributes

int id

Friends

class undi_graph


Detailed Description

Definition at line 110 of file rm3_constraints.h.


Constructor & Destructor Documentation

struct_constraint::struct_constraint ( constraint_type  ,
undi_graph  
) [protected]

virtual struct_constraint::~struct_constraint (  )  [virtual]


Member Function Documentation

void struct_constraint::remove_from_owner_graph_list (  )  [protected]

void struct_constraint::remove_from_edge_list ( gdtedge   )  [protected]

void struct_constraint::remove_from_node_list ( gdtnode   )  [protected]

gdt::list_item struct_constraint::add_to_edge_list ( gdtedge   )  [protected]

gdt::list_item struct_constraint::add_to_node_list ( gdtnode   )  [protected]

virtual bool struct_constraint::update_after_del_edge ( gdtedge  e  )  [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

virtual bool struct_constraint::update_after_del_node ( gdtnode  e  )  [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

virtual bool struct_constraint::update_after_split_edge ( gdtedge  e,
gdtedge  e1,
gdtedge  e2 
) [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

virtual bool struct_constraint::update_after_split_node ( gdtnode  v,
gdtnode  v1,
gdtnode  v2 
) [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

virtual bool struct_constraint::update_after_merge_edges ( gdtedge  e1,
gdtedge  e2,
gdtedge  e 
) [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

virtual bool struct_constraint::update_after_merge_nodes ( gdtnode  v1,
gdtnode  v2,
gdtnode  v 
) [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

virtual void struct_constraint::update_after_edge_translation ( gdtedge  e,
gdtnode  ve1,
gdtnode  ve2,
gdtedge  d,
gdtnode  vd1,
gdtnode  vd2 
) [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

virtual void struct_constraint::update_on_path_replacing_edge ( gdtedge  e,
gdt::gdtlist< gdtedge path,
undi_graph ug 
) [protected, pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, and struct_constraint_edge_attachment_wrt_previous_corner.

int struct_constraint::get_id (  )  const

constraint_type struct_constraint::get_type (  )  const

undi_graph& struct_constraint::get_owner_graph (  )  const

gdt::list_item struct_constraint::get_pos_in_owner_graph_list (  )  const

virtual constraint struct_constraint::copy ( undi_graph  )  [pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, struct_constraint_edge_attachment_wrt_previous_corner, and struct_constraint_min_tieing.

virtual void struct_constraint::print ( std::ostream &  os = std::cout  )  const [pure virtual]

Implemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, struct_constraint_edge_attachment_wrt_previous_corner, and struct_constraint_min_tieing.


Friends And Related Function Documentation

friend class undi_graph [friend]

Reimplemented in struct_constraint_uncrossable_edge, struct_constraint_number_of_bends_on_edge, struct_constraint_bend_direction_on_edge, struct_constraint_same_face_node, struct_constraint_same_face_ordered_nodes, struct_constraint_node_width, struct_constraint_node_height, struct_constraint_angle_sweep, struct_constraint_edge_attachment_wrt_previous_corner, and struct_constraint_min_tieing.

Definition at line 113 of file rm3_constraints.h.


Member Data Documentation

int struct_constraint::id [protected]

Definition at line 138 of file rm3_constraints.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:49:05 2008 for GDToolkit GAPI by  doxygen 1.5.3