|
Open CASCADE Technology
7.8.0.dev
|
Writes topology in OStream in binary format without grouping of objects by types and using relative positions in a file as references. More...
#include <BinTools_ShapeWriter.hxx>

Public Member Functions | |
| BinTools_ShapeWriter () | |
| Builds an empty ShapeSet. Parameter <theWithTriangles> is added for XML Persistence. More... | |
| virtual | ~BinTools_ShapeWriter () |
| virtual void | Clear () override |
| Clears the content of the set. More... | |
| virtual void | Write (const TopoDS_Shape &theShape, Standard_OStream &theStream) override |
| Writes the shape to stream using previously stored shapes and objects to refer them. More... | |
| virtual void | WriteLocation (BinTools_OStream &theStream, const TopLoc_Location &theLocation) |
| Writes location to the stream (all the needed sub-information or reference if it is already used). More... | |
Public Member Functions inherited from BinTools_ShapeSetBase | |
| 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... | |
| virtual void | Write (Standard_OStream &, const Message_ProgressRange &=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 &, const Message_ProgressRange &=Message_ProgressRange()) |
| Reads the content of me from the binary stream <IS>. me is first cleared. More... | |
| virtual void | Read (Standard_IStream &, TopoDS_Shape &) |
| An empty virtual method for redefinition in shape-reader. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from BinTools_ShapeSetBase | |
| static const Standard_CString | THE_ASCII_VERSIONS [BinTools_FormatVersion_UPPER+1] |
Writes topology in OStream in binary format without grouping of objects by types and using relative positions in a file as references.
| BinTools_ShapeWriter::BinTools_ShapeWriter | ( | ) |
Builds an empty ShapeSet. Parameter <theWithTriangles> is added for XML Persistence.
|
virtual |
|
overridevirtual |
Clears the content of the set.
Reimplemented from BinTools_ShapeSetBase.
|
overridevirtual |
Writes the shape to stream using previously stored shapes and objects to refer them.
Reimplemented from BinTools_ShapeSetBase.
|
virtual |
Writes location to the stream (all the needed sub-information or reference if it is already used).
1.8.13