Open CASCADE Technology  7.4.0
Static Public Member Functions
StdPrs_BndBox Class Reference

Tool for computing bounding box presentation. More...

#include <StdPrs_BndBox.hxx>

Inheritance diagram for StdPrs_BndBox:
Inheritance graph
[legend]

Static Public Member Functions

static void Add (const Handle< Prs3d_Presentation > &thePresentation, const Bnd_Box &theBndBox, const Handle< Prs3d_Drawer > &theDrawer)
 Computes presentation of a bounding box. More...
 
static void Add (const Handle< Prs3d_Presentation > &thePresentation, const Bnd_OBB &theBndBox, const Handle< Prs3d_Drawer > &theDrawer)
 Computes presentation of a bounding box. More...
 
static Handle< Graphic3d_ArrayOfSegmentsFillSegments (const Bnd_OBB &theBox)
 Create primitive array with line segments for displaying a box. More...
 
static Handle< Graphic3d_ArrayOfSegmentsFillSegments (const Bnd_Box &theBox)
 Create primitive array with line segments for displaying a box. More...
 
static void FillSegments (const Handle< Graphic3d_ArrayOfSegments > &theSegments, const Bnd_OBB &theBox)
 Create primitive array with line segments for displaying a box. More...
 
static void FillSegments (const Handle< Graphic3d_ArrayOfSegments > &theSegments, const Bnd_Box &theBox)
 Create primitive array with line segments for displaying a box. More...
 
static void fillSegments (const Handle< Graphic3d_ArrayOfSegments > &theSegments, const gp_Pnt *theBox)
 Create primitive array with line segments for displaying a box. 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

Tool for computing bounding box presentation.

Member Function Documentation

◆ Add() [1/2]

static void StdPrs_BndBox::Add ( const Handle< Prs3d_Presentation > &  thePresentation,
const Bnd_Box theBndBox,
const Handle< Prs3d_Drawer > &  theDrawer 
)
static

Computes presentation of a bounding box.

Parameters
thePresentation[in] the presentation.
theBndBox[in] the bounding box.
theDrawer[in] the drawer.

◆ Add() [2/2]

static void StdPrs_BndBox::Add ( const Handle< Prs3d_Presentation > &  thePresentation,
const Bnd_OBB theBndBox,
const Handle< Prs3d_Drawer > &  theDrawer 
)
static

Computes presentation of a bounding box.

Parameters
thePresentation[in] the presentation.
theBndBox[in] the bounding box.
theDrawer[in] the drawer.

◆ FillSegments() [1/4]

static Handle< Graphic3d_ArrayOfSegments > StdPrs_BndBox::FillSegments ( const Bnd_OBB theBox)
inlinestatic

Create primitive array with line segments for displaying a box.

Parameters
theBox[in] the box to add

◆ FillSegments() [2/4]

static Handle< Graphic3d_ArrayOfSegments > StdPrs_BndBox::FillSegments ( const Bnd_Box theBox)
inlinestatic

Create primitive array with line segments for displaying a box.

Parameters
theBox[in] the box to add

◆ FillSegments() [3/4]

static void StdPrs_BndBox::FillSegments ( const Handle< Graphic3d_ArrayOfSegments > &  theSegments,
const Bnd_OBB theBox 
)
inlinestatic

Create primitive array with line segments for displaying a box.

Parameters
theSegments[in] [out] primitive array to be filled; should be at least 8 nodes and 24 edges in size
theBox[in] the box to add

◆ FillSegments() [4/4]

static void StdPrs_BndBox::FillSegments ( const Handle< Graphic3d_ArrayOfSegments > &  theSegments,
const Bnd_Box theBox 
)
inlinestatic

Create primitive array with line segments for displaying a box.

Parameters
theSegments[in] [out] primitive array to be filled; should be at least 8 nodes and 24 edges in size
theBox[in] the box to add

◆ fillSegments()

static void StdPrs_BndBox::fillSegments ( const Handle< Graphic3d_ArrayOfSegments > &  theSegments,
const gp_Pnt theBox 
)
inlinestatic

Create primitive array with line segments for displaying a box.

Parameters
theSegments[in] [out] primitive array to be filled; should be at least 8 nodes and 24 edges in size
theBox[in] the box to add

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