#include "constants.h"#include "drawAlgorithm.h"#include "editor.h"#include "commands.h"#include "stateManager.h"#include "transitionManager.h"#include "state.h"#include "oneStateTransition.h"#include "twoStatesTransition.h"#include "automataCreator.h"#include "transition.h"#include "iautomaton.h"#include "itransition.h"#include "istate.h"#include <QSharedPointer>#include <QPoint>#include <QUndoCommand>#include <QQueue>#include <QStack>#include <QList>#include <limits>#include <queue>#include <vector>#include <stack>
Include dependency graph for drawAlgorithm.cpp:Go to the source code of this file.
Classes | |
| class | DistanceComparator |
Defines | |
| #define | DBGLOG_DRAW(x) DBGLOG_("DRAWING", x) |
Functions | |
| State * | createState (Editor *editor, const QPoint &pos, const QSharedPointer< IState > &state) |
| void | setParams (const State &s1, const State &s2, const QPoint &startPos, const int xStep, const int yStep, QString &typeName, float &arcAngle, bool &leftOriented) |
| int | transitionCountBetween (const State &s1, const State &s2) |
| #define DBGLOG_DRAW | ( | x | ) | DBGLOG_("DRAWING", x) |
Definition at line 33 of file drawAlgorithm.cpp.
Referenced by GraphVizDrawAlgorithm::convertCPToBezierCP(), GraphVizDrawAlgorithm::drawAutomaton(), FarthestFinalDrawAlgorithm::drawAutomaton(), BaseDrawAlgorithm::drawTransitions(), GraphVizDrawAlgorithm::drawTransitionsAccordingToGV(), and BaseDrawAlgorithm::initPaths().
Definition at line 43 of file drawAlgorithm.cpp.
References Transition::assign(), TransitionManager::createOneStateTransition(), StateManager::createState(), TransitionManager::getInstance(), StateManager::getInstance(), and NORTH_WEST.
Referenced by GraphVizDrawAlgorithm::drawAutomaton(), FarthestFinalDrawAlgorithm::drawAutomaton(), and Editor::generateDistance().
Here is the call graph for this function:
Here is the caller graph for this function:| void setParams | ( | const State & | s1, | |
| const State & | s2, | |||
| const QPoint & | startPos, | |||
| const int | xStep, | |||
| const int | yStep, | |||
| QString & | typeName, | |||
| float & | arcAngle, | |||
| bool & | leftOriented | |||
| ) |
Definition at line 224 of file drawAlgorithm.cpp.
References transitionCountBetween().
Referenced by BaseDrawAlgorithm::drawTransitions().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 203 of file drawAlgorithm.cpp.
References Transition::getDestinationState(), State::getName(), and State::getOutgoingTransitions().
Referenced by setParams().
Here is the call graph for this function:
Here is the caller graph for this function:
1.7.0