Open CASCADE Technology: OpenGl_CappingAlgo Class Reference

Open CASCADE Technology 6.9.1

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Static Public Member Functions
OpenGl_CappingAlgo Class Reference

Capping surface rendering algorithm. More...

`#include <OpenGl_CappingAlgo.hxx>`

## Static Public Member Functions
static void | RenderCapping (const Handle< OpenGl_Workspace > &theWorkspace, const Graphic3d_SequenceOfGroup &theGroups)
| Draw capping surfaces by OpenGl for the clipping planes enabled in current context state. Depth buffer must be generated for the passed groups. More...
static void | RenderPlane (const Handle< OpenGl_Workspace > &theWorkspace, const Handle< Graphic3d_ClipPlane > &thePlane)
| Render infinite capping plane. More...

## Detailed Description

Capping surface rendering algorithm.

## Member Function Documentation

static void OpenGl_CappingAlgo::RenderCapping | ( | const Handle< OpenGl_Workspace > & | theWorkspace,
|  | const Graphic3d_SequenceOfGroup & | theGroups
| ) |  |
| static

Draw capping surfaces by OpenGl for the clipping planes enabled in current context state. Depth buffer must be generated for the passed groups.

Parameters

  theWorkspace | [in] the GL workspace, context state.
  theGroups | [in] the group of primitives to be capped.

static void OpenGl_CappingAlgo::RenderPlane | ( | const Handle< OpenGl_Workspace > & | theWorkspace,
|  | const Handle< Graphic3d_ClipPlane > & | thePlane
| ) |  |
| static

Render infinite capping plane.

Parameters

  theWorkspace | [in] the GL workspace, context state.
  thePlane | [in] the graphical plane, for which the capping surface is rendered.

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

- OpenGl_CappingAlgo.hxx