Open CASCADE Technology  6.9.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 StdPrs_Volume theVolume=StdPrs_Volume_Autodetection)
 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 StdPrs_Volume theVolume=StdPrs_Volume_Autodetection)
 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 void ExploreSolids (const TopoDS_Shape &theShape, const BRep_Builder &theBuilder, TopoDS_Compound &theClosed, TopoDS_Compound &theOpened, const Standard_Boolean theIgnore1DSubShape)
 Searches closed and unclosed subshapes in shape structure and puts them into two compounds for separate processing of closed and unclosed sub-shapes. 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 StdPrs_Volume  theVolume = StdPrs_Volume_Autodetection 
)
static

Shades <theShape>.

Parameters
theVolumeTypedefines the way how to interpret input shapes - as Closed volumes (to activate back-face culling and capping plane algorithms), as Open volumes (shells or solids with holes) or to perform Autodetection (would split input shape into two groups)
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 StdPrs_Volume  theVolume = StdPrs_Volume_Autodetection 
)
static

Shades <theShape> with texture coordinates.

Parameters
theVolumeTypedefines the way how to interpret input shapes - as Closed volumes (to activate back-face culling and capping plane algorithms), as Open volumes (shells or solids with holes) or to perform Autodetection (would split input shape into two groups)
static void StdPrs_ShadedShape::ExploreSolids ( const TopoDS_Shape theShape,
const BRep_Builder theBuilder,
TopoDS_Compound theClosed,
TopoDS_Compound theOpened,
const Standard_Boolean  theIgnore1DSubShape 
)
static

Searches closed and unclosed subshapes in shape structure and puts them into two compounds for separate processing of closed and unclosed sub-shapes.

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: