Internal class used by the STLsurfaceFormat. More...
Public Member Functions | |
STLsurfaceFormatCore (const fileName &) | |
Read from file, filling in the information. More... | |
~STLsurfaceFormatCore () | |
Destructor. More... | |
bool | sorted () const |
File read was already sorted. More... | |
void | clear () |
Flush all values. More... | |
pointField & | points () |
Return full access to the points. More... | |
List< label > & | zoneIds () |
Return full access to the zoneIds. More... | |
List< word > & | names () |
The list of solid names in the order of their first appearance. More... | |
List< label > & | sizes () |
The list of solid sizes in the order of their first appearance. More... | |
Static Public Member Functions | |
static void | writeHeaderBINARY (ostream &, unsigned int) |
Write "STL binary file" and number of triangles to stream. More... | |
Static Public Attributes | |
static const unsigned int | headerSize = 80 |
The number of bytes in the STL binary header. More... | |
Internal class used by the STLsurfaceFormat.
Definition at line 54 of file STLsurfaceFormatCore.H.
STLsurfaceFormatCore | ( | const fileName & | filename | ) |
Read from file, filling in the information.
Definition at line 210 of file STLsurfaceFormatCore.C.
References IOstream::BINARY, and Foam::fileSize().
~STLsurfaceFormatCore | ( | ) |
Destructor.
Definition at line 244 of file STLsurfaceFormatCore.C.
References STLsurfaceFormatCore::writeHeaderBINARY().
|
static |
Write "STL binary file" and number of triangles to stream.
Definition at line 251 of file STLsurfaceFormatCore.C.
References STLsurfaceFormatCore::headerSize.
Referenced by STLsurfaceFormatCore::~STLsurfaceFormatCore().
|
inline |
File read was already sorted.
Definition at line 118 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
|
inline |
Flush all values.
Definition at line 124 of file STLsurfaceFormatCore.H.
References List< T >::clear().
|
inline |
Return full access to the points.
Definition at line 134 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
Return full access to the zoneIds.
Definition at line 140 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
The list of solid names in the order of their first appearance.
Definition at line 146 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
The list of solid sizes in the order of their first appearance.
Definition at line 152 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormat< Face >::read().
|
static |
The number of bytes in the STL binary header.
Definition at line 96 of file STLsurfaceFormatCore.H.
Referenced by STLsurfaceFormatCore::writeHeaderBINARY().