|
| BinTools_ShapeSet () |
| Builds an empty ShapeSet. More...
|
|
virtual | ~BinTools_ShapeSet () |
|
virtual void | Clear () |
| Clears the content of the set. More...
|
|
Standard_Integer | Add (const TopoDS_Shape &S) |
| Stores <S> and its sub-shape. Returns the index of <S>. The method AddGeometry is called on each sub-shape. More...
|
|
const TopoDS_Shape & | Shape (const Standard_Integer I) |
| Returns the sub-shape of index . More...
|
|
Standard_Integer | Index (const TopoDS_Shape &S) const |
| Returns the index of <S>. More...
|
|
const BinTools_LocationSet & | Locations () const |
|
BinTools_LocationSet & | ChangeLocations () |
|
Standard_Integer | NbShapes () const |
| Returns number of shapes read from file. More...
|
|
virtual void | Write (Standard_OStream &OS, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Writes the content of me on the stream <OS> in binary format that can be read back by Read. More...
|
|
virtual void | Read (Standard_IStream &IS, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Reads the content of me from the binary stream <IS>. me is first cleared. More...
|
|
virtual void | Write (const TopoDS_Shape &S, Standard_OStream &OS) |
| Writes on <OS> the shape <S>. Writes the orientation, the index of the TShape and the index of the Location. More...
|
|
virtual void | WriteGeometry (Standard_OStream &OS, const Message_ProgressRange &theRange=Message_ProgressRange()) const |
| Writes the geometry of me on the stream <OS> in a binary format that can be read back by Read. More...
|
|
virtual void | ReadGeometry (Standard_IStream &IS, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Reads the geometry of me from the stream <IS>. More...
|
|
virtual void | ReadFlagsAndSubs (TopoDS_Shape &S, const TopAbs_ShapeEnum T, Standard_IStream &IS, const Standard_Integer NbShapes) |
| Reads from <IS> a shape flags and sub-shapes and modifies S. More...
|
|
virtual void | ReadSubs (TopoDS_Shape &S, Standard_IStream &IS, const Standard_Integer NbShapes) |
| Reads from <IS> a shape and returns it in S. <NbShapes> is the number of tshapes in the set. More...
|
|
virtual void | Read (Standard_IStream &, TopoDS_Shape &) |
| An empty virtual method for redefinition in shape-reader. More...
|
|
virtual void | WriteShape (const TopoDS_Shape &S, Standard_OStream &OS) const |
| Writes the shape <S> on the stream <OS> in a binary format that can be read back by Read. More...
|
|
virtual void | ReadShape (const TopAbs_ShapeEnum T, Standard_IStream &IS, TopoDS_Shape &S) |
| Reads a shape of type <T> from the stream <IS> and returns it in <S>. More...
|
|
virtual void | AddShape (const TopoDS_Shape &S) |
| Stores the shape <S>. More...
|
|
virtual void | AddShapes (TopoDS_Shape &S1, const TopoDS_Shape &S2) |
| Inserts the shape <S2> in the shape <S1>. More...
|
|
void | ReadPolygon3D (Standard_IStream &IS, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Reads the 3d polygons of me from the stream <IS>. More...
|
|
void | WritePolygon3D (Standard_OStream &OS, const Message_ProgressRange &theRange=Message_ProgressRange()) const |
| Writes the 3d polygons on the stream <OS> in a format that can be read back by Read. More...
|
|
void | ReadTriangulation (Standard_IStream &IS, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Reads the triangulation of me from the stream <IS>. More...
|
|
void | WriteTriangulation (Standard_OStream &OS, const Message_ProgressRange &theRange=Message_ProgressRange()) const |
| Writes the triangulation on the stream <OS> in a format that can be read back by Read. More...
|
|
void | ReadPolygonOnTriangulation (Standard_IStream &IS, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Reads the polygons on triangulation of me from the stream <IS>. More...
|
|
void | WritePolygonOnTriangulation (Standard_OStream &OS, const Message_ProgressRange &theRange=Message_ProgressRange()) const |
| Writes the polygons on triangulation on the stream <OS> in a format that can be read back by Read. More...
|
|
| BinTools_ShapeSetBase () |
| A default constructor. More...
|
|
virtual | ~BinTools_ShapeSetBase () |
|
Standard_Boolean | IsWithTriangles () const |
| Return true if shape should be stored with triangles. More...
|
|
Standard_Boolean | IsWithNormals () const |
| Return true if shape should be stored triangulation with normals. More...
|
|
void | SetWithTriangles (const Standard_Boolean theWithTriangles) |
| Define if shape will be stored with triangles. Ignored (always written) if face defines only triangulation (no surface). More...
|
|
void | SetWithNormals (const Standard_Boolean theWithNormals) |
| Define if shape will be stored triangulation with normals. Ignored (always written) if face defines only triangulation (no surface). More...
|
|
void | SetFormatNb (const Standard_Integer theFormatNb) |
| Sets the BinTools_FormatVersion. More...
|
|
Standard_Integer | FormatNb () const |
| Returns the BinTools_FormatVersion. More...
|
|
Writes topology in OStream in binary format.