Open CASCADE Technology  6.8.0
Static Public Member Functions
StdPrs_ShadedShape Class Reference

Auxiliary procedures to prepare Shaded presentation of specified shape. More...

#include <StdPrs_ShadedShape.hxx>

Inheritance diagram for StdPrs_ShadedShape:
Inheritance graph
[legend]

Static Public Member Functions

static void Add (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Boolean theToExploreSolids=Standard_True)
 Shades <theShape>. More...
 
static void Add (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Boolean theHasTexels, const gp_Pnt2d &theUVOrigin, const gp_Pnt2d &theUVRepeat, const gp_Pnt2d &theUVScale, const Standard_Boolean theToExploreSolids=Standard_True)
 Shades <theShape> with texture coordinates. More...
 
static void Tessellate (const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer)
 Validates triangulation within the shape and performs tessellation if necessary. More...
 
- Static Public Member Functions inherited from Prs3d_Root
static Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &Prs3d)
 Returns the current 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 > &Prs3d)
 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

Auxiliary procedures to prepare Shaded presentation of specified shape.

Member Function Documentation

static void StdPrs_ShadedShape::Add ( const Handle< Prs3d_Presentation > &  thePresentation,
const TopoDS_Shape theShape,
const Handle< Prs3d_Drawer > &  theDrawer,
const Standard_Boolean  theToExploreSolids = Standard_True 
)
static

Shades <theShape>.

Parameters
theToExploreSolidswhen set to true, explodes compound into two groups - with closed Solids and open Shells
static void StdPrs_ShadedShape::Add ( const Handle< Prs3d_Presentation > &  thePresentation,
const TopoDS_Shape theShape,
const Handle< Prs3d_Drawer > &  theDrawer,
const Standard_Boolean  theHasTexels,
const gp_Pnt2d theUVOrigin,
const gp_Pnt2d theUVRepeat,
const gp_Pnt2d theUVScale,
const Standard_Boolean  theToExploreSolids = Standard_True 
)
static

Shades <theShape> with texture coordinates.

Parameters
theToExploreSolidswhen set to true, explodes compound into two groups - with closed Solids and open Shells
static void StdPrs_ShadedShape::Tessellate ( const TopoDS_Shape theShape,
const Handle< Prs3d_Drawer > &  theDrawer 
)
static

Validates triangulation within the shape and performs tessellation if necessary.


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