|
std::set< SelectableRef > | selection |
|
using | PlacementPair = decltype(placements)::value_type |
|
using | Callback = std::function< Placement(const SelectableRef &sel, const PlacementInfo &curr)> |
|
using | IndexCallback = std::function< int64_t(const SelectableRef &sel, const PlacementInfo &curr)> |
|
virtual ToolSettings * | get_settings () |
|
std::set< UUID > | nets_from_selection (const std::set< SelectableRef > &sel) |
|
void | save_placements () |
|
void | apply_placements (Callback fn) |
|
void | update_indices (IndexCallback fn) |
|
const PlacementPair & | get_placement_info_for_index (size_t index) const |
|
void | reset_placements () |
|
size_t | count_types_supported () const |
|
static bool | type_is_supported (ObjectType type) |
|
Documents | doc |
|
class ImpInterface * | imp = nullptr |
|
const ToolID | tool_id |
|
bool | is_transient = false |
|
std::map< SelectableRef, PlacementInfo > | placements |
|
std::map< UUID, double > | decal_scales |
|
std::map< UUID, uint64_t > | picture_px_sizes |
|
◆ begin()
Gets called right after the constructor has finished.
Used to get the initial placement right and set things up. For non-interactive Tools (e.g. DELETE), this one may return ToolResponse::end()
Implements horizon::ToolBase.
◆ can_begin()
bool horizon::ToolRotateArbitrary::can_begin |
( |
| ) |
|
|
overridevirtual |
- Returns
- true if this Tool can begin in sensible way
Reimplemented from horizon::ToolBase.
◆ is_specific()
bool horizon::ToolRotateArbitrary::is_specific |
( |
| ) |
|
|
inlineoverridevirtual |
- Returns
- true if this Tool is specific to the selection
Reimplemented from horizon::ToolBase.
The documentation for this class was generated from the following files: