52 wxLogTrace(
traceVrmlPlugin, wxT(
" * [INFO] Destroying Inline node." ) );
69 char tok = proc.
Peek();
74 " * [INFO] bad file format; unexpected eof %s." ),
84 " * [INFO] bad file format; expecting '{' but got '%s' %s." ),
92 while( ( tok = proc.
Peek() ) != 0 )
106 __FILE__, __FUNCTION__, __LINE__ , proc.
GetError() );
112 if( !glob.compare(
"url" ) )
117 " * [INFO] invalid url %s\n"
118 " * [INFO] file: '%s'\n"
126 else if( !glob.compare(
"bboxCenter" ) )
131 " * [INFO] invalid bboxCenter %s\n"
132 " * [INFO] file: '%s'\n"
140 else if( !glob.compare(
"bboxSize" ) )
145 " * [INFO] invalid bboxSize %s\n"
146 " * [INFO] file: '%s'\n"
158 " * [INFO] invalid Inline %s\n"
159 " * [INFO] file: '%s'\n" ),
169 " * [INFO] invalid Inline %s (no closing brace)\n"
170 " * [INFO] file: '%s'\n" ),
181 wxCHECK_MSG(
false,
false, wxT(
"AddRefNode is not applicable." ) );
188 wxCHECK_MSG(
false,
false, wxT(
"AddChildNode is not applicable." ) );
205 wxString::Format( wxT(
" * [BUG] Appearance does not have a Transform parent "
206 "(parent ID: %d)." ), ptype ) );
The base class of all Scene Graph nodes.
The top node of a VRML2 model.
std::vector< std::string > url
bool Read(WRLPROC &proc, WRL2BASE *aTopNode) override
bool AddRefNode(WRL2NODE *aNode) override
SGNODE * TranslateToSG(SGNODE *aParent) override
Produce a representation of the data using the intermediate scenegraph structures of the kicad_3dsg l...
bool isDangling(void) override
Determine whether an object should be moved to a different parent during the VRML to SG* translation.
bool AddChildNode(WRL2NODE *aNode) override
WRL2NODES GetNodeType(void) const
bool ReadMFString(std::vector< std::string > &aMFString)
std::string GetFileName(void)
std::string GetError(void)
bool ReadName(std::string &aName)
std::string GetFilePosition() const
bool ReadSFVec3f(WRLVEC3F &aSFVec3f)
const wxChar *const traceVrmlPlugin
Flag to enable VRML plugin trace output.
collects header files for all SG* wrappers and the API
SGLIB_API S3D::SGTYPES GetSGNodeType(SGNODE *aNode)
SGLIB_API SGNODE * GetSGNodeParent(SGNODE *aNode)
SGLIB_API bool AddSGNodeChild(SGNODE *aParent, SGNODE *aChild)
SGLIB_API bool AddSGNodeRef(SGNODE *aParent, SGNODE *aChild)