Open CASCADE Technology
6.5.4
|
#include <BOP_Builder.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC void | SetShapes (const TopoDS_Shape &aS1, const TopoDS_Shape &aS2) |
Set shapes (arguments) to perform BO | |
void | SetOperation (const BOP_Operation anOp) |
Set type of the BO to perform | |
void | SetManifoldFlag (const Standard_Boolean aFlag) |
Set the flag to allow the result be manifold or non-manifold (not used) | |
const TopoDS_Shape & | Shape1 () const |
Selector | |
const TopoDS_Shape & | Shape2 () const |
Selector | |
BOP_Operation | Operation () const |
Selector | |
Standard_Boolean | ManifoldFlag () const |
Selector | |
Standard_Boolean | IsDone () const |
Selector <br> | |
Standard_Integer | ErrorStatus () const |
Selector | |
const TopoDS_Shape & | Result () const |
Returns the result of the BO | |
virtual void | Do () |
Does the BO from the beggining to the end, <br> i.e. create new DataStructure, DSFiller, <br> compute all interferences, compute states, <br> build result etc <br> | |
virtual void | DoWithFiller (const BOPTools_DSFiller &aDSF) |
Does the BO using existing Filler to the end | |
virtual void | BuildResult () |
Constructs the final result of the BO | |
virtual void | Destroy () |
Destructor | |
virtual | ~BOP_Builder () |
const TopTools_ListOfShape & | Modified (const TopoDS_Shape &aS) const |
Returns the list of shapes modified from the shape aS | |
Standard_Boolean | IsDeleted (const TopoDS_Shape &aS) const |
Returns TRUE if the result does not contain the shape aS | |
const TopTools_ListOfShape & | SectionEdges () const |
Returns the list of shapes that are parts of BO "Section" for given arguments. For Internal usage | |
virtual void | SetHistoryCollector (const Handle< BOP_HistoryCollector > &theHistory) |
Handle_BOP_HistoryCollector | GetHistoryCollector () const |
Static Public Member Functions | |
static void | SortTypes (TopAbs_ShapeEnum &aType1, TopAbs_ShapeEnum &aType2) |
Sort types of shapes as integers in increasing order | |
Protected Member Functions | |
BOP_Builder () | |
Empty constructor; | |
void | FillModified () |
Fill the list of shapes modified from the shape aS. For Internal usage | |
void | FillModified (const TopoDS_Shape &aS, const TopTools_ListOfShape &aL) |
Fill the list of shapes modified from the shape aS. For Internal usage | |
void | FillModified (const TopoDS_Shape &aE, const TopoDS_Shape &aSp) |
Fill the list of shapes modified from the shape aS For Internal usage | |
Protected Attributes | |
TopoDS_Shape | myShape1 |
TopoDS_Shape | myShape2 |
BOP_Operation | myOperation |
Standard_Boolean | myManifoldFlag |
Standard_Boolean | myIsDone |
Standard_Integer | myErrorStatus |
TopoDS_Shape | myResult |
Standard_Integer | myDraw |
BOPTools_PDSFiller | myDSFiller |
TopTools_IndexedMapOfShape | myResultMap |
TopTools_IndexedDataMapOfShapeListOfShape | myModifiedMap |
TopTools_ListOfShape | myEmptyList |
TopTools_ListOfShape | mySectionEdges |
Handle_BOP_HistoryCollector | myHistory |
virtual BOP_Builder::~BOP_Builder | ( | ) | [inline, virtual] |
BOP_Builder::BOP_Builder | ( | ) | [protected] |
virtual void BOP_Builder::BuildResult | ( | ) | [virtual] |
Reimplemented in BOP_ShellSolid, BOP_SolidSolid, BOP_WireSolid, BOP_WireShell, BOP_WireWire, BOP_EmptyBuilder, and BOP_ShellShell.
virtual void BOP_Builder::Destroy | ( | ) | [virtual] |
Reimplemented in BOP_ShellSolid, BOP_SolidSolid, BOP_WireSolid, BOP_Section, BOP_WireShell, BOP_WireWire, BOP_EmptyBuilder, and BOP_ShellShell.
virtual void BOP_Builder::Do | ( | ) | [virtual] |
Reimplemented in BOP_ShellSolid, BOP_WireSolid, BOP_WireShell, BOP_Section, BOP_WireWire, and BOP_EmptyBuilder.
virtual void BOP_Builder::DoWithFiller | ( | const BOPTools_DSFiller & | aDSF | ) | [virtual] |
Reimplemented in BOP_ShellSolid, BOP_SolidSolid, BOP_WireSolid, BOP_Section, BOP_WireShell, BOP_WireWire, BOP_EmptyBuilder, and BOP_ShellShell.
Standard_Integer BOP_Builder::ErrorStatus | ( | ) | const |
void BOP_Builder::FillModified | ( | ) | [protected] |
void BOP_Builder::FillModified | ( | const TopoDS_Shape & | aS, |
const TopTools_ListOfShape & | aL | ||
) | [protected] |
void BOP_Builder::FillModified | ( | const TopoDS_Shape & | aE, |
const TopoDS_Shape & | aSp | ||
) | [protected] |
Handle_BOP_HistoryCollector BOP_Builder::GetHistoryCollector | ( | ) | const |
Standard_Boolean BOP_Builder::IsDeleted | ( | const TopoDS_Shape & | aS | ) | const |
Standard_Boolean BOP_Builder::IsDone | ( | ) | const |
Standard_Boolean BOP_Builder::ManifoldFlag | ( | ) | const |
const TopTools_ListOfShape& BOP_Builder::Modified | ( | const TopoDS_Shape & | aS | ) | const |
BOP_Operation BOP_Builder::Operation | ( | ) | const |
const TopoDS_Shape& BOP_Builder::Result | ( | ) | const |
const TopTools_ListOfShape& BOP_Builder::SectionEdges | ( | ) | const |
virtual void BOP_Builder::SetHistoryCollector | ( | const Handle< BOP_HistoryCollector > & | theHistory | ) | [virtual] |
Reimplemented in BOP_ShellSolid, BOP_WireSolid, BOP_SolidSolid, and BOP_Section.
DEFINE_STANDARD_ALLOC void BOP_Builder::SetShapes | ( | const TopoDS_Shape & | aS1, |
const TopoDS_Shape & | aS2 | ||
) |
const TopoDS_Shape& BOP_Builder::Shape1 | ( | ) | const |
const TopoDS_Shape& BOP_Builder::Shape2 | ( | ) | const |
static void BOP_Builder::SortTypes | ( | TopAbs_ShapeEnum & | aType1, |
TopAbs_ShapeEnum & | aType2 | ||
) | [static] |
Standard_Integer BOP_Builder::myDraw [protected] |
BOPTools_PDSFiller BOP_Builder::myDSFiller [protected] |
TopTools_ListOfShape BOP_Builder::myEmptyList [protected] |
Standard_Integer BOP_Builder::myErrorStatus [protected] |
Handle_BOP_HistoryCollector BOP_Builder::myHistory [protected] |
Standard_Boolean BOP_Builder::myIsDone [protected] |
Standard_Boolean BOP_Builder::myManifoldFlag [protected] |
BOP_Operation BOP_Builder::myOperation [protected] |
TopoDS_Shape BOP_Builder::myResult [protected] |
TopTools_IndexedMapOfShape BOP_Builder::myResultMap [protected] |
TopTools_ListOfShape BOP_Builder::mySectionEdges [protected] |
TopoDS_Shape BOP_Builder::myShape1 [protected] |
TopoDS_Shape BOP_Builder::myShape2 [protected] |