Difference between revisions of "Anchor"
From Web3D.org
Abergstrom (Talk | contribs) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* [[Node Reference]] | * [[Node Reference]] | ||
==Anchor== | ==Anchor== | ||
+ | |||
+ | Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/networking.html#Anchor Anchor] | ||
<pre>Anchor : X3DGroupingNode { | <pre>Anchor : X3DGroupingNode { | ||
Line 9: | Line 11: | ||
SFNode [in,out] metadata NULL [X3DMetadataObject] | SFNode [in,out] metadata NULL [X3DMetadataObject] | ||
MFString [in,out] parameter [] | MFString [in,out] parameter [] | ||
− | MFString [in,out] url [] [ | + | MFString [in,out] url [] [URI] |
− | SFVec3f [] bboxCenter 0 0 0 (-& | + | SFVec3f [] bboxCenter 0 0 0 (-∞,∞) |
− | SFVec3f [] bboxSize -1 -1 -1 [0 | + | SFVec3f [] bboxSize -1 -1 -1 [0 ∞) or −1 −1 −1 |
} | } | ||
− | |||
</pre> | </pre> | ||
− | + | ==DTD Validation== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ===Children=== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Children must appear as follows: | |
− | + | ||
− | + | # A single, optional IS. | |
− | + | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | |
− | + | # Any number, including none, of nodes derived from ''X3DChildNode'' or Prototype nodes in any order. | |
− | + | ===Attributes=== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | There is no validation of the numerical values of the ''bboxCenter'' or ''bboxSize'' fields. Neither is there any validation of the number of values. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ==Schema Validation== | |
− | + | ===Children=== | |
− | + | ||
− | + | ||
− | + | ||
− | + | Children must appear as follows: | |
− | + | # A single, optional IS. | |
− | + | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | |
− | + | # Any number, including none, of nodes derived from ''X3DChildNode'' or Prototype nodes in any order. | |
− | + | ||
− | + | ===Attributes=== | |
− | + | * The ''bboxCenter'' field accepts a triplet of numerical values. | |
− | + | * The ''bboxsize'' field accepts either three positive values or the triplet -1 -1 -1. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ==Schematron Validation== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | TBD | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* [[Node Reference]] | * [[Node Reference]] |
Latest revision as of 09:43, 24 April 2015
Contents
Anchor
Specification Link: Anchor
Anchor : X3DGroupingNode { MFNode [in] addChildren MFNode [in] removeChildren MFNode [in,out] children [] [X3DChildNode] SFString [in,out] description "" SFNode [in,out] metadata NULL [X3DMetadataObject] MFString [in,out] parameter [] MFString [in,out] url [] [URI] SFVec3f [] bboxCenter 0 0 0 (-∞,∞) SFVec3f [] bboxSize -1 -1 -1 [0 ∞) or −1 −1 −1 }
DTD Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including none, of nodes derived from X3DChildNode or Prototype nodes in any order.
Attributes
There is no validation of the numerical values of the bboxCenter or bboxSize fields. Neither is there any validation of the number of values.
Schema Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including none, of nodes derived from X3DChildNode or Prototype nodes in any order.
Attributes
- The bboxCenter field accepts a triplet of numerical values.
- The bboxsize field accepts either three positive values or the triplet -1 -1 -1.
Schematron Validation
TBD