Open CASCADE Technology 6.6.0
|
Contains a Shape and all its subshapes, locations
and geometries.
The topology is inherited from TopTools.
#include <BRepTools_ShapeSet.hxx>
Public Member Functions | |
BRepTools_ShapeSet (const Standard_Boolean isWithTriangles=Standard_True) | |
Builds an empty ShapeSet. Parameter <isWithTriangles> is added for XML Persistence | |
BRepTools_ShapeSet (const BRep_Builder &B, const Standard_Boolean isWithTriangles=Standard_True) | |
Builds an empty ShapeSet. Parameter <isWithTriangles> is added for XML Persistence | |
virtual void | Clear () |
Clears the content of the set. | |
virtual void | AddGeometry (const TopoDS_Shape &S) |
Stores the goemetry of <S>. | |
virtual void | DumpGeometry (Standard_OStream &OS) const |
Dumps the geometry of me on the stream <OS>. | |
virtual void | WriteGeometry (Standard_OStream &OS) |
Writes the geometry of me on the stream <OS> in a format that can be read back by Read. | |
virtual void | ReadGeometry (Standard_IStream &IS) |
Reads the geometry of me from the stream <IS>. | |
virtual void | DumpGeometry (const TopoDS_Shape &S, Standard_OStream &OS) const |
Dumps the geometry of <S> on the stream <OS>. | |
virtual void | WriteGeometry (const TopoDS_Shape &S, Standard_OStream &OS) const |
Writes the geometry of <S> on the stream <OS> in a format that can be read back by Read. | |
virtual void | ReadGeometry (const TopAbs_ShapeEnum T, Standard_IStream &IS, TopoDS_Shape &S) |
Reads the geometry of a shape of type <T> from the stream <IS> and returns it in <S>. | |
virtual void | AddShapes (TopoDS_Shape &S1, const TopoDS_Shape &S2) |
Inserts the shape <S2> in the shape <S1>. This method must be redefined to use the correct builder. | |
virtual void | Check (const TopAbs_ShapeEnum T, TopoDS_Shape &S) |
This method is called after each new completed shape. <T> is the type. <S> is the shape. In this class it does nothing, but it gives the opportunity in derived classes to perform extra treatment on shapes. | |
void | ReadPolygon3D (Standard_IStream &IS) |
Reads the 3d polygons of me from the stream <IS>. | |
void | WritePolygon3D (Standard_OStream &OS, const Standard_Boolean Compact=Standard_True) const |
Writes the 3d polygons on the stream <OS> in a format that can be read back by Read. | |
void | DumpPolygon3D (Standard_OStream &OS) const |
Dumps the 3d polygons on the stream <OS>. | |
void | ReadTriangulation (Standard_IStream &IS) |
Reads the triangulation of me from the stream <IS>. | |
void | WriteTriangulation (Standard_OStream &OS, const Standard_Boolean Compact=Standard_True) const |
Writes the triangulation on the stream <OS> in a format that can be read back by Read. | |
void | DumpTriangulation (Standard_OStream &OS) const |
Dumps the triangulation on the stream <OS>. | |
void | ReadPolygonOnTriangulation (Standard_IStream &IS) |
Reads the polygons on triangulation of me from the stream <IS>. | |
void | WritePolygonOnTriangulation (Standard_OStream &OS, const Standard_Boolean Compact=Standard_True) const |
Writes the polygons on triangulation on the stream <OS> in a format that can be read back by Read. | |
void | DumpPolygonOnTriangulation (Standard_OStream &OS) const |
Dumps the polygons on triangulation on the stream <OS>. |
BRepTools_ShapeSet::BRepTools_ShapeSet | ( | const Standard_Boolean | isWithTriangles = Standard_True | ) |
BRepTools_ShapeSet::BRepTools_ShapeSet | ( | const BRep_Builder & | B, |
const Standard_Boolean | isWithTriangles = Standard_True |
||
) |
virtual void BRepTools_ShapeSet::AddGeometry | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented from TopTools_ShapeSet.
virtual void BRepTools_ShapeSet::AddShapes | ( | TopoDS_Shape & | S1, |
const TopoDS_Shape & | S2 | ||
) | [virtual] |
Reimplemented from TopTools_ShapeSet.
virtual void BRepTools_ShapeSet::Check | ( | const TopAbs_ShapeEnum | T, |
TopoDS_Shape & | S | ||
) | [virtual] |
Reimplemented from TopTools_ShapeSet.
virtual void BRepTools_ShapeSet::Clear | ( | ) | [virtual] |
Reimplemented from TopTools_ShapeSet.
virtual void BRepTools_ShapeSet::DumpGeometry | ( | Standard_OStream & | OS | ) | const [virtual] |
Reimplemented from TopTools_ShapeSet.
virtual void BRepTools_ShapeSet::DumpGeometry | ( | const TopoDS_Shape & | S, |
Standard_OStream & | OS | ||
) | const [virtual] |
Reimplemented from TopTools_ShapeSet.
void BRepTools_ShapeSet::DumpPolygon3D | ( | Standard_OStream & | OS | ) | const |
void BRepTools_ShapeSet::DumpPolygonOnTriangulation | ( | Standard_OStream & | OS | ) | const |
void BRepTools_ShapeSet::DumpTriangulation | ( | Standard_OStream & | OS | ) | const |
virtual void BRepTools_ShapeSet::ReadGeometry | ( | const TopAbs_ShapeEnum | T, |
Standard_IStream & | IS, | ||
TopoDS_Shape & | S | ||
) | [virtual] |
Reimplemented from TopTools_ShapeSet.
virtual void BRepTools_ShapeSet::ReadGeometry | ( | Standard_IStream & | IS | ) | [virtual] |
Reimplemented from TopTools_ShapeSet.
void BRepTools_ShapeSet::ReadPolygon3D | ( | Standard_IStream & | IS | ) |
void BRepTools_ShapeSet::ReadPolygonOnTriangulation | ( | Standard_IStream & | IS | ) |
void BRepTools_ShapeSet::ReadTriangulation | ( | Standard_IStream & | IS | ) |
virtual void BRepTools_ShapeSet::WriteGeometry | ( | Standard_OStream & | OS | ) | [virtual] |
Reimplemented from TopTools_ShapeSet.
virtual void BRepTools_ShapeSet::WriteGeometry | ( | const TopoDS_Shape & | S, |
Standard_OStream & | OS | ||
) | const [virtual] |
Reimplemented from TopTools_ShapeSet.
void BRepTools_ShapeSet::WritePolygon3D | ( | Standard_OStream & | OS, |
const Standard_Boolean | Compact = Standard_True |
||
) | const |
void BRepTools_ShapeSet::WritePolygonOnTriangulation | ( | Standard_OStream & | OS, |
const Standard_Boolean | Compact = Standard_True |
||
) | const |
void BRepTools_ShapeSet::WriteTriangulation | ( | Standard_OStream & | OS, |
const Standard_Boolean | Compact = Standard_True |
||
) | const |