Open CASCADE Technology
6.8.0
|
#include <Graphic3d_ZLayerSettings.hxx>
Public Member Functions | |
Graphic3d_ZLayerSettings () | |
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... | |
|
inline |
|
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.