Open CASCADE Technology  7.1.0.beta
Static Public Member Functions

DsgPrs_ShapeDirPresentation Class Reference

A framework to define display of the normal to the surface of a shape. More...

#include <DsgPrs_ShapeDirPresentation.hxx>

Static Public Member Functions

static void Add (const Handle< Prs3d_Presentation > &prs, const Handle< Prs3d_Drawer > &aDrawer, const TopoDS_Shape &shape, const Standard_Integer mode)
 Adds the shape shape and the mode mode to the presentation object prs. The display attributes of the normal are defined by the attribute manager aDrawer. mode determines whether the first or the last point of the normal is given to the presentation object. If the first point: 0; if the last point, 1. More...
 

Detailed Description

A framework to define display of the normal to the surface of a shape.

Member Function Documentation

static void DsgPrs_ShapeDirPresentation::Add ( const Handle< Prs3d_Presentation > &  prs,
const Handle< Prs3d_Drawer > &  aDrawer,
const TopoDS_Shape shape,
const Standard_Integer  mode 
)
static

Adds the shape shape and the mode mode to the presentation object prs. The display attributes of the normal are defined by the attribute manager aDrawer. mode determines whether the first or the last point of the normal is given to the presentation object. If the first point: 0; if the last point, 1.


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