Open CASCADE Technology  7.7.0
Static Public Member Functions
Prs3d_BndBox Class Reference

Tool for computing bounding box presentation. More...

#include <Prs3d_BndBox.hxx>

Inheritance diagram for Prs3d_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)
 
static Handle< Graphic3d_GroupNewGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 

Detailed Description

Tool for computing bounding box presentation.

Member Function Documentation

◆ Add() [1/2]

static void Prs3d_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 Prs3d_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 > Prs3d_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 > Prs3d_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 Prs3d_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 Prs3d_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 Prs3d_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: