29 #ifndef AVOID_CONNEND_H 30 #define AVOID_CONNEND_H 38 #include "libavoid/dllexport.h" 39 #include "libavoid/geometry.h" 49 class ShapeConnectionPin;
187 const Point position(
void)
const;
220 unsigned int pinClassId(
void)
const;
225 friend class Obstacle;
232 friend class HyperedgeImprover;
233 friend class CrossingConnectorsInfo;
236 void disconnect(
const bool shapeDeleted =
false);
238 void usePinVertex(VertInf *pinVert);
239 void freeActivePin(
void);
240 unsigned int endpointType(
void)
const;
241 bool isPinConnection(
void)
const;
242 std::vector<Point> possiblePinPoints(
void)
const;
243 void assignPinVisibilityTo(VertInf *dummyConnectionVert,
244 VertInf *targetVert);
245 void outputCode(FILE *fp,
const char *srcDst)
const;
246 std::pair<bool, VertInf *> getHyperedgeVertex(
Router *router)
const;
251 unsigned int m_connection_pin_class_id;
254 Obstacle *m_anchor_obj;
The ConnEnd class represents different possible endpoints for connectors.
Definition: connend.h:110
unsigned int ConnDirFlags
One or more Avoid::ConnDirFlag options.
Definition: connend.h:83
The ConnRef class represents a connector object.
Definition: connector.h:131
ConnEndType
Types that describe the kind a connection that a ConnEnd represents.
Definition: connend.h:89
This option specifies the point should be given visibility to the bottom of the shape that it is loca...
Definition: connend.h:69
This option specifies the point should be given visibility to the right side of the shape that it is ...
Definition: connend.h:75
This option specifies the point should be given visibility to the left side of the shape that it is l...
Definition: connend.h:72
This option, provided for convenience, specifies the point should be given visibility to all four sid...
Definition: connend.h:79
std::list< ConnRef * > ConnRefList
A list of ConnRef objects.
Definition: connector.h:47
The HyperedgeRerouter class is a convenience object that can be used to register hyperedges to be rer...
Definition: hyperedge.h:129
The ConnEnd represents a free-floating point that may or may not have visibility in specific directio...
Definition: connend.h:92
The ConnEnd is empty and doesn't have any information set.
Definition: connend.h:99
The ShapeConnectionPin class represents a fixed point or "pin" on a shape that can be connected to...
Definition: connectionpin.h:96
The Point class defines a point in the plane.
Definition: geomtypes.h:52
The ConnEnd attaches to a junction.
Definition: connend.h:97
libavoid: Object-avoiding orthogonal and polyline connector routing library.
Definition: actioninfo.cpp:33
The Router class represents a libavoid router instance.
Definition: router.h:386
This option specifies the point should be given visibility to the top of the shape that it is located...
Definition: connend.h:66
The ShapeRef class represents a shape object.
Definition: shape.h:81
The JunctionRef class represents a fixed or free-floating point that connectors can be attached to...
Definition: junction.h:57
The ConnEnd attaches to a specific ShapeConnectionPin on a shape.
Definition: connend.h:95
ConnDirFlag
Flags that can be passed to the ConnEnd constructor to specify which sides of a shape this point shou...
Definition: connend.h:62