complexType X3DShapeNode
diagram x3d-3.1_p247.png
type extension of X3DChildNode
properties
base X3DChildNode
abstract true
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Appearance Box Cone Cylinder IndexedFaceSet IndexedLineSet IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet PointSet Sphere TriangleFanSet TriangleSet TriangleStripSet ElevationGrid Polyline2D Polypoint2D Rectangle2D TriangleSet2D Extrusion Text Arc2D ArcClose2D Circle2D Disk2D QuadSet IndexedQuadSet GeoElevationGrid NurbsCurve NurbsPatchSurface NurbsSweptSurface NurbsSwungSurface NurbsTrimmedSurface ProtoInstance
used by
element Shape
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by XML stylesheets.
bboxCenter  SFVec3f    0 0 0    
bboxSize  boundingBoxSizeType    -1 -1 -1    
annotation
appinfo
<xs:element name="appearance" type="SFNode" fixed="inputOutputField" default="X3DAppearanceNode"/>
<xs:element name="geometry" type="SFNode" fixed="inputOutputField" default="X3DGeometryNode"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shape"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Base type for all Shape nodes.
source <xs:complexType name="X3DShapeNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="appearance" type="SFNode" fixed="inputOutputField" default="X3DAppearanceNode"/>
     
<xs:element name="geometry" type="SFNode" fixed="inputOutputField" default="X3DGeometryNode"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shape"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Base type for all Shape nodes.
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shape.html#X3DShapeNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DChildNode">
     
<xs:group ref="ShapeChildContentModel" minOccurs="0"/>
     
<xs:attribute name="bboxCenter" type="SFVec3f" default="0 0 0"/>
     
<xs:attribute name="bboxSize" type="boundingBoxSizeType" default="-1 -1 -1"/>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

attribute X3DShapeNode/@bboxCenter
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
source <xs:attribute name="bboxCenter" type="SFVec3f" default="0 0 0"/>

attribute X3DShapeNode/@bboxSize
type boundingBoxSizeType
properties
default -1 -1 -1
facets
Kind Value Annotation
whiteSpace collapse
pattern (((\+)?([1-9][0-9]*(\.[0-9]*)?|(0?\.[0-9]*[1-9][0-9]*))((E|e)(\+|\-)?[0-9]+)? (\+)?([1-9][0-9]*(\.[0-9]*)?|(0?\.[0-9]*[1-9][0-9]*))((E|e)(\+|\-)?[0-9]+)? (\+)?([1-9][0-9]*(\.[0-9]*)?|(0?\.[0-9]*[1-9][0-9]*))((E|e)(\+|\-)?[0-9]+)?)|(\-1(\.(0)*)? \-1(\.(0)*)? \-1(\.(0)*)?))?
source <xs:attribute name="bboxSize" type="boundingBoxSizeType" default="-1 -1 -1"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy