Public Member Functions | Private Attributes

TransitionVCurve Class Reference

#include <transitionVCurve.h>

Inheritance diagram for TransitionVCurve:
Collaboration diagram for TransitionVCurve:

List of all members.

Public Member Functions

 TransitionVCurve (Editor *parent, State *ss, State *es, const QString &label, bool leftOriented, bool dimmed)
virtual ~TransitionVCurve ()
virtual void adjust ()
 The only method where graphics changes are computed.
virtual int getArcAngle () const
virtual int getArcAngleB () 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 setArcAngleB (int aaB)
 only for VCurve
virtual void setLabelPosition ()
virtual void setNCurv (float nc)

Private Attributes

QPointF a_point
int arcangle
int arcangleB
QPointF b_point
float ncurv
bool radius
QLineF text_v

Detailed Description

Definition at line 6 of file transitionVCurve.h.


Constructor & Destructor Documentation

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

Definition at line 28 of file transitionVCurve.cpp.

References DBGLOG.


Member Function Documentation

void TransitionVCurve::adjust (  )  [virtual]

The only method where graphics changes are computed.

Implements Transition.

Definition at line 33 of file transitionVCurve.cpp.

References a_point, arcangle, arcangleB, b_point, Transition::createStrokes(), 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 TransitionVCurve().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from Transition.

Definition at line 22 of file transitionVCurve.h.

References arcangle.

Referenced by getGraphMLParams(), and getVCCommand().

Here is the caller graph for this function:

virtual int TransitionVCurve::getArcAngleB (  )  const [inline, virtual]

Reimplemented from Transition.

Definition at line 23 of file transitionVCurve.h.

References arcangleB.

Referenced by getVCCommand().

Here is the caller graph for this function:

QString TransitionVCurve::getGraphMLParams (  )  const [virtual]

GraphML export.

Reimplemented from Transition.

Definition at line 226 of file transitionVCurve.cpp.

References arcangle, arcangleB, DEF_VCURV_ANGLE, DEF_VCURV_ANGLE_B, DEF_VCURV_CURV, getArcAngle(), getNCurv(), and ncurv.

Here is the call graph for this function:

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

Reimplemented from Transition.

Definition at line 24 of file transitionVCurve.h.

References ncurv.

Referenced by getGraphMLParams(), and getVCCommand().

Here is the caller graph for this function:

QString TransitionVCurve::getTypeName (  )  const [virtual]

Implements Transition.

Definition at line 131 of file transitionVCurve.cpp.

Referenced by getVCCommand().

Here is the caller graph for this function:

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

for VArc and VCurve

Reimplemented from Transition.

Definition at line 19 of file transitionVCurve.h.

References arcangle.

virtual void TransitionVCurve::setArcAngleB ( int   )  [inline, virtual]

only for VCurve

Reimplemented from Transition.

Definition at line 20 of file transitionVCurve.h.

References arcangleB.

void TransitionVCurve::setLabelPosition (  )  [virtual]

Reimplemented from Transition.

Definition at line 122 of file transitionVCurve.cpp.

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

Referenced by adjust(), and TransitionVCurve().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from Transition.

Definition at line 21 of file transitionVCurve.h.

References ncurv.


Member Data Documentation

QPointF TransitionVCurve::a_point [private]

Definition at line 47 of file transitionVCurve.h.

Referenced by adjust().

Definition at line 38 of file transitionVCurve.h.

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

Definition at line 39 of file transitionVCurve.h.

Referenced by adjust(), getArcAngleB(), getGraphMLParams(), and setArcAngleB().

QPointF TransitionVCurve::b_point [private]

Definition at line 48 of file transitionVCurve.h.

Referenced by adjust().

float TransitionVCurve::ncurv [private]

Definition at line 40 of file transitionVCurve.h.

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

bool TransitionVCurve::radius [private]

Definition at line 34 of file transitionVCurve.h.

QLineF TransitionVCurve::text_v [private]

Definition at line 36 of file transitionVCurve.h.


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