LuciadCPillar 2024.0.05
|
This class contains settings that can be used as defaults for IFeatureHandlesProvider
and IGeometryHandlesProvider
implementations.
More...
#include <luciad/edit/EditSettings.h>
Public Member Functions | |
EditSettings () | |
Creates a new EditSettings instance with default values. More... | |
~EditSettings () | |
std::shared_ptr< IIcon > | getAuxiliaryHandleIconActive () const |
Returns the auxiliary icon for active handles. More... | |
std::shared_ptr< IIcon > | getAuxiliaryHandleIconHighlighted () const |
Returns the auxiliary icon for highlighted handles. More... | |
std::shared_ptr< IIcon > | getAuxiliaryHandleIconRegular () const |
Returns the auxiliary icon for inactive handles. More... | |
const std::optional< ComplexStrokeLineStyle > & | getComplexStrokeOutlineStyleActive () const |
Returns the complex stroke line style that is used for active handles that paint an outline. More... | |
const std::optional< ComplexStrokeLineStyle > & | getComplexStrokeOutlineStyleHighlighted () const |
Returns the complex stroke line style that is used for highlighted handles that paint an outline. More... | |
const std::optional< ComplexStrokeLineStyle > & | getComplexStrokeOutlineStyleRegular () const |
Returns the complex stroke line style that is used for inactive handles that paint an outline. More... | |
MouseButton | getElevationButton () const |
Returns the mouse button that is used by handles to modify elevation. More... | |
MouseCursor | getElevationCursor () const |
Returns the cursor that is used for handles that manipulate elevation. More... | |
ModifierKeys | getElevationModifierKeys () const |
Returns the modifier keys that are used by handles to modify elevation. More... | |
std::shared_ptr< IIcon > | getHandleIconActive () const |
Returns the icon for active handles. More... | |
std::shared_ptr< IIcon > | getHandleIconHighlighted () const |
Returns the icon for highlighted handles. More... | |
std::shared_ptr< IIcon > | getHandleIconRegular () const |
Returns the icon for inactive handles. More... | |
MouseButton | getInsertButton () const |
Returns the mouse button that is used by handles to insert something. More... | |
MouseCursor | getInsertCursor () const |
Returns the cursor that is used for handles that insert something. More... | |
ModifierKeys | getInsertModifierKeys () const |
Returns the modifier keys that are used by handles to insert something. More... | |
MouseButton | getMoveButton () const |
Returns the mouse button that is used by handles to move something. More... | |
MouseCursor | getMoveCursor () const |
Returns the cursor that is used for handles that move something. More... | |
ModifierKeys | getMoveModifierKeys () const |
Returns the modifier keys that are used by handles to move something. More... | |
const std::optional< LineStyle > & | getOutlineStyleActive () const |
Returns the line style that is used for active handles that paint an outline. More... | |
const std::optional< LineStyle > & | getOutlineStyleHighlighted () const |
Returns the line style that is used for highlighted handles that paint an outline. More... | |
const std::optional< LineStyle > & | getOutlineStyleRegular () const |
Returns the line style that is used for inactive handles that paint an outline. More... | |
MouseButton | getPrependAppendButton () const |
Returns the mouse button that is used by handles that prepend or append something. More... | |
MouseCursor | getPrependAppendCursor () const |
Returns the cursor that is used for handles that prepend or append something. More... | |
ModifierKeys | getPrependAppendModifierKeys () const |
Returns the modifier keys that are used by handles to prepend or append something. More... | |
MouseButton | getRemoveButton () const |
Returns the mouse button that is used by handles to remove something. More... | |
MouseCursor | getRemoveCursor () const |
Returns the cursor that is used for handles that remove something. More... | |
ModifierKeys | getRemoveModifierKeys () const |
Returns the modifier keys that are used by handles to remove something. More... | |
const std::optional< ComplexStrokeLineStyle > & | getShadowComplexStrokeLineStyle () const |
Returns the complex stroke line style that is used for shadow lines. More... | |
const std::optional< FillStyle > & | getShadowFillStyle () const |
Returns the fill style that is used when a shadow version of a geometry is painted. More... | |
std::shared_ptr< IIcon > | getShadowIcon () const |
Returns the icon that is used when a shadow version of a geometry is painted. More... | |
const std::optional< LineStyle > & | getShadowLineStyle () const |
Returns the line style that is used for shadow lines. More... | |
MouseButton | getTranslateButton () const |
Returns the mouse button that is used for translate handles. More... | |
MouseCursor | getTranslateCursor () const |
Returns the cursor that is used for translate handles. More... | |
ModifierKeys | getTranslateModifierKeys () const |
Returns the modifier keys that are used by the translate handles. More... | |
const std::optional< ComplexStrokeLineStyle > & | getVisualAidComplexStrokeLineStyle () const |
Returns the complex stroke line style that is used for visual aid lines. More... | |
const std::optional< LineStyle > & | getVisualAidLineStyle () const |
Returns the line style that is used for visual aid lines. More... | |
void | setAuxiliaryHandleIconActive (std::shared_ptr< IIcon > icon) |
Sets the auxiliary icon for active handles. More... | |
void | setAuxiliaryHandleIconHighlighted (std::shared_ptr< IIcon > icon) |
Sets the auxiliary icon for highlighted handles. More... | |
void | setAuxiliaryHandleIconRegular (std::shared_ptr< IIcon > icon) |
Sets the auxiliary icon for inactive handles. More... | |
void | setComplexStrokeOutlineStyleActive (std::optional< ComplexStrokeLineStyle > style) |
Sets the complex stroke line style that is used for active handles that paint an outline. More... | |
void | setComplexStrokeOutlineStyleHighlighted (std::optional< ComplexStrokeLineStyle > style) |
Sets the complex stroke line style that is used for highlighted handles that paint an outline. More... | |
void | setComplexStrokeOutlineStyleRegular (std::optional< ComplexStrokeLineStyle > style) |
Sets the complex stroke line style that is used for inactive handles that paint an outline. More... | |
void | setElevationButton (MouseButton button) |
Sets the mouse button that is used by handles to modify elevation. More... | |
void | setElevationCursor (MouseCursor cursor) |
Sets the cursor that is used for handles that manipulate elevation. More... | |
void | setElevationModifierKeys (ModifierKeys modifierKeys) |
Sets the modifier keys that are used by handles to modify elevation. More... | |
void | setHandleIconActive (std::shared_ptr< IIcon > icon) |
Sets the icon for active handles. More... | |
void | setHandleIconHighlighted (std::shared_ptr< IIcon > icon) |
Sets the icon for highlighted handles. More... | |
void | setHandleIconRegular (std::shared_ptr< IIcon > icon) |
Sets the icon for inactive handles. More... | |
void | setInsertButton (MouseButton button) |
Sets the mouse button that is used by handles to insert something. More... | |
void | setInsertCursor (MouseCursor cursor) |
Sets the cursor that is used for handles that insert something. More... | |
void | setInsertModifierKeys (ModifierKeys modifierKeys) |
Sets the modifier keys that are used by handles to insert something. More... | |
void | setMoveButton (MouseButton button) |
Sets the mouse button that is used by handles to move something. More... | |
void | setMoveCursor (MouseCursor cursor) |
Sets the cursor that is used for handles that move something. More... | |
void | setMoveModifierKeys (ModifierKeys modifierKeys) |
Sets the modifier keys that are used by handles to move something. More... | |
void | setOutlineStyleActive (std::optional< LineStyle > style) |
Sets the line style that is used for active handles that paint an outline. More... | |
void | setOutlineStyleHighlighted (std::optional< LineStyle > style) |
Sets the line style that is used for highlighted handles that paint an outline. More... | |
void | setOutlineStyleRegular (std::optional< LineStyle > style) |
Sets the line style that is used for inactive handles that paint an outline. More... | |
void | setPrependAppendButton (MouseButton button) |
Sets the mouse button that is used by handles that prepend or append something. More... | |
void | setPrependAppendCursor (MouseCursor cursor) |
Sets the cursor that is used for handles that prepend or append something. More... | |
void | setPrependAppendModifierKeys (ModifierKeys modifierKeys) |
Sets the modifier keys that are used by handles to prepend or append something. More... | |
void | setRemoveButton (MouseButton button) |
Sets the mouse button that is used by handles to remove something. More... | |
void | setRemoveCursor (MouseCursor cursor) |
Sets the cursor that is used for handles that remove something. More... | |
void | setRemoveModifierKeys (ModifierKeys modifierKeys) |
Sets the modifier keys that are used by handles to remove something. More... | |
void | setShadowComplexStrokeLineStyle (std::optional< ComplexStrokeLineStyle > style) |
Sets the complex stroke line style that is used for shadow lines. More... | |
void | setShadowFillStyle (std::optional< FillStyle > style) |
Sets the fill style that is used when a shadow version of a geometry is painted. More... | |
void | setShadowIcon (std::shared_ptr< IIcon > icon) |
Sets the icon that is used when a shadow version of a geometry is painted. More... | |
void | setShadowLineStyle (std::optional< LineStyle > style) |
Sets the line style that is used for shadow lines. More... | |
void | setTranslateButton (MouseButton button) |
Sets the mouse button that is used for translate handles. More... | |
void | setTranslateCursor (MouseCursor cursor) |
Sets the cursor that is used for translate handles. More... | |
void | setTranslateModifierKeys (ModifierKeys modifierKeys) |
Sets the modifier keys that are used by the translate handles. More... | |
void | setVisualAidComplexStrokeLineStyle (std::optional< ComplexStrokeLineStyle > style) |
Sets the complex stroke line style that is used for visual aid lines. More... | |
void | setVisualAidLineStyle (std::optional< LineStyle > style) |
Sets the line style that is used for visual aid lines. More... | |
This class contains settings that can be used as defaults for IFeatureHandlesProvider
and IGeometryHandlesProvider
implementations.
To change the defaults, you can create a new instance of this class, adapt the settings, and configure it on the Editor
class.
These settings are typically used in the following way:
handle icon
: for point handles. See PointEditHandle
.highlighted handle icon
: for point handles when in a highlighted state. If nullptr
, the regular icon will be used instead.active handle icon
: for point handles when in an active state. If nullptr
, the highlighted icon will be used instead, or the active one if that one is nullptr
as well.auxiliary handle icon
: for point handles that require different styling. An example is the insert handle for polylines. See PointEditHandle
. highlighted
and active
auxiliary icons behave the same as the normal handle icons.outline style
: for handles that manipulate an outlinevisual aid style
: for handles that paint an additional helper line. For example: a vertical line that connects a handle with the terrain. See PointEditHandle
.shadow icon and styles
: for handles that paint a shadow version of a geometry on the terrain. This is for example done by TranslateEditHandle
.cursors
: you can configure cursors for different types of actionsmouse buttons
: you can configure the mouse button that is used for different types of actionsmodifier keys
: you can configure the modifier keys that are used for different types of actionsIf you need to customize edit behavior that is not available in this class, you can do so by creation and customizing the handles directly. The following handle implementations can for example be used and customized:
Most handles providers allow you to specify which handles are used. See for example:
PointHandlesProvider::IHandleFactory
PolylineHandlesProvider::IHandleFactory
PolylineRingHandlesProvider::IHandleFactory
luciad::EditSettings::EditSettings | ( | ) |
Creates a new EditSettings instance with default values.
luciad::EditSettings::~EditSettings | ( | ) |
std::shared_ptr< IIcon > luciad::EditSettings::getAuxiliaryHandleIconActive | ( | ) | const |
std::shared_ptr< IIcon > luciad::EditSettings::getAuxiliaryHandleIconHighlighted | ( | ) | const |
Returns the auxiliary icon for highlighted
handles.
highlighted
handles. std::shared_ptr< IIcon > luciad::EditSettings::getAuxiliaryHandleIconRegular | ( | ) | const |
const std::optional< ComplexStrokeLineStyle > & luciad::EditSettings::getComplexStrokeOutlineStyleActive | ( | ) | const |
Returns the complex stroke line style that is used for active
handles that paint an outline.
This method is linked to the getOutlineStyleActive
method:
std::nullopt
, no outline is paintedstd::nullopt
, that line style is usedstd::nullopt
value: they are mutually exclusiveactive
handles that paint an outline.const std::optional< ComplexStrokeLineStyle > & luciad::EditSettings::getComplexStrokeOutlineStyleHighlighted | ( | ) | const |
Returns the complex stroke line style that is used for highlighted
handles that paint an outline.
This method is linked to the getOutlineStyleHighlighted
method:
std::nullopt
, no outline is paintedstd::nullopt
, that line style is usedstd::nullopt
value: they are mutually exclusivehighlighted
handles that paint an outline.const std::optional< ComplexStrokeLineStyle > & luciad::EditSettings::getComplexStrokeOutlineStyleRegular | ( | ) | const |
Returns the complex stroke line style that is used for inactive
handles that paint an outline.
This method is linked to the getOutlineStyleRegular
method:
std::nullopt
, no outline is paintedstd::nullopt
, that line style is usedstd::nullopt
value: they are mutually exclusiveinactive
handles that paint an outline.MouseButton luciad::EditSettings::getElevationButton | ( | ) | const |
Returns the mouse button that is used by handles to modify elevation.
MouseCursor luciad::EditSettings::getElevationCursor | ( | ) | const |
Returns the cursor that is used for handles that manipulate elevation.
ModifierKeys luciad::EditSettings::getElevationModifierKeys | ( | ) | const |
Returns the modifier keys that are used by handles to modify elevation.
std::shared_ptr< IIcon > luciad::EditSettings::getHandleIconActive | ( | ) | const |
std::shared_ptr< IIcon > luciad::EditSettings::getHandleIconHighlighted | ( | ) | const |
Returns the icon for highlighted
handles.
highlighted
handles. std::shared_ptr< IIcon > luciad::EditSettings::getHandleIconRegular | ( | ) | const |
MouseButton luciad::EditSettings::getInsertButton | ( | ) | const |
Returns the mouse button that is used by handles to insert something.
MouseCursor luciad::EditSettings::getInsertCursor | ( | ) | const |
Returns the cursor that is used for handles that insert something.
ModifierKeys luciad::EditSettings::getInsertModifierKeys | ( | ) | const |
Returns the modifier keys that are used by handles to insert something.
MouseButton luciad::EditSettings::getMoveButton | ( | ) | const |
Returns the mouse button that is used by handles to move something.
MouseCursor luciad::EditSettings::getMoveCursor | ( | ) | const |
Returns the cursor that is used for handles that move something.
ModifierKeys luciad::EditSettings::getMoveModifierKeys | ( | ) | const |
Returns the modifier keys that are used by handles to move something.
const std::optional< LineStyle > & luciad::EditSettings::getOutlineStyleActive | ( | ) | const |
Returns the line style that is used for active
handles that paint an outline.
This method is linked to the getComplexStrokeOutlineStyleActive
method:
std::nullopt
, no outline is paintedstd::nullopt
, that line style is usedstd::nullopt
value: they are mutually exclusiveactive
handles that paint an outline. const std::optional< LineStyle > & luciad::EditSettings::getOutlineStyleHighlighted | ( | ) | const |
Returns the line style that is used for highlighted
handles that paint an outline.
This method is linked to the getComplexStrokeOutlineStyleHighlighted
method:
std::nullopt
, no outline is paintedstd::nullopt
, that line style is usedstd::nullopt
value: they are mutually exclusivehighlighted
handles that paint an outline. const std::optional< LineStyle > & luciad::EditSettings::getOutlineStyleRegular | ( | ) | const |
Returns the line style that is used for inactive
handles that paint an outline.
This method is linked to the getComplexStrokeOutlineStyleRegular
method:
std::nullopt
, no outline is paintedstd::nullopt
, that line style is usedstd::nullopt
value: they are mutually exclusiveinactive
handles that paint an outline. MouseButton luciad::EditSettings::getPrependAppendButton | ( | ) | const |
Returns the mouse button that is used by handles that prepend or append something.
MouseCursor luciad::EditSettings::getPrependAppendCursor | ( | ) | const |
Returns the cursor that is used for handles that prepend or append something.
ModifierKeys luciad::EditSettings::getPrependAppendModifierKeys | ( | ) | const |
Returns the modifier keys that are used by handles to prepend or append something.
MouseButton luciad::EditSettings::getRemoveButton | ( | ) | const |
Returns the mouse button that is used by handles to remove something.
MouseCursor luciad::EditSettings::getRemoveCursor | ( | ) | const |
Returns the cursor that is used for handles that remove something.
ModifierKeys luciad::EditSettings::getRemoveModifierKeys | ( | ) | const |
Returns the modifier keys that are used by handles to remove something.
const std::optional< ComplexStrokeLineStyle > & luciad::EditSettings::getShadowComplexStrokeLineStyle | ( | ) | const |
Returns the complex stroke line style that is used for shadow lines.
This method is linked to the getShadowLineStyle
method:
std::nullopt
, no shadow line is paintedstd::nullopt
, that shadow line style is usedstd::nullopt
value: they are mutually exclusiveconst std::optional< FillStyle > & luciad::EditSettings::getShadowFillStyle | ( | ) | const |
Returns the fill style that is used when a shadow version of a geometry is painted.
std::shared_ptr< IIcon > luciad::EditSettings::getShadowIcon | ( | ) | const |
Returns the icon that is used when a shadow version of a geometry is painted.
const std::optional< LineStyle > & luciad::EditSettings::getShadowLineStyle | ( | ) | const |
Returns the line style that is used for shadow lines.
This method is linked to the getShadowComplexStrokeLineStyle
method:
std::nullopt
, no shadow line is paintedstd::nullopt
, that shadow line style is usedstd::nullopt
value: they are mutually exclusiveMouseButton luciad::EditSettings::getTranslateButton | ( | ) | const |
Returns the mouse button that is used for translate handles.
MouseCursor luciad::EditSettings::getTranslateCursor | ( | ) | const |
Returns the cursor that is used for translate handles.
ModifierKeys luciad::EditSettings::getTranslateModifierKeys | ( | ) | const |
Returns the modifier keys that are used by the translate handles.
const std::optional< ComplexStrokeLineStyle > & luciad::EditSettings::getVisualAidComplexStrokeLineStyle | ( | ) | const |
Returns the complex stroke line style that is used for visual aid lines.
This method is linked to the getVisualAidLineStyle
method:
std::nullopt
, no visual aid line is paintedstd::nullopt
, that visual aid line style is usedstd::nullopt
value: they are mutually exclusiveconst std::optional< LineStyle > & luciad::EditSettings::getVisualAidLineStyle | ( | ) | const |
Returns the line style that is used for visual aid lines.
This method is linked to the getVisualAidComplexStrokeLineStyle
method:
std::nullopt
, no visual aid line is paintedstd::nullopt
, that visual aid line style is usedstd::nullopt
value: they are mutually exclusivevoid luciad::EditSettings::setAuxiliaryHandleIconActive | ( | std::shared_ptr< IIcon > | icon | ) |
void luciad::EditSettings::setAuxiliaryHandleIconHighlighted | ( | std::shared_ptr< IIcon > | icon | ) |
Sets the auxiliary icon for highlighted
handles.
Can be nullptr
. In that case no icon is painted.
icon | the auxiliary icon for highlighted . |
void luciad::EditSettings::setAuxiliaryHandleIconRegular | ( | std::shared_ptr< IIcon > | icon | ) |
void luciad::EditSettings::setComplexStrokeOutlineStyleActive | ( | std::optional< ComplexStrokeLineStyle > | style | ) |
Sets the complex stroke line style that is used for active
handles that paint an outline.
Only one active line style can be set, if this function is called with a non std::nullopt
value when a LineStyle
has already been set, it will be overwritten.
style | the complex stroke line style that is used for active handles that paint an outline. |
void luciad::EditSettings::setComplexStrokeOutlineStyleHighlighted | ( | std::optional< ComplexStrokeLineStyle > | style | ) |
Sets the complex stroke line style that is used for highlighted
handles that paint an outline.
Only one active line style can be set, if this function is called with a non std::nullopt
value when a LineStyle
has already been set, it will be overwritten.
style | the complex stroke line style that is used for highlighted handles that paint an outline. |
void luciad::EditSettings::setComplexStrokeOutlineStyleRegular | ( | std::optional< ComplexStrokeLineStyle > | style | ) |
Sets the complex stroke line style that is used for inactive
handles that paint an outline.
Only one active line style can be set, if this function is called with a non std::nullopt
value when a LineStyle
has already been set, it will be overwritten.
style | the complex stroke line style that is used for inactive handles that paint an outline. |
void luciad::EditSettings::setElevationButton | ( | MouseButton | button | ) |
Sets the mouse button that is used by handles to modify elevation.
button | the mouse button that is used by handles to modify elevation |
void luciad::EditSettings::setElevationCursor | ( | MouseCursor | cursor | ) |
Sets the cursor that is used for handles that manipulate elevation.
cursor | the cursor that is used for handles that manipulate elevation |
void luciad::EditSettings::setElevationModifierKeys | ( | ModifierKeys | modifierKeys | ) |
Sets the modifier keys that are used by handles to modify elevation.
modifierKeys | the modifier keys that are used by handles to modify elevation |
void luciad::EditSettings::setHandleIconActive | ( | std::shared_ptr< IIcon > | icon | ) |
void luciad::EditSettings::setHandleIconHighlighted | ( | std::shared_ptr< IIcon > | icon | ) |
Sets the icon for highlighted
handles.
Can be nullptr
. In that case no icon is painted.
icon | the icon for highlighted handles. |
void luciad::EditSettings::setHandleIconRegular | ( | std::shared_ptr< IIcon > | icon | ) |
void luciad::EditSettings::setInsertButton | ( | MouseButton | button | ) |
Sets the mouse button that is used by handles to insert something.
button | the mouse button that is used by handles to insert something |
void luciad::EditSettings::setInsertCursor | ( | MouseCursor | cursor | ) |
Sets the cursor that is used for handles that insert something.
cursor | the cursor that is used for handles that insert something |
void luciad::EditSettings::setInsertModifierKeys | ( | ModifierKeys | modifierKeys | ) |
Sets the modifier keys that are used by handles to insert something.
modifierKeys | the modifier keys that are used by handles to insert something |
void luciad::EditSettings::setMoveButton | ( | MouseButton | button | ) |
Sets the mouse button that is used by handles to move something.
button | the mouse button that is used by handles to move something |
void luciad::EditSettings::setMoveCursor | ( | MouseCursor | cursor | ) |
Sets the cursor that is used for handles that move something.
cursor | the cursor that is used for handles that move something |
void luciad::EditSettings::setMoveModifierKeys | ( | ModifierKeys | modifierKeys | ) |
Sets the modifier keys that are used by handles to move something.
modifierKeys | the modifier keys that are used by handles to move something |
void luciad::EditSettings::setOutlineStyleActive | ( | std::optional< LineStyle > | style | ) |
Sets the line style that is used for active
handles that paint an outline.
Only one active line style can be set, if this function is called with a non std::nullopt
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
style | the line style that is used for active handles that paint an outline. |
void luciad::EditSettings::setOutlineStyleHighlighted | ( | std::optional< LineStyle > | style | ) |
Sets the line style that is used for highlighted
handles that paint an outline.
Only one highlighted line style can be set, if this function is called with a non std::nullopt
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
style | the line style that is used for highlighted handles that paint an outline. |
void luciad::EditSettings::setOutlineStyleRegular | ( | std::optional< LineStyle > | style | ) |
Sets the line style that is used for inactive
handles that paint an outline.
Only one regular line style can be set, if this function is called with a non std::nullopt
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
style | the line style that is used for handles that manipulate an outline in a EditHandleState::Inactive state. |
void luciad::EditSettings::setPrependAppendButton | ( | MouseButton | button | ) |
Sets the mouse button that is used by handles that prepend or append something.
button | the mouse button that is used by handles that prepend or append something |
void luciad::EditSettings::setPrependAppendCursor | ( | MouseCursor | cursor | ) |
Sets the cursor that is used for handles that prepend or append something.
cursor | the cursor that is used for handles that prepend or append something |
void luciad::EditSettings::setPrependAppendModifierKeys | ( | ModifierKeys | modifierKeys | ) |
Sets the modifier keys that are used by handles to prepend or append something.
modifierKeys | the modifier keys that are used by handles to prepend or append something |
void luciad::EditSettings::setRemoveButton | ( | MouseButton | button | ) |
Sets the mouse button that is used by handles to remove something.
button | the mouse button that is used by handles to remove something |
void luciad::EditSettings::setRemoveCursor | ( | MouseCursor | cursor | ) |
Sets the cursor that is used for handles that remove something.
cursor | the cursor that is used for handles that remove something |
void luciad::EditSettings::setRemoveModifierKeys | ( | ModifierKeys | modifierKeys | ) |
Sets the modifier keys that are used by handles to remove something.
modifierKeys | the modifier keys that are used by handles to remove something |
void luciad::EditSettings::setShadowComplexStrokeLineStyle | ( | std::optional< ComplexStrokeLineStyle > | style | ) |
Sets the complex stroke line style that is used for shadow lines.
Only one shadow line style can be set, if this function is called with a non std::nullopt
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
style | the complex stroke line style that is used for shadow lines. |
void luciad::EditSettings::setShadowFillStyle | ( | std::optional< FillStyle > | style | ) |
Sets the fill style that is used when a shadow version of a geometry is painted.
Setting this to std::nullopt
means the shadow version of the geometry won't have a fill style.
style | fill style that is used when a shadow version of a geometry is painted. |
void luciad::EditSettings::setShadowIcon | ( | std::shared_ptr< IIcon > | icon | ) |
Sets the icon that is used when a shadow version of a geometry is painted.
Can be nullptr
. In that case no icon is painted.
icon | the icon that is used when a shadow version of a geometry is painted. |
void luciad::EditSettings::setShadowLineStyle | ( | std::optional< LineStyle > | style | ) |
Sets the line style that is used for shadow lines.
Only one shadow line style can be set, if this function is called with a non std::nullopt
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
style | the line style that is used for shadow lines. |
void luciad::EditSettings::setTranslateButton | ( | MouseButton | button | ) |
Sets the mouse button that is used for translate handles.
button | the mouse button that is used for translate handles |
void luciad::EditSettings::setTranslateCursor | ( | MouseCursor | cursor | ) |
Sets the cursor that is used for translate handles.
cursor | the cursor that is used for translate handles |
void luciad::EditSettings::setTranslateModifierKeys | ( | ModifierKeys | modifierKeys | ) |
Sets the modifier keys that are used by the translate handles.
modifierKeys | the modifier keys that are used by the translate handles |
void luciad::EditSettings::setVisualAidComplexStrokeLineStyle | ( | std::optional< ComplexStrokeLineStyle > | style | ) |
Sets the complex stroke line style that is used for visual aid lines.
Only one visual aid line style can be set, if this function is called with a non std::nullopt
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
style | the complex stroke line style that is used for visual aid lines. |
void luciad::EditSettings::setVisualAidLineStyle | ( | std::optional< LineStyle > | style | ) |
Sets the line style that is used for visual aid lines.
Only one visual aid line style can be set, if this function is called with a non std::nullopt
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
style | the line style that is used for visual aid lines. |