Open CASCADE Technology 6.6.0
|
This binder binds several (a list of) shapes with a starting
entity, when this entity itself corresponds to a simple list
of shapes. Each part is not seen as a sub-result of an
independant componant, but as an item of a built-in list
#include <TransferBRep_ShapeListBinder.hxx>
Public Member Functions | |
TransferBRep_ShapeListBinder () | |
TransferBRep_ShapeListBinder (const Handle< TopTools_HSequenceOfShape > &list) | |
virtual Standard_Boolean | IsMultiple () const |
Returns True if a Binder has several results, either by itself or because it has next results Can be defined by sub-classes. | |
Handle_Standard_Type | ResultType () const |
Returns the Type which characterizes the Result (if known) | |
Standard_CString | ResultTypeName () const |
Returns the Name of the Type which characterizes the Result Can be returned even if ResultType itself is unknown | |
void | AddResult (const TopoDS_Shape &res) |
Adds an item to the result list | |
Handle_TopTools_HSequenceOfShape | Result () const |
void | SetResult (const Standard_Integer num, const TopoDS_Shape &res) |
Changes an already defined sub-result | |
Standard_Integer | NbShapes () const |
const TopoDS_Shape & | Shape (const Standard_Integer num) const |
TopAbs_ShapeEnum | ShapeType (const Standard_Integer num) const |
TopoDS_Vertex | Vertex (const Standard_Integer num) const |
TopoDS_Edge | Edge (const Standard_Integer num) const |
TopoDS_Wire | Wire (const Standard_Integer num) const |
TopoDS_Face | Face (const Standard_Integer num) const |
TopoDS_Shell | Shell (const Standard_Integer num) const |
TopoDS_Solid | Solid (const Standard_Integer num) const |
TopoDS_CompSolid | CompSolid (const Standard_Integer num) const |
TopoDS_Compound | Compound (const Standard_Integer num) const |
TransferBRep_ShapeListBinder::TransferBRep_ShapeListBinder | ( | ) |
TransferBRep_ShapeListBinder::TransferBRep_ShapeListBinder | ( | const Handle< TopTools_HSequenceOfShape > & | list | ) |
void TransferBRep_ShapeListBinder::AddResult | ( | const TopoDS_Shape & | res | ) |
TopoDS_Compound TransferBRep_ShapeListBinder::Compound | ( | const Standard_Integer | num | ) | const |
TopoDS_CompSolid TransferBRep_ShapeListBinder::CompSolid | ( | const Standard_Integer | num | ) | const |
TopoDS_Edge TransferBRep_ShapeListBinder::Edge | ( | const Standard_Integer | num | ) | const |
TopoDS_Face TransferBRep_ShapeListBinder::Face | ( | const Standard_Integer | num | ) | const |
virtual Standard_Boolean TransferBRep_ShapeListBinder::IsMultiple | ( | ) | const [virtual] |
Reimplemented from Transfer_Binder.
Standard_Integer TransferBRep_ShapeListBinder::NbShapes | ( | ) | const |
Handle_TopTools_HSequenceOfShape TransferBRep_ShapeListBinder::Result | ( | ) | const |
Handle_Standard_Type TransferBRep_ShapeListBinder::ResultType | ( | ) | const [virtual] |
Implements Transfer_Binder.
Standard_CString TransferBRep_ShapeListBinder::ResultTypeName | ( | ) | const [virtual] |
Implements Transfer_Binder.
void TransferBRep_ShapeListBinder::SetResult | ( | const Standard_Integer | num, |
const TopoDS_Shape & | res | ||
) |
const TopoDS_Shape& TransferBRep_ShapeListBinder::Shape | ( | const Standard_Integer | num | ) | const |
TopAbs_ShapeEnum TransferBRep_ShapeListBinder::ShapeType | ( | const Standard_Integer | num | ) | const |
TopoDS_Shell TransferBRep_ShapeListBinder::Shell | ( | const Standard_Integer | num | ) | const |
TopoDS_Solid TransferBRep_ShapeListBinder::Solid | ( | const Standard_Integer | num | ) | const |
TopoDS_Vertex TransferBRep_ShapeListBinder::Vertex | ( | const Standard_Integer | num | ) | const |
TopoDS_Wire TransferBRep_ShapeListBinder::Wire | ( | const Standard_Integer | num | ) | const |