#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/model/stateinstance/StateInstance.h>
◆ StateInstance()
◆ accept()
| virtual void accept |
( |
Visitor & | visitor | ) |
const |
|
pure virtual |
◆ adjustPosition()
| QPointF adjustPosition |
( |
QPointF & | newPos | ) |
const |
◆ getBoundingSquare()
| QRectF getBoundingSquare |
( |
| ) |
const |
getBoundingSquare return the maximum bounding box of this state instance in parent coordinate system
- Returns
- See also
- getBounds()
◆ getBoundingSquareSize()
| float getBoundingSquareSize |
( |
| ) |
const |
|
inline |
◆ getBounds()
| QRectF getBounds |
( |
| ) |
const |
|
inline |
getBounds returns the rectangle occupied by this state instance in the parent coordinate system.
- See also
- getBoundingBox()
◆ getCenter()
| const QPointF getCenter |
( |
| ) |
const |
◆ getClassSize()
| QSizeF getClassSize |
( |
| ) |
const |
◆ getInstanceName()
| QString getInstanceName |
( |
| ) |
const |
◆ getParent()
◆ getScale()
getScale returns the scale of this state instance, which is the relation between boundingSquareSize and classSize.
Resizing is only done with this scale at the moment.
◆ getStateClass()
| virtual StatePtr getStateClass |
( |
| ) |
const |
|
inlinevirtual |
◆ getTopLeft()
| const QPointF & getTopLeft |
( |
| ) |
const |
|
inline |
getTopLeft returns the topleft point of the stateinstance in the coordinate system of the parent state.
◆ getType()
| virtual eStateType getType |
( |
| ) |
const |
|
pure virtual |
◆ isActive()
◆ setBoundingBox
| void setBoundingBox |
( |
float | squareSize | ) |
|
|
slot |
◆ setCenter
| void setCenter |
( |
const QPointF & | newStateCenter | ) |
|
|
slot |
◆ setInstanceName()
| void setInstanceName |
( |
const QString & | value | ) |
|
|
virtual |
◆ setPosition
| void setPosition |
( |
QPointF | newPosition | ) |
|
|
slot |
◆ updateScale
◆ boundingSquareSize
◆ defaultBoundingSquareSize
| const int defaultBoundingSquareSize = 100 |
◆ inputParameters
| ::armarx::StateParameterMap inputParameters |
input values of this state instance, only used by Viewer.
◆ localParameters
| ::armarx::StateParameterMap localParameters |
◆ name
◆ outputParameters
| ::armarx::StateParameterMap outputParameters |
◆ parentState
| std::weak_ptr<State> parentState |
|
protected |
◆ position
◆ StateDefaultSize
| const QSizeF StateDefaultSize = QSizeF(800, 600) |
|
static |
The documentation for this class was generated from the following files:
- ArmarXGui/gui-plugins/StatechartViewerPlugin/model/stateinstance/StateInstance.h
- ArmarXGui/gui-plugins/StatechartViewerPlugin/model/stateinstance/StateInstance.cpp