#include <GiSelectionStyle.h>
Basic element style data actual for edges and faces.
Definition at line 127 of file GiSelectionStyle.h.
◆ ElementFlags
| Enumerator |
|---|
| kDrawElement | |
| kPatternElement | |
| kMaskElement | |
| kGOnTopOfDepth | |
| kGlobalFlags | |
| kLastElementStyleFlag | |
Definition at line 130 of file GiSelectionStyle.h.
◆ ElementStyle()
| OdGiSelectionStyle::ElementStyle::ElementStyle |
( |
| ) |
|
|
inline |
◆ colorMask() [1/2]
| ColorMask & OdGiSelectionStyle::ElementStyle::colorMask |
( |
| ) |
|
|
inline |
Returns current color mask properties editable container.
- Returns
- Current color mask properties as reference to a ColorMask object.
Definition at line 196 of file GiSelectionStyle.h.
◆ colorMask() [2/2]
| const ColorMask & OdGiSelectionStyle::ElementStyle::colorMask |
( |
| ) |
const |
|
inline |
Returns current color mask properties container.
- Returns
- Current color mask properties as reference to a ColorMask object.
Definition at line 190 of file GiSelectionStyle.h.
◆ enableColorMasking()
| void OdGiSelectionStyle::ElementStyle::enableColorMasking |
( |
bool | bEnable | ) |
|
|
inline |
Enables or disables application of color mask for current graphics element.
- Parameters
-
| bEnable | [in] New color mask displaying state. |
Definition at line 177 of file GiSelectionStyle.h.
◆ enablePattern()
| void OdGiSelectionStyle::ElementStyle::enablePattern |
( |
bool | bEnable | ) |
|
|
inline |
Enables or disables stippling pattern highlighting for current graphics element.
- Parameters
-
| bEnable | [in] New stippling pattern visibility state. |
Definition at line 165 of file GiSelectionStyle.h.
◆ hasEffect()
| bool OdGiSelectionStyle::ElementStyle::hasEffect |
( |
| ) |
const |
|
inline |
Checks whether any type of visual effect can be applied to a current element with current configuration.
- Returns
- true in case if any type of visual effect (like stippling pattern or color mask) is applicable for current configuration of graphics element.
Definition at line 211 of file GiSelectionStyle.h.
◆ isColorMaskingEnabled()
| bool OdGiSelectionStyle::ElementStyle::isColorMaskingEnabled |
( |
| ) |
const |
|
inline |
Checks whether color masking is enabled for current graphics element.
- Returns
- current color mask application state for current graphics element.
Definition at line 183 of file GiSelectionStyle.h.
◆ isOnTopOfDepth()
| bool OdGiSelectionStyle::ElementStyle::isOnTopOfDepth |
( |
| ) |
const |
|
inline |
Checks whether current graphics element should be displayed on top of scene graphics in 3d rendering modes.
- Returns
- true if current graphics element is displayed on top of scene graphics in 3d rendering modes, false otherwise.
Definition at line 203 of file GiSelectionStyle.h.
◆ isPatternEnabled()
| bool OdGiSelectionStyle::ElementStyle::isPatternEnabled |
( |
| ) |
const |
|
inline |
Checks whether current graphics element is enabled.
- Returns
- current stippling pattern visibility state for current graphics element.
Definition at line 171 of file GiSelectionStyle.h.
◆ isVisible()
| bool OdGiSelectionStyle::ElementStyle::isVisible |
( |
| ) |
const |
|
inline |
Checks whether current graphics element is visible.
- Returns
- Current visibility state of current graphics element.
Definition at line 159 of file GiSelectionStyle.h.
◆ operator!=()
| bool OdGiSelectionStyle::ElementStyle::operator!= |
( |
const ElementStyle & | secStyle | ) |
const |
|
inline |
Inequality operator for the ElementStyle class.
- Parameters
-
| secStyle | [in] Element style to compare. |
- Returns
- true if at least one of the following conditions fails: Element flags are equal. Color masks are equal.
Definition at line 251 of file GiSelectionStyle.h.
◆ operator==()
| bool OdGiSelectionStyle::ElementStyle::operator== |
( |
const ElementStyle & | secStyle | ) |
const |
|
inline |
Equality operator for the ElementStyle class.
- Parameters
-
| secStyle | [in] Element style to compare. |
- Returns
- true if all the following conditions are met: Element flags are equal. Color masks are equal.
Definition at line 239 of file GiSelectionStyle.h.
◆ setAsDisabled()
| void OdGiSelectionStyle::ElementStyle::setAsDisabled |
( |
| ) |
|
|
inline |
Disable diplaying of graphics element and all visual effects.
Definition at line 220 of file GiSelectionStyle.h.
◆ setByDefault()
| void OdGiSelectionStyle::ElementStyle::setByDefault |
( |
| ) |
|
|
inline |
Setup graphics element to display geometry as is, without any visual effects.
Definition at line 216 of file GiSelectionStyle.h.
◆ setForColorMasking()
| void OdGiSelectionStyle::ElementStyle::setForColorMasking |
( |
| ) |
|
|
inline |
Setup graphics element to display color mask visual effect with some predefined color and transparency.
Definition at line 228 of file GiSelectionStyle.h.
◆ setForStippling()
| void OdGiSelectionStyle::ElementStyle::setForStippling |
( |
| ) |
|
|
inline |
Setup graphics element to display stippling pattern highlighting visual effect.
Definition at line 224 of file GiSelectionStyle.h.
◆ setVisible()
| void OdGiSelectionStyle::ElementStyle::setVisible |
( |
bool | bVisible | ) |
|
|
inline |
Enables or disables visibility of current graphics element.
- Parameters
-
| bVisible | [in] New element visibility state. |
Definition at line 153 of file GiSelectionStyle.h.
◆ m_colorMask
| ColorMask OdGiSelectionStyle::ElementStyle::m_colorMask |
|
protected |
◆ m_nFlags
| OdUInt32 OdGiSelectionStyle::ElementStyle::m_nFlags |
|
protected |
The documentation for this class was generated from the following file: