1 // Created on: 2014-10-14
2 // Created by: Anton POLETAEV
3 // Copyright (c) 2013-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _StdPrs_BndBox_H__
17 #define _StdPrs_BndBox_H__
19 #include <Prs3d_Root.hxx>
20 #include <Prs3d_Drawer.hxx>
21 #include <Prs3d_Presentation.hxx>
22 #include <Bnd_Box.hxx>
24 //! Tool for computing bounding box presentation.
25 class StdPrs_BndBox : public Prs3d_Root
29 //! Computes presentation of a bounding box.
30 //! @param thePresentation [in] the presentation.
31 //! @param theBndBox [in] the bounding box.
32 //! @param theDrawer [in] the drawer.
33 Standard_EXPORT static void Add (const Handle(Prs3d_Presentation)& thePresentation,
34 const Bnd_Box& theBndBox,
35 const Handle(Prs3d_Drawer)& theDrawer);
38 #endif // _StdPrs_BndBox_H__