Public Member Functions | Protected Attributes

TransitionVArc Class Reference

#include <transitionVArc.h>

Inheritance diagram for TransitionVArc:
Collaboration diagram for TransitionVArc:

List of all members.

Public Member Functions

 TransitionVArc (Editor *parent, State *ss, State *es, const QString &label, bool leftOriented, bool dimmed)
virtual ~TransitionVArc ()
virtual void adjust ()
 The only method where graphics changes are computed.
virtual int getArcAngle () const
virtual QString getGraphMLParams () const
 GraphML export.
virtual float getNCurv () const
virtual QString getTypeName () const
virtual QString getVCCommand () const
 VauCanSon-G transition command.
virtual void setArcAngle (int aa)
 for VArc and VCurve
virtual void setLabelPosition ()
virtual void setNCurv (float nc)

Protected Attributes

QPointF a_point
int arcangle
QPointF b_point
float ncurv

Detailed Description

Definition at line 6 of file transitionVArc.h.


Constructor & Destructor Documentation

TransitionVArc::TransitionVArc ( Editor parent,
State ss,
State es,
const QString &  label,
bool  leftOriented,
bool  dimmed 
)
TransitionVArc::~TransitionVArc (  )  [virtual]

Definition at line 30 of file transitionVArc.cpp.

References DBGLOG.


Member Function Documentation

void TransitionVArc::adjust (  )  [virtual]

The only method where graphics changes are computed.

Implements Transition.

Definition at line 35 of file transitionVArc.cpp.

References a_point, arcangle, b_point, Transition::createStrokes(), DBGLOG, Transition::eFIND_FIRST, Transition::endPoint, Transition::endState, Transition::findIntersectedPoints(), Transition::getArrowPolygon(), State::getMyPolygon(), State::getWidth(), M_PI, ncurv, Transition::p, Transition::pa, RELLOG, setLabelPosition(), Transition::startPoint, and Transition::startState.

Referenced by setArcAngle(), and TransitionVArc().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual int TransitionVArc::getArcAngle (  )  const [inline, virtual]

Reimplemented from Transition.

Definition at line 20 of file transitionVArc.h.

References arcangle.

Referenced by getGraphMLParams(), and getVCCommand().

Here is the caller graph for this function:

QString TransitionVArc::getGraphMLParams (  )  const [virtual]

GraphML export.

Reimplemented from Transition.

Definition at line 246 of file transitionVArc.cpp.

References DEF_ARC_ANGLE, DEF_ARC_CURV, getArcAngle(), and getNCurv().

Here is the call graph for this function:

virtual float TransitionVArc::getNCurv (  )  const [inline, virtual]

Reimplemented from Transition.

Definition at line 21 of file transitionVArc.h.

References ncurv.

Referenced by getGraphMLParams(), and getVCCommand().

Here is the caller graph for this function:

QString TransitionVArc::getTypeName (  )  const [virtual]

Implements Transition.

Definition at line 156 of file transitionVArc.cpp.

Referenced by getVCCommand().

Here is the caller graph for this function:

QString TransitionVArc::getVCCommand (  )  const [virtual]
virtual void TransitionVArc::setArcAngle ( int   )  [inline, virtual]

for VArc and VCurve

Reimplemented from Transition.

Definition at line 18 of file transitionVArc.h.

References adjust(), and arcangle.

Here is the call graph for this function:

void TransitionVArc::setLabelPosition (  )  [virtual]

Reimplemented from Transition.

Definition at line 147 of file transitionVArc.cpp.

References LabelX::getHeight(), LabelX::getWidth(), Transition::label, TwoStatesTransition::leftOriented, and LabelX::posParam().

Referenced by adjust(), and TransitionVArc().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void TransitionVArc::setNCurv ( float  nc  )  [inline, virtual]

Reimplemented from Transition.

Definition at line 19 of file transitionVArc.h.

References ncurv.


Member Data Documentation

QPointF TransitionVArc::a_point [protected]

Definition at line 37 of file transitionVArc.h.

Referenced by adjust().

int TransitionVArc::arcangle [protected]

Definition at line 30 of file transitionVArc.h.

Referenced by adjust(), getArcAngle(), and setArcAngle().

QPointF TransitionVArc::b_point [protected]

Definition at line 38 of file transitionVArc.h.

Referenced by adjust().

float TransitionVArc::ncurv [protected]

Definition at line 31 of file transitionVArc.h.

Referenced by adjust(), getNCurv(), and setNCurv().


The documentation for this class was generated from the following files: