Open CASCADE Technology 7.9.0
Prs3d_BndBox Class Reference

Tool for computing bounding box presentation. More...

#include <Prs3d_BndBox.hxx>

Inheritance diagram for Prs3d_BndBox:

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.
 
static void Add (const Handle< Prs3d_Presentation > &thePresentation, const Bnd_OBB &theBndBox, const Handle< Prs3d_Drawer > &theDrawer)
 Computes presentation of a bounding box.
 
static Handle< Graphic3d_ArrayOfSegmentsFillSegments (const Bnd_OBB &theBox)
 Create primitive array with line segments for displaying a box.
 
static Handle< Graphic3d_ArrayOfSegmentsFillSegments (const Bnd_Box &theBox)
 Create primitive array with line segments for displaying a box.
 
static void FillSegments (const Handle< Graphic3d_ArrayOfSegments > &theSegments, const Bnd_OBB &theBox)
 Create primitive array with line segments for displaying a box.
 
static void FillSegments (const Handle< Graphic3d_ArrayOfSegments > &theSegments, const Bnd_Box &theBox)
 Create primitive array with line segments for displaying a box.
 
static void fillSegments (const Handle< Graphic3d_ArrayOfSegments > &theSegments, const gp_Pnt *theBox)
 Create primitive array with line segments for displaying a box.
 
- Static Public Member Functions inherited from Prs3d_Root
called static instead Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 
static instead 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
[in]thePresentationthe presentation.
[in]theBndBoxthe bounding box.
[in]theDrawerthe 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
[in]thePresentationthe presentation.
[in]theBndBoxthe bounding box.
[in]theDrawerthe drawer.

◆ FillSegments() [1/4]

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

Create primitive array with line segments for displaying a box.

Parameters
[in]theBoxthe box to add

◆ FillSegments() [2/4]

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

Create primitive array with line segments for displaying a box.

Parameters
[in]theBoxthe box to add

◆ FillSegments() [3/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
[in]

out] theSegments primitive array to be filled; should be at least 8 nodes and 24 edges in size

Parameters
[in]theBoxthe box to add

◆ FillSegments() [4/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
[in]

out] theSegments primitive array to be filled; should be at least 8 nodes and 24 edges in size

Parameters
[in]theBoxthe 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
[in]

out] theSegments primitive array to be filled; should be at least 8 nodes and 24 edges in size

Parameters
[in]theBoxthe box to add

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