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