GeoViewpoint

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
DEF xs:ID optional
USE xs:IDREF optional
centerOfRotation SFVec3d 0 0 0 optional
class xs:NMTOKENS optional
containerField xs:NMTOKEN children optional
description SFString optional
fieldOfView restriction of SFFloat 0.7854 optional
geoSystem geoSystemType "GD" "WE" optional
headlight SFBool true optional
jump SFBool true optional
navType MFString "EXAMINE" "ANY" optional
orientation SFRotation 0 0 1 0 optional
position SFVec3d 0 0 100000 optional
retainUserOffsets SFBool false optional
speedFactor restriction of SFFloat 1.0 optional

Used By

Source

<xs:element name="GeoViewpoint">
  <xs:annotation>
    <xs:appinfo>
      <xs:element name="geoOrigin" type="SFNode" fixed="initializeOnlyField" default="GeoOrigin"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Geospatial"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
      <!-- X3D v3.3 GeoViewpoint changes: added centerOfRotation and retainUserOffsets, removed navType and headlight, removed set_position and set_orientation -->
    </xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geodata.html#GeoViewpoint"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DViewpointNode">
        <xs:sequence minOccurs="0">
          <xs:element ref="GeoOrigin"/>
        </xs:sequence>
        <xs:attribute name="centerOfRotation" type="SFVec3d" default="0 0 0"/>
        <xs:attribute name="geoSystem" type="geoSystemType" default=""GD" "WE""/>
        <xs:attribute name="fieldOfView" default="0.7854">
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minExclusive value="0"/>
              <xs:maxExclusive value="3.1416"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="position" type="SFVec3d" default="0 0 100000"/>
        <xs:attribute name="headlight" type="SFBool" default="true"/>
        <xs:attribute name="navType" type="MFString" default=""EXAMINE" "ANY""/>
        <xs:attribute name="speedFactor" default="1.0">
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minInclusive value="0"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample