48 wxLogTrace(
traceVrmlPlugin, wxT(
" * [INFO] Destroying Coordinate node." ) );
66 wxCHECK_MSG(
false,
false, wxT(
"AddRefNode is not applicable." ) );
73 wxCHECK_MSG(
false,
false, wxT(
"AddChildNode is not applicable." ) );
79 char tok = proc.
Peek();
84 " * [INFO] bad file format; unexpected eof %s." ),
94 " * [INFO] bad file format; expecting '{' but got '%s' %s." ),
103 if( proc.
Peek() ==
'}' )
113 __FILE__, __FUNCTION__, __LINE__ , proc.
GetError() );
119 if( !glob.compare(
"point" ) )
124 " * [INFO] invalid Coordinate point set %s\n"
125 " * [INFO] file: '%s'\n"
136 " * [INFO] invalid Coordinate %s\n"
137 " * [INFO] file: '%s'\n" ),
147 std::vector< WRLVEC3F >::iterator sP =
points.begin();
148 std::vector< WRLVEC3F >::iterator eP =
points.end();
159 if( proc.
Peek() ==
'}' )
166 " * [INFO] invalid Coordinate %s (no closing brace)\n"
167 " * [INFO] file: '%s'\n" ),
178 aCoordList =
nullptr;
184 aListSize =
points.size();
The base class of all Scene Graph nodes.
The top node of a VRML2 model.
bool GetApplyUnitConversion(void) const
bool AddChildNode(WRL2NODE *aNode) override
bool AddRefNode(WRL2NODE *aNode) override
void GetCoords(WRLVEC3F *&aCoordList, size_t &aListSize)
std::vector< WRLVEC3F > points
bool isDangling(void) override
Determine whether an object should be moved to a different parent during the VRML to SG* translation.
SGNODE * TranslateToSG(SGNODE *aParent) override
Produce a representation of the data using the intermediate scenegraph structures of the kicad_3dsg l...
bool Read(WRLPROC &proc, WRL2BASE *aTopNode) override
std::string GetFileName(void)
std::string GetError(void)
bool ReadMFVec3f(std::vector< WRLVEC3F > &aMFVec3f)
bool ReadName(std::string &aName)
std::string GetFilePosition() const
const wxChar *const traceVrmlPlugin
Flag to enable VRML plugin trace output.