Item members excluded from reflection.
More...
#include <item.h>
|
classdesc::Exclude< std::weak_ptr< Group > > | group |
| owning group of this item. More...
|
|
double | m_rotation =0 |
| rotation of icon, in degrees rotate item based on vector from orig to mouse More...
|
|
Item members excluded from reflection.
Definition at line 103 of file item.h.
◆ ~ItemExclude()
virtual minsky::ItemExclude::~ItemExclude |
( |
| ) |
|
|
inlinevirtual |
◆ godleyIconCast() [1/2]
virtual const GodleyIcon* minsky::ItemExclude::godleyIconCast |
( |
| ) |
const |
|
inlinevirtual |
a more efficient replacement for dynamic_cast<GodleyIcon*>(this)
Definition at line 127 of file item.h.
◆ godleyIconCast() [2/2]
virtual GodleyIcon* minsky::ItemExclude::godleyIconCast |
( |
| ) |
|
|
inlinevirtual |
a more efficient replacement for dynamic_cast<GodleyIcon*>(this)
Definition at line 128 of file item.h.
◆ insertControlled()
virtual void minsky::ItemExclude::insertControlled |
( |
Selection & |
selection | ) |
|
|
inlinevirtual |
insert this items controlled or controller items are inserted correctly into selection.
Definition at line 137 of file item.h.
◆ operationCast() [1/2]
virtual const OperationBase* minsky::ItemExclude::operationCast |
( |
| ) |
const |
|
inlinevirtual |
a more efficient replacement for dynamic_cast<OperationBase*>(this)
Definition at line 115 of file item.h.
◆ operationCast() [2/2]
a more efficient replacement for dynamic_cast<OperationBase*>(this)
Definition at line 116 of file item.h.
◆ plotWidgetCast() [1/2]
virtual const PlotWidget* minsky::ItemExclude::plotWidgetCast |
( |
| ) |
const |
|
inlinevirtual |
a more efficient replacement for dynamic_cast<PlotWidget*>(this)
Definition at line 123 of file item.h.
◆ plotWidgetCast() [2/2]
virtual PlotWidget* minsky::ItemExclude::plotWidgetCast |
( |
| ) |
|
|
inlinevirtual |
a more efficient replacement for dynamic_cast<PlotWidget*>(this)
Definition at line 124 of file item.h.
◆ ravelCast() [1/2]
virtual const Ravel* minsky::ItemExclude::ravelCast |
( |
| ) |
const |
|
inlinevirtual |
a more efficient replacement for dynamic_cast<Ravel*>(this)
Definition at line 131 of file item.h.
◆ ravelCast() [2/2]
virtual Ravel* minsky::ItemExclude::ravelCast |
( |
| ) |
|
|
inlinevirtual |
a more efficient replacement for dynamic_cast<Ravel*>(this)
Definition at line 132 of file item.h.
◆ removeControlledItems() [1/2]
virtual void minsky::ItemExclude::removeControlledItems |
( |
GroupItems & |
| ) |
|
|
inlinevirtual |
remove all controlled items from a group
Definition at line 139 of file item.h.
◆ removeControlledItems() [2/2]
void minsky::ItemExclude::removeControlledItems |
( |
| ) |
|
remove all controlled items from their owning group
Definition at line 441 of file item.cc.
443 if (
auto g=
group.lock())
void removeControlledItems()
remove all controlled items from their owning group
◆ rotate()
void minsky::ItemExclude::rotate |
( |
const Point & |
mouse, |
|
|
const Point & |
orig |
|
) |
| |
Definition at line 100 of file item.cc.
References M_PI.
102 constexpr
double degrees=180.0/
M_PI;
103 m_rotation=atan2(mouse.y()-orig.y(),mouse.x()-orig.x())*degrees;
#define M_PI
some useful geometry types, defined from boost::geometry
double m_rotation
rotation of icon, in degrees rotate item based on vector from orig to mouse
◆ switchIconCast() [1/2]
virtual const SwitchIcon* minsky::ItemExclude::switchIconCast |
( |
| ) |
const |
|
inlinevirtual |
a more efficient replacement for dynamic_cast<SwitchIcon*>(this)
Definition at line 119 of file item.h.
◆ switchIconCast() [2/2]
virtual SwitchIcon* minsky::ItemExclude::switchIconCast |
( |
| ) |
|
|
inlinevirtual |
a more efficient replacement for dynamic_cast<SwitchIcon*>(this)
Definition at line 120 of file item.h.
◆ variableCast() [1/2]
virtual const VariableBase* minsky::ItemExclude::variableCast |
( |
| ) |
const |
|
inlinevirtual |
a more efficient replacement for dynamic_cast<VariableBase*>(this)
Definition at line 111 of file item.h.
◆ variableCast() [2/2]
a more efficient replacement for dynamic_cast<VariableBase*>(this)
Definition at line 112 of file item.h.
◆ group
classdesc::Exclude<std::weak_ptr<Group> > minsky::ItemExclude::group |
owning group of this item.
Definition at line 106 of file item.h.
◆ m_rotation
double minsky::ItemExclude::m_rotation =0 |
rotation of icon, in degrees rotate item based on vector from orig to mouse
Definition at line 143 of file item.h.
The documentation for this struct was generated from the following files: