Open CASCADE Technology  7.2.0
Static Public Member Functions

StdPrs_ShadedSurface Class Reference

Computes the shading presentation of surfaces. Draws a surface by drawing the isoparametric curves with respect to a maximal chordial deviation. The number of isoparametric curves to be drawn and their color are controlled by the furnished Drawer. More...

#include <StdPrs_ShadedSurface.hxx>

Inheritance diagram for StdPrs_ShadedSurface:
Inheritance graph
[legend]

Static Public Member Functions

static void Add (const Handle< Prs3d_Presentation > &aPresentation, const Adaptor3d_Surface &aSurface, const Handle< Prs3d_Drawer > &aDrawer)
 Adds the surface aSurface to the presentation object aPresentation. The surface's display attributes are set in the attribute manager aDrawer. The surface object from Adaptor3d provides data from a Geom surface in order to use the surface in an algorithm. More...
 
- Static Public Member Functions inherited from Prs3d_Root
static Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 Returns the current (last created) group of primititves inside graphic objects in the display. A group also contains the attributes whose ranges are limited to the primitives in it. More...
 
static Handle< Graphic3d_GroupNewGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 Returns the new group of primitives inside graphic objects in the display. A group also contains the attributes whose ranges are limited to the primitives in it. More...
 

Detailed Description

Computes the shading presentation of surfaces. Draws a surface by drawing the isoparametric curves with respect to a maximal chordial deviation. The number of isoparametric curves to be drawn and their color are controlled by the furnished Drawer.

Member Function Documentation

◆ Add()

static void StdPrs_ShadedSurface::Add ( const Handle< Prs3d_Presentation > &  aPresentation,
const Adaptor3d_Surface aSurface,
const Handle< Prs3d_Drawer > &  aDrawer 
)
static

Adds the surface aSurface to the presentation object aPresentation. The surface's display attributes are set in the attribute manager aDrawer. The surface object from Adaptor3d provides data from a Geom surface in order to use the surface in an algorithm.


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