Open CASCADE Technology  7.0.0
Public Member Functions
OpenGl_SurfaceDetailState Class Reference

Defines generic state of OCCT surface detail. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_SurfaceDetailState:
Inheritance graph
[legend]

Public Member Functions

 OpenGl_SurfaceDetailState (const Graphic3d_TypeOfSurfaceDetail theDetail=Graphic3d_TOD_NONE)
 Creates new surface detail state. More...
 
void Set (const Graphic3d_TypeOfSurfaceDetail theDetail)
 Sets new surface detail. More...
 
Graphic3d_TypeOfSurfaceDetail Detail () const
 Returns surface detail. More...
 
- Public Member Functions inherited from OpenGl_StateInterface
 OpenGl_StateInterface ()
 Creates new state. More...
 
Standard_Size Index () const
 Returns current state index. More...
 
void Update ()
 Increment current state. More...
 

Additional Inherited Members

- Protected Attributes inherited from OpenGl_StateInterface
Standard_Size myIndex
 current state index More...
 

Detailed Description

Defines generic state of OCCT surface detail.

Constructor & Destructor Documentation

OpenGl_SurfaceDetailState::OpenGl_SurfaceDetailState ( const Graphic3d_TypeOfSurfaceDetail  theDetail = Graphic3d_TOD_NONE)
inline

Creates new surface detail state.

Member Function Documentation

Graphic3d_TypeOfSurfaceDetail OpenGl_SurfaceDetailState::Detail ( ) const
inline

Returns surface detail.

void OpenGl_SurfaceDetailState::Set ( const Graphic3d_TypeOfSurfaceDetail  theDetail)
inline

Sets new surface detail.


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