Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
router.h File Reference

Contains the interface for the Router class. More...

Go to the source code of this file.

Classes

struct  Avoid::LineRep
 
class  Avoid::ConnRerouteFlagDelegate
 
class  Avoid::TopologyAddonInterface
 
class  Avoid::Router
 The Router class represents a libavoid router instance. More...
 

Namespaces

namespace  Avoid
 libavoid: Object-avoiding orthogonal and polyline connector routing library.
 

Typedefs

typedef std::list< LineRepAvoid::LineReps
 
typedef std::list< unsigned int > Avoid::IntList
 
typedef std::list< ClusterRef * > Avoid::ClusterRefList
 
typedef enum RoutingParameter Avoid::PenaltyType
 

Enumerations

enum  Avoid::RouterFlag { Avoid::PolyLineRouting = 1 , Avoid::OrthogonalRouting = 2 }
 Flags that can be passed to the router during initialisation to specify options. More...
 
enum  Avoid::RoutingParameter {
  Avoid::segmentPenalty = 0 , Avoid::anglePenalty , Avoid::crossingPenalty , Avoid::clusterCrossingPenalty ,
  Avoid::fixedSharedPathPenalty , Avoid::portDirectionPenalty , Avoid::shapeBufferDistance , Avoid::idealNudgingDistance ,
  Avoid::reverseDirectionPenalty , Avoid::lastRoutingParameterMarker
}
 Types of routing parameters and penalties that can be used to tailor the style and improve the quality of the connector routes produced. More...
 
enum  Avoid::RoutingOption {
  Avoid::nudgeOrthogonalSegmentsConnectedToShapes = 0 , Avoid::improveHyperedgeRoutesMovingJunctions , Avoid::penaliseOrthogonalSharedPathsAtConnEnds , Avoid::nudgeOrthogonalTouchingColinearSegments ,
  Avoid::performUnifyingNudgingPreprocessingStep , Avoid::improveHyperedgeRoutesMovingAddingAndDeletingJunctions , Avoid::nudgeSharedPathsWithCommonEndPoint , Avoid::lastRoutingOptionMarker
}
 Types of routing options that can be enabled. More...
 
enum  Avoid::TransactionPhases {
  Avoid::TransactionPhaseOrthogonalVisibilityGraphScanX = 1 , Avoid::TransactionPhaseOrthogonalVisibilityGraphScanY , Avoid::TransactionPhaseRouteSearch , Avoid::TransactionPhaseCrossingDetection ,
  Avoid::TransactionPhaseRerouteSearch , Avoid::TransactionPhaseOrthogonalNudgingX , Avoid::TransactionPhaseOrthogonalNudgingY , Avoid::TransactionPhaseCompleted
}
 Types of routing phases reported by Router::shouldContinueTransactionWithProgress(). More...
 

Variables

static const unsigned int Avoid::runningTo = 1
 
static const unsigned int Avoid::runningFrom = 2
 
static const unsigned int Avoid::runningToAndFrom = runningTo | runningFrom
 
static const double Avoid::zeroParamValue = 0
 
static const double Avoid::chooseSensibleParamValue = -1
 

Detailed Description

Contains the interface for the Router class.

Definition in file router.h.