[x3d-public] Request for Object Model support of statements relationships to ConcreteNodes.
yottzumm at gmail.com
yottzumm at gmail.com
Mon Jan 2 21:43:46 PST 2017
Here are the parent child node relationships along with SAI method that *might* be missing from the X3D Object Model, or might be erroneous. I think the ones involving statements are required for the X3DJSONLD JavaSerializer to work, but may not need to be in the Object Model. I have bolded the ones I think should be removed from this code and italicized the ones which should be added to the object model. If someone has a good way of generating this code from the Object Model (preferably beautiful soup based), let me know. In other words, what’s in a GroupContentModel? Thanks!
John
let mapToMethod2 = {
"Scene" : {
"ROUTE" : "addChildren",
"IMPORT" : "addChildren",
"EXPORT" : "addChildren",
"ProtoDeclare" : "addChildren",
"ExternProtoDeclare" : "addChildren"
},
"CADPart" : {
"Transform": "addChildren"
},
"Billboard" : {
"ROUTE" : "addChildren"
},
"Anchor" : {
"ROUTE" : "addChildren"
},
"Switch" : {
"ROUTE" : "addChildren"
},
"Transform" : {
"ProtoInstance": "addChildren",
"ROUTE": "addChildren",
"IS": "setIS",
"ExternProtoDeclare" : "addChildren",
"IMPORT" : "addChildren",
},
"Group" : {
"ProtoInstance": "addChildren",
"ExternProtoDeclare": "addChildren",
"ProtoDeclare": "addChildren",
"ROUTE": "addChildren",
"IS": "setIS"
},
"Shape" : {
"ProtoInstance": "setGeometry"
},
"ImageTexture" : {
"IS": "setIS"
},
"Material" : {
"IS": "setIS"
},
"Appearance" : {
"IS": "setIS"
},
"HAnimJoint" : {
"Transform" : "addChildren"
},
"HAnimHumanoid" : {
"HAnimViewpoint": "addViewpoints",
},
"ComposedShader" : {
"field" : "addField",
},
"ProtoBody" : {
"ROUTE" : "addChildren",
"ProtoDeclare" : "addChildren"
},
"Script" : {
"field" : "addField",
"IS": "setIS"
},
"Text" : {
"IS": "setIS"
},
"GeoLocation" : {
"ROUTE" : "addChildren",
"ExternProtoDeclare" : "addChildren"
},
"MetadataSet" : {
"ProtoInstance" : "setMetadata"
}
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170103/076d9109/attachment-0001.html>
More information about the x3d-public
mailing list