Internal class used when parsing STL ASCII format. More...
Public Member Functions | |
STLAsciiParse (const label approxNpoints) | |
void | clear () |
bool | sorted () const |
DynamicList< STLpoint > & | points () |
DynamicList< label > & | facets () |
DynamicList< word > & | names () |
DynamicList< label > & | sizes () |
Protected Member Functions | |
void | beginSolid (word solidName) |
void | beginFacet () |
void | resetVertex () |
bool | addVertexComponent (float val) |
bool | addVertexComponent (const char *text) |
void | endFacet () |
STLAsciiParse (const STLAsciiParse &)=delete | |
void | operator= (const STLAsciiParse &)=delete |
Protected Attributes | |
bool | sorted_ |
label | groupId_ |
label | lineNum_ |
int | nFacetPoints_ |
int | nVertexCmpt_ |
STLpoint | currVertex_ |
DynamicList< STLpoint > | points_ |
DynamicList< label > | facets_ |
DynamicList< word > | names_ |
DynamicList< label > | sizes_ |
HashTable< label > | nameLookup_ |
Internal class used when parsing STL ASCII format.
Definition at line 50 of file STLAsciiParse.H.
|
protecteddelete |
|
inline |
Definition at line 126 of file STLAsciiParseI.H.
|
inlineprotected |
Definition at line 23 of file STLAsciiParseI.H.
References DynamicList::append(), HashTable::cfind(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, STLAsciiParse::groupId_, HashTable::insert(), STLAsciiParse::nameLookup_, STLAsciiParse::names_, STLAsciiParse::sizes_, and STLAsciiParse::sorted_.
Referenced by STLAsciiParseManual::execute().
|
inlineprotected |
Definition at line 56 of file STLAsciiParseI.H.
Referenced by STLAsciiParseManual::execute().
|
inlineprotected |
Definition at line 63 of file STLAsciiParseI.H.
|
inlineprotected |
Definition at line 69 of file STLAsciiParseI.H.
Referenced by STLAsciiParseManual::execute().
|
inlineprotected |
Definition at line 84 of file STLAsciiParseI.H.
|
inlineprotected |
Definition at line 100 of file STLAsciiParseI.H.
Referenced by STLAsciiParseManual::execute().
|
protecteddelete |
|
inline |
Definition at line 140 of file STLAsciiParseI.H.
|
inline |
Definition at line 157 of file STLAsciiParseI.H.
|
inline |
Definition at line 163 of file STLAsciiParseI.H.
|
inline |
Definition at line 169 of file STLAsciiParseI.H.
|
inline |
Definition at line 175 of file STLAsciiParseI.H.
|
inline |
Definition at line 181 of file STLAsciiParseI.H.
|
protected |
Definition at line 56 of file STLAsciiParse.H.
Referenced by STLAsciiParse::beginSolid().
|
protected |
Definition at line 57 of file STLAsciiParse.H.
Referenced by STLAsciiParse::beginSolid().
|
protected |
Definition at line 58 of file STLAsciiParse.H.
Referenced by STLAsciiParseManual::execute().
|
protected |
Definition at line 61 of file STLAsciiParse.H.
|
protected |
Definition at line 64 of file STLAsciiParse.H.
|
protected |
Definition at line 67 of file STLAsciiParse.H.
|
protected |
Definition at line 69 of file STLAsciiParse.H.
|
protected |
Definition at line 70 of file STLAsciiParse.H.
|
protected |
Definition at line 71 of file STLAsciiParse.H.
Referenced by STLAsciiParse::beginSolid().
|
protected |
Definition at line 72 of file STLAsciiParse.H.
Referenced by STLAsciiParse::beginSolid().
|
protected |
Definition at line 73 of file STLAsciiParse.H.
Referenced by STLAsciiParse::beginSolid().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.