A base class for all readers/writers of TopoDS_Shape into/from stream.
More...
#include <BinTools_ShapeSetBase.hxx>
A base class for all readers/writers of TopoDS_Shape into/from stream.
◆ BinTools_ShapeSetBase()
BinTools_ShapeSetBase::BinTools_ShapeSetBase |
( |
| ) |
|
◆ ~BinTools_ShapeSetBase()
virtual BinTools_ShapeSetBase::~BinTools_ShapeSetBase |
( |
| ) |
|
|
virtual |
◆ Clear()
virtual void BinTools_ShapeSetBase::Clear |
( |
| ) |
|
|
inlinevirtual |
◆ FormatNb()
Returns the BinTools_FormatVersion.
◆ IsWithNormals()
Return true if shape should be stored triangulation with normals.
◆ IsWithTriangles()
Return true if shape should be stored with triangles.
◆ Read() [1/2]
Reads the content of me from the binary stream <IS>. me is first cleared.
Reads the locations.
Reads the geometry calling ReadGeometry.
Reads the shapes. For each shape Reads the type. calls ReadGeometry(T,S). Reads the flag, the subshapes.
Reimplemented in BinTools_ShapeSet.
◆ Read() [2/2]
◆ SetFormatNb()
Sets the BinTools_FormatVersion.
◆ SetWithNormals()
void BinTools_ShapeSetBase::SetWithNormals |
( |
const Standard_Boolean |
theWithNormals | ) |
|
|
inline |
Define if shape will be stored triangulation with normals. Ignored (always written) if face defines only triangulation (no surface).
◆ SetWithTriangles()
void BinTools_ShapeSetBase::SetWithTriangles |
( |
const Standard_Boolean |
theWithTriangles | ) |
|
|
inline |
Define if shape will be stored with triangles. Ignored (always written) if face defines only triangulation (no surface).
◆ Write() [1/2]
◆ Write() [2/2]
Writes the content of me on the stream <OS> in binary format that can be read back by Read.
Writes the locations.
Writes the geometry calling WriteGeometry.
Dumps the shapes from last to first. For each shape : Write the type. calls WriteGeometry(S). Write the flags, the subshapes.
Reimplemented in BinTools_ShapeSet.
◆ THE_ASCII_VERSIONS
The documentation for this class was generated from the following file: