Base class for the STL writer and the STL reader.
More...
|
enum | Format { FormatUnknown = -1
, FormatASCII
, FormatBinary
} |
|
Base class for the STL writer and the STL reader.
Definition at line 39 of file STL.hpp.
◆ BINARY_REAL32
typedef float bitpit::STLBase::BINARY_REAL32 |
|
protected |
◆ BINARY_UINT16
typedef uint16_t bitpit::STLBase::BINARY_UINT16 |
|
protected |
◆ BINARY_UINT32
typedef uint32_t bitpit::STLBase::BINARY_UINT32 |
|
protected |
◆ BINARY_UINT8
typedef uint8_t bitpit::STLBase::BINARY_UINT8 |
|
protected |
◆ Format
enum bitpit::STLBase::Format |
◆ STLBase() [1/2]
bitpit::STLBase::STLBase |
( |
const std::string & | filename | ) |
|
|
protected |
Constructor.
- Parameters
-
filename | is the name of the STL file |
Definition at line 68 of file STL.cpp.
◆ STLBase() [2/2]
bitpit::STLBase::STLBase |
( |
const std::string & | filename, |
|
|
Format | format ) |
|
protected |
Constructor.
- Parameters
-
filename | is the name of the STL file |
format | is the format of the STL file |
Definition at line 80 of file STL.cpp.
◆ getFilename()
const std::string & bitpit::STLBase::getFilename |
( |
| ) |
const |
Get name of the STL file.
- Returns
- The name of the STL file.
Definition at line 91 of file STL.cpp.
◆ getFormat()
STLBase::Format bitpit::STLBase::getFormat |
( |
| ) |
const |
Get format of the STL file.
- Returns
- The format of the STL file.
Definition at line 111 of file STL.cpp.
◆ setFilename()
void bitpit::STLBase::setFilename |
( |
const std::string & | filename | ) |
|
|
protected |
Set the name of the STL file.
- Parameters
-
filename | is the name that will be set |
Definition at line 101 of file STL.cpp.
◆ setFormat()
void bitpit::STLBase::setFormat |
( |
STLBase::Format | format | ) |
|
|
protected |
Set the format of the STL file.
- Parameters
-
format | is the format that will be set |
Definition at line 121 of file STL.cpp.
◆ ASCII_FACET_BEGIN
const std::string bitpit::STLBase::ASCII_FACET_BEGIN = "facet" |
|
staticprotected |
◆ ASCII_FACET_END
const std::string bitpit::STLBase::ASCII_FACET_END = "endfacet" |
|
staticprotected |
◆ ASCII_FILE_BEGIN
const std::string bitpit::STLBase::ASCII_FILE_BEGIN = STLBase::ASCII_SOLID_BEGIN |
|
staticprotected |
◆ ASCII_FILE_END
const std::string bitpit::STLBase::ASCII_FILE_END = STLBase::ASCII_SOLID_END |
|
staticprotected |
◆ ASCII_MINIMUM_SIZE
const std::size_t bitpit::STLBase::ASCII_MINIMUM_SIZE = STLBase::ASCII_FILE_BEGIN.length() + STLBase::ASCII_FILE_END.length() |
|
staticprotected |
◆ ASCII_SOLID_BEGIN
const std::string bitpit::STLBase::ASCII_SOLID_BEGIN = "solid" |
|
staticprotected |
◆ ASCII_SOLID_END
const std::string bitpit::STLBase::ASCII_SOLID_END = "endsolid" |
|
staticprotected |
◆ BINARY_FACET_SIZE
const std::size_t bitpit::STLBase::BINARY_FACET_SIZE = 3 * sizeof(BINARY_REAL32) + 3 * 3 * sizeof(BINARY_REAL32) + sizeof(BINARY_UINT16) |
|
staticprotected |
◆ BINARY_HEADER_SIZE
const std::size_t bitpit::STLBase::BINARY_HEADER_SIZE = 80 * sizeof(STLBase::BINARY_UINT8) |
|
staticprotected |
◆ BINARY_MINIMUM_SIZE
const std::size_t bitpit::STLBase::BINARY_MINIMUM_SIZE = STLBase::BINARY_HEADER_SIZE + sizeof(STLBase::BINARY_UINT32) |
|
staticprotected |
The documentation for this class was generated from the following files:
---
layout: doxygen_footer
---