#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 418 of file GiSelectionStyle.h.
◆ isOnTopOfDepth()
bool OdGiSelectionStyle::isOnTopOfDepth |
( |
| ) |
const |
|
inline |
◆ makeEntryId()
int OdGiSelectionStyle::makeEntryId |
( |
bool |
bDrawOnTop, |
|
|
bool |
bDrawIn3d |
|
) |
| const |
|
inlineprotected |
◆ setAsDisabled()
void OdGiSelectionStyle::setAsDisabled |
( |
| ) |
|
|
inline |
Disable diplaying of scene geometry and all visual effects.
Definition at line 444 of file GiSelectionStyle.h.
◆ setByDefault()
void OdGiSelectionStyle::setByDefault |
( |
| ) |
|
|
inline |
Setup selection style display scene geometry as is, without any visual effects.
Definition at line 440 of file GiSelectionStyle.h.
◆ setForColorMasking()
void OdGiSelectionStyle::setForColorMasking |
( |
| ) |
|
|
inline |
Setup selection style for default color masking behavior. Draw semi-transparent faces and edges on top of scene geometry. Additionally enables edges width extension and rendering of 3d geometry isolines.
Definition at line 454 of file GiSelectionStyle.h.
◆ setForStippling()
void OdGiSelectionStyle::setForStippling |
( |
| ) |
|
|
inline |
Setup selection style to display classing stippling pattern highlighting visual effect. Renders original object with stippling pattern. Don't render any geometry on top.
Definition at line 449 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 428 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. |
Definition at line 392 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. |
Definition at line 399 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 410 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 405 of file GiSelectionStyle.h.
◆ m_styleEntry
The documentation for this class was generated from the following file: