Open CASCADE Technology  7.0.0
Public Member Functions | Data Fields
Graphic3d_ZLayerSettings Struct Reference

Structure defines list of ZLayer properties. More...

#include <Graphic3d_ZLayerSettings.hxx>

Public Member Functions

 Graphic3d_ZLayerSettings ()
 Default settings. More...
 
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...
 

Detailed Description

Structure defines list of ZLayer properties.

Constructor & Destructor Documentation

Graphic3d_ZLayerSettings::Graphic3d_ZLayerSettings ( )
inline

Default settings.

Member Function Documentation

void Graphic3d_ZLayerSettings::DisableSetting ( const Graphic3d_ZLayerSetting  theSetting)
inline

Disables theSetting.

void Graphic3d_ZLayerSettings::EnableSetting ( const Graphic3d_ZLayerSetting  theSetting)
inline

Enables theSetting.

Standard_Boolean Graphic3d_ZLayerSettings::IsSettingEnabled ( const Graphic3d_ZLayerSetting  theSetting) const
inline

Returns true if theSetting is enabled.

void Graphic3d_ZLayerSettings::SetDepthOffsetNegative ( )
inline

Sets minimal possible negative depth offset. Access DepthOffsetFactor and DepthOffsetUnits values for manual offset control.

void Graphic3d_ZLayerSettings::SetDepthOffsetPositive ( )
inline

Sets minimal possible positive depth offset. Access DepthOffsetFactor and DepthOffsetUnits values for manual offset control.

Field Documentation

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


The documentation for this struct was generated from the following file: