Stores additional attributes of edge standard representation of a hypergraph. More...
#include <ogdf/hypergraph/HypergraphAttributes.h>
Inheritance diagram for ogdf::HypergraphAttributesES:Public Member Functions | |
| HypergraphAttributesES () | |
| Initializes new instance of class HypergraphAttributes. More... | |
| HypergraphAttributesES (const Hypergraph &pH, EdgeStandardType pType=EdgeStandardType::star) | |
| Initializes new instance of class HypergraphAttributes. More... | |
| virtual | ~HypergraphAttributesES () |
| Destructor. More... | |
| DPolyline & | bends (edge e) |
Returns the list of bend points of edge e. More... | |
| const DRect | boundingBox () const |
| Returns the bounding box of the hypergraph. More... | |
| void | clearAllBends () |
| const double & | height (node v) |
Returns the height of a representation node v. More... | |
| void | removeUnnecessaryBendsHV () |
| Removes unnecessary bend points in orthogonal segements. More... | |
| const GraphAttributes & | repGA () const |
| const Graph & | repGraph () const |
| void | setHeight (hypernode v, double pHeight) |
Sets the the height of hypernode v. More... | |
| void | setHeight (node v, double pHeight) |
Sets the the height of a representation node v. More... | |
| void | setWidth (hypernode v, double pWidth) |
Sets the the width of hypernode v. More... | |
| void | setWidth (node v, double pWidth) |
Sets the the width of a representation node v. More... | |
| void | setX (node v, double pX) |
Sets the x-coordinate of a representation node v. More... | |
| void | setX (hypernode v, double pX) |
Sets the x-coordinate of hypernode v. More... | |
| void | setY (hypernode v, double pY) |
Sets the x-coordinate of hypernode v. More... | |
| void | setY (node v, double pY) |
Sets the y-coordinate of a representation node v. More... | |
| EdgeStandardType | type () const |
| HypernodeElement::Type | type (hypernode v) |
Returns the type of representation node v. More... | |
| HypernodeElement::Type | type (node v) |
Returns the type of representation node v. More... | |
| const double & | width (node v) |
Returns the width of a representation node v. More... | |
| const double & | x (node v) |
Returns the x-coordinate of representation node v. More... | |
| const double & | y (node v) |
Returns the y-coordinate of a representation node v. More... | |
Public Member Functions inherited from ogdf::HypergraphAttributes | |
| HypergraphAttributes () | |
| Initializes new instance of class HypergraphAttributes. More... | |
| HypergraphAttributes (const Hypergraph &H) | |
| Initializes new instance of class HypergraphAttributes. More... | |
| virtual | ~HypergraphAttributes () |
| Destructor. More... | |
| const Hypergraph & | constHypergraph () const |
| const double & | height (hypernode v) |
Returns the height of the bounding box of hypernode v. More... | |
| string & | label (hypernode v) |
Returns the label of hypernode v. More... | |
| void | setHeight (hypernode v, int pHeight) |
Sets the the height of hypernode v. More... | |
| void | setWidth (hypernode v, int pWidth) |
Sets the the width of hypernode v. More... | |
| void | setX (hypernode v, double pX) |
Sets the x-coordinate of hypernode v. More... | |
| void | setY (hypernode v, double pY) |
Sets the y-coordinate of hypernode v. More... | |
| int | shape (hypernode v) |
Returns the shape of hypernode v. More... | |
| const double & | width (hypernode v) |
Returns the width of the bounding box of hypernode v. More... | |
| const double & | x (hypernode v) |
Returns the x-coordinate of hypernode v. More... | |
| const double & | y (hypernode v) |
Returns the y-coordinate of hypernode v. More... | |
Private Attributes | |
| EdgeStandardRep * | m_repG |
| Edge standard representation reference. More... | |
| GraphAttributes * | m_repGA |
| Wrapped graph attributes reference. More... | |
| EdgeStandardType | m_type |
| The type of of edge standard representation. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ogdf::HypergraphAttributes | |
| HypernodeArray< double > | m_height |
| Height of a hypernodes bounding box. More... | |
| const Hypergraph * | m_hypergraph |
| Only points to an existing hypergraph. More... | |
| HypernodeArray< string > | m_label |
| Label of a hypernode. More... | |
| HypernodeArray< int > | m_shape |
| Shape of a hypernode. More... | |
| HypernodeArray< double > | m_width |
| Width of a hypernode bounding box. More... | |
| HypernodeArray< double > | m_x |
| Coordinate x of a hypernod.e. More... | |
| HypernodeArray< double > | m_y |
| Coordinate y of a hypernode. More... | |
Stores additional attributes of edge standard representation of a hypergraph.
Since edge standard representation is in fact just an ordinary graph, all its attributes are stored in wrapped instance of GraphAttributes class. Some nodes in the representation are yet specific since they represent hypernodes, attributes of these are driven explicitly from this class.
Superclass is declared as pure virtual to make dynamic casting possible.
Definition at line 182 of file HypergraphAttributes.h.
|
inline |
Initializes new instance of class HypergraphAttributes.
Definition at line 198 of file HypergraphAttributes.h.
|
inlineexplicit |
Initializes new instance of class HypergraphAttributes.
Definition at line 204 of file HypergraphAttributes.h.
|
inlinevirtual |
Destructor.
Definition at line 217 of file HypergraphAttributes.h.
Returns the list of bend points of edge e.
Definition at line 342 of file HypergraphAttributes.h.
|
inline |
Returns the bounding box of the hypergraph.
Definition at line 373 of file HypergraphAttributes.h.
|
inline |
Definition at line 361 of file HypergraphAttributes.h.
|
inline |
Returns the height of a representation node v.
Definition at line 320 of file HypergraphAttributes.h.
|
inline |
Removes unnecessary bend points in orthogonal segements.
Definition at line 367 of file HypergraphAttributes.h.
|
inline |
Definition at line 233 of file HypergraphAttributes.h.
|
inline |
Definition at line 228 of file HypergraphAttributes.h.
|
inline |
Sets the the height of hypernode v.
Definition at line 326 of file HypergraphAttributes.h.
|
inline |
Sets the the height of a representation node v.
Definition at line 333 of file HypergraphAttributes.h.
|
inline |
Sets the the width of hypernode v.
Definition at line 304 of file HypergraphAttributes.h.
|
inline |
Sets the the width of a representation node v.
Definition at line 311 of file HypergraphAttributes.h.
|
inline |
Sets the x-coordinate of a representation node v.
Definition at line 260 of file HypergraphAttributes.h.
|
inline |
Sets the x-coordinate of hypernode v.
Definition at line 269 of file HypergraphAttributes.h.
|
inline |
Sets the x-coordinate of hypernode v.
Definition at line 282 of file HypergraphAttributes.h.
|
inline |
Sets the y-coordinate of a representation node v.
Definition at line 289 of file HypergraphAttributes.h.
|
inline |
Definition at line 223 of file HypergraphAttributes.h.
|
inline |
Returns the type of representation node v.
Definition at line 239 of file HypergraphAttributes.h.
|
inline |
Returns the type of representation node v.
Definition at line 245 of file HypergraphAttributes.h.
|
inline |
Returns the width of a representation node v.
Definition at line 298 of file HypergraphAttributes.h.
|
inline |
Returns the x-coordinate of representation node v.
Definition at line 254 of file HypergraphAttributes.h.
|
inline |
Returns the y-coordinate of a representation node v.
Definition at line 276 of file HypergraphAttributes.h.
|
private |
Edge standard representation reference.
Definition at line 190 of file HypergraphAttributes.h.
|
private |
Wrapped graph attributes reference.
Definition at line 187 of file HypergraphAttributes.h.
|
private |
The type of of edge standard representation.
Definition at line 193 of file HypergraphAttributes.h.