#include <GiSelectionStyle.h>
|
| int | makeEntryId (bool bDrawOnTop, bool bDrawIn3d) const |
| |
This class represents selection style data. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 36 of file GiSelectionStyle.h.
◆ FaceStyle
◆ OdGiSelectionStyle()
| OdGiSelectionStyle::OdGiSelectionStyle |
( |
| ) |
|
|
inline |
◆ exchangeTopBottom()
| void OdGiSelectionStyle::exchangeTopBottom |
( |
bool | bFor2d = true, |
|
|
bool | bFor3d = true ) |
|
inline |
Exchanges "draw on top" style components with scene geometry style components for specified selection style configurations.
- Parameters
-
| bFor2d | [in] Exchange components for 2d selection style. |
| bFor3d | [in] Exchange components for 3d selection style. |
Definition at line 558 of file GiSelectionStyle.h.
◆ isOnTopOfDepth()
| bool OdGiSelectionStyle::isOnTopOfDepth |
( |
| ) |
const |
|
inline |
Returns current state of "draw on top of depth" flag.
- Returns
- true if the "draw on top of depth" flag is set, false otherwise.
Definition at line 577 of file GiSelectionStyle.h.
◆ makeEntryId()
| int OdGiSelectionStyle::makeEntryId |
( |
bool | bDrawOnTop, |
|
|
bool | bDrawIn3d ) const |
|
inlineprotected |
◆ setAsDisabled()
| void OdGiSelectionStyle::setAsDisabled |
( |
| ) |
|
|
inline |
Disables diplay of scene geometry and all visual effects.
Definition at line 586 of file GiSelectionStyle.h.
◆ setByDefault()
| void OdGiSelectionStyle::setByDefault |
( |
| ) |
|
|
inline |
Sets up selection style display scene geometry as is, without any visual effects.
Definition at line 582 of file GiSelectionStyle.h.
◆ setForColorMasking()
| void OdGiSelectionStyle::setForColorMasking |
( |
| ) |
|
|
inline |
Sets up selection style for default color masking behavior. Draws semi-transparent faces and edges on top of scene geometry. Additionally enables edges width extension and rendering of 3d geometry isolines.
Definition at line 596 of file GiSelectionStyle.h.
◆ setForStippling()
| void OdGiSelectionStyle::setForStippling |
( |
| ) |
|
|
inline |
Sets up selection style to display classing stippling pattern highlighting visual effect. Renders original object with stippling pattern. Doesn't render any geometry on top.
Definition at line 591 of file GiSelectionStyle.h.
◆ setOnTopOfDepth()
| void OdGiSelectionStyle::setOnTopOfDepth |
( |
bool | bSet | ) |
|
|
inline |
By default "draw on top" style redered on top of order, but with this flag it can be rendered on top of depth in 3d rendering modes.
- Parameters
-
| bSet | [in] New value for "draw on top of depth" flag. |
Definition at line 568 of file GiSelectionStyle.h.
◆ styleFor() [1/2]
Returns editable combination of face and edge styles for specified selection style configuration.
- Parameters
-
| bDrawOnTop | [in] If set to true - returns "draw on top" selection styles, elsewhere returns scene geometry style. |
| bDrawIn3d | [in] If set to true - returns 3d selection style, elsewhere returns 2d selection style. |
- Returns
- Reference to StyleEntry for specified selection style configuration.
Definition at line 530 of file GiSelectionStyle.h.
◆ styleFor() [2/2]
| const StyleEntry & OdGiSelectionStyle::styleFor |
( |
bool | bDrawOnTop = false, |
|
|
bool | bDrawIn3d = false ) const |
|
inline |
Returns combination of face and edge styles for specified selection style configuration.
- Parameters
-
| bDrawOnTop | [in] If set to true - returns "draw on top" selection styles, elsewhere returns scene geometry style. |
| bDrawIn3d | [in] If set to true - returns 3d selection style, elsewhere returns 2d selection style. |
- Returns
- Constant reference to StyleEntry for specified selection style configuration.
Definition at line 539 of file GiSelectionStyle.h.
◆ sync2d()
| void OdGiSelectionStyle::sync2d |
( |
| ) |
|
|
inline |
Copies 3d selection style configuration into 2d selection style configuration (copies both top and bottom style components).
Definition at line 550 of file GiSelectionStyle.h.
◆ sync3d()
| void OdGiSelectionStyle::sync3d |
( |
| ) |
|
|
inline |
Copies 2d selection style configuration into 3d selection style configuration (copies both top and bottom style components).
Definition at line 545 of file GiSelectionStyle.h.
◆ m_styleEntry
The documentation for this class was generated from the following file: