|
Open CASCADE Technology
6.9.0
|
Structure defines list of ZLayer properties. More...
#include <Graphic3d_ZLayerSettings.hxx>
Public Member Functions | |
| Graphic3d_ZLayerSettings () | |
| Default settings. More... | |
| const Standard_Boolean | IsSettingEnabled (const Graphic3d_ZLayerSetting theSetting) const |
| Returns true if theSetting is enabled. More... | |
| void | EnableSetting (const Graphic3d_ZLayerSetting theSetting) |
| Enables theSetting. More... | |
| void | DisableSetting (const Graphic3d_ZLayerSetting theSetting) |
| Disables theSetting. More... | |
| void | SetDepthOffsetPositive () |
| Sets minimal possible positive depth offset. Access DepthOffsetFactor and DepthOffsetUnits values for manual offset control. More... | |
| void | SetDepthOffsetNegative () |
| Sets minimal possible negative depth offset. Access DepthOffsetFactor and DepthOffsetUnits values for manual offset control. More... | |
Data Fields | |
| Standard_ShortReal | DepthOffsetFactor |
| factor argument value for OpenGl glPolygonOffset function More... | |
| Standard_ShortReal | DepthOffsetUnits |
| units argument value for OpenGl glPolygonOffset function More... | |
| Standard_Integer | Flags |
| storage field for settings More... | |
| bool | IsImmediate |
| immediate layer will be drawn after all normal layers More... | |
Structure defines list of ZLayer properties.
|
inline |
Default settings.
|
inline |
Disables theSetting.
|
inline |
Enables theSetting.
|
inline |
Returns true if theSetting is enabled.
|
inline |
Sets minimal possible negative depth offset. Access DepthOffsetFactor and DepthOffsetUnits values for manual offset control.
|
inline |
Sets minimal possible positive depth offset. Access DepthOffsetFactor and DepthOffsetUnits values for manual offset control.
| Standard_ShortReal Graphic3d_ZLayerSettings::DepthOffsetFactor |
factor argument value for OpenGl glPolygonOffset function
| Standard_ShortReal Graphic3d_ZLayerSettings::DepthOffsetUnits |
units argument value for OpenGl glPolygonOffset function
| Standard_Integer Graphic3d_ZLayerSettings::Flags |
storage field for settings
| bool Graphic3d_ZLayerSettings::IsImmediate |
immediate layer will be drawn after all normal layers
1.8.5