// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.06.28 at 09:57:29 PM EDT // package org.collada._2008._03.colladaschema; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * * The camera element declares a view into the scene hierarchy or scene graph. The camera contains * elements that describe the camera's optics and imager. * * *
Java class for camera_type complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="camera_type"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="asset" type="{http://www.collada.org/2008/03/COLLADASchema}asset_type" minOccurs="0"/> * <element name="optics"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="technique_common"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element name="orthographic"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <choice> * <sequence> * <element name="xmag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <choice minOccurs="0"> * <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * </choice> * </sequence> * <sequence> * <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/> * </sequence> * </choice> * <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="perspective"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <choice> * <sequence> * <element name="xfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <choice minOccurs="0"> * <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * </choice> * </sequence> * <sequence> * <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/> * </sequence> * </choice> * <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </choice> * </restriction> * </complexContent> * </complexType> * </element> * <element name="technique" type="{http://www.collada.org/2008/03/COLLADASchema}technique_type" maxOccurs="unbounded" minOccurs="0"/> * <element name="extra" type="{http://www.collada.org/2008/03/COLLADASchema}extra_type" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="imager" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="technique" type="{http://www.collada.org/2008/03/COLLADASchema}technique_type" maxOccurs="unbounded"/> * <element name="extra" type="{http://www.collada.org/2008/03/COLLADASchema}extra_type" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="extra" type="{http://www.collada.org/2008/03/COLLADASchema}extra_type" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}token" /> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "camera_type", propOrder = { "asset", "optics", "imager", "extras" }) public class CameraType { protected AssetType asset; @XmlElement(required = true) protected CameraType.Optics optics; protected CameraType.Imager imager; @XmlElement(name = "extra") protected List
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the extras property.
*
*
* For example, to add a new item, do as follows: *
* getExtras().add(newItem); ** * *
* Objects of the following type(s) are allowed in the list
* {@link ExtraType }
*
*
*/
public List Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a
* For example, to add a new item, do as follows:
*
* Objects of the following type(s) are allowed in the list
* {@link TechniqueType }
*
*
*/
public List
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a
* For example, to add a new item, do as follows:
*
* Objects of the following type(s) are allowed in the list
* {@link ExtraType }
*
*
*/
public List Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a
* For example, to add a new item, do as follows:
*
* Objects of the following type(s) are allowed in the list
* {@link TechniqueType }
*
*
*/
public List
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a
* For example, to add a new item, do as follows:
*
* Objects of the following type(s) are allowed in the list
* {@link ExtraType }
*
*
*/
public List Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
* Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
* Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="technique" type="{http://www.collada.org/2008/03/COLLADASchema}technique_type" maxOccurs="unbounded"/>
* <element name="extra" type="{http://www.collada.org/2008/03/COLLADASchema}extra_type" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"techniques",
"extras"
})
public static class Imager {
@XmlElement(name = "technique", required = true)
protected Listset
method for the techniques property.
*
*
* getTechniques().add(newItem);
*
*
*
* set
method for the extras property.
*
*
* getExtras().add(newItem);
*
*
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="technique_common">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="orthographic">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="xmag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <choice minOccurs="0">
* <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </choice>
* </sequence>
* <sequence>
* <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/>
* </sequence>
* </choice>
* <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="perspective">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="xfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <choice minOccurs="0">
* <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </choice>
* </sequence>
* <sequence>
* <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/>
* </sequence>
* </choice>
* <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="technique" type="{http://www.collada.org/2008/03/COLLADASchema}technique_type" maxOccurs="unbounded" minOccurs="0"/>
* <element name="extra" type="{http://www.collada.org/2008/03/COLLADASchema}extra_type" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"techniqueCommon",
"techniques",
"extras"
})
public static class Optics {
@XmlElement(name = "technique_common", required = true)
protected CameraType.Optics.TechniqueCommon techniqueCommon;
@XmlElement(name = "technique")
protected Listset
method for the techniques property.
*
*
* getTechniques().add(newItem);
*
*
*
* set
method for the extras property.
*
*
* getExtras().add(newItem);
*
*
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="orthographic">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="xmag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <choice minOccurs="0">
* <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </choice>
* </sequence>
* <sequence>
* <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/>
* </sequence>
* </choice>
* <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="perspective">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="xfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <choice minOccurs="0">
* <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </choice>
* </sequence>
* <sequence>
* <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/>
* </sequence>
* </choice>
* <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"perspective",
"orthographic"
})
public static class TechniqueCommon {
protected CameraType.Optics.TechniqueCommon.Perspective perspective;
protected CameraType.Optics.TechniqueCommon.Orthographic orthographic;
/**
* Gets the value of the perspective property.
*
* @return
* possible object is
* {@link CameraType.Optics.TechniqueCommon.Perspective }
*
*/
public CameraType.Optics.TechniqueCommon.Perspective getPerspective() {
return perspective;
}
/**
* Sets the value of the perspective property.
*
* @param value
* allowed object is
* {@link CameraType.Optics.TechniqueCommon.Perspective }
*
*/
public void setPerspective(CameraType.Optics.TechniqueCommon.Perspective value) {
this.perspective = value;
}
/**
* Gets the value of the orthographic property.
*
* @return
* possible object is
* {@link CameraType.Optics.TechniqueCommon.Orthographic }
*
*/
public CameraType.Optics.TechniqueCommon.Orthographic getOrthographic() {
return orthographic;
}
/**
* Sets the value of the orthographic property.
*
* @param value
* allowed object is
* {@link CameraType.Optics.TechniqueCommon.Orthographic }
*
*/
public void setOrthographic(CameraType.Optics.TechniqueCommon.Orthographic value) {
this.orthographic = value;
}
/**
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="xmag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <choice minOccurs="0">
* <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </choice>
* </sequence>
* <sequence>
* <element name="ymag" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/>
* </sequence>
* </choice>
* <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"xmag",
"ymag",
"aspectRatio",
"znear",
"zfar"
})
public static class Orthographic {
protected TargetableFloatType xmag;
protected TargetableFloatType ymag;
@XmlElement(name = "aspect_ratio")
protected TargetableFloatType aspectRatio;
@XmlElement(required = true)
protected TargetableFloatType znear;
@XmlElement(required = true)
protected TargetableFloatType zfar;
/**
* Gets the value of the xmag property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getXmag() {
return xmag;
}
/**
* Sets the value of the xmag property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setXmag(TargetableFloatType value) {
this.xmag = value;
}
/**
* Gets the value of the ymag property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getYmag() {
return ymag;
}
/**
* Sets the value of the ymag property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setYmag(TargetableFloatType value) {
this.ymag = value;
}
/**
* Gets the value of the aspectRatio property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getAspectRatio() {
return aspectRatio;
}
/**
* Sets the value of the aspectRatio property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setAspectRatio(TargetableFloatType value) {
this.aspectRatio = value;
}
/**
* Gets the value of the znear property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getZnear() {
return znear;
}
/**
* Sets the value of the znear property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setZnear(TargetableFloatType value) {
this.znear = value;
}
/**
* Gets the value of the zfar property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getZfar() {
return zfar;
}
/**
* Sets the value of the zfar property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setZfar(TargetableFloatType value) {
this.zfar = value;
}
}
/**
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="xfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <choice minOccurs="0">
* <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </choice>
* </sequence>
* <sequence>
* <element name="yfov" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="aspect_ratio" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type" minOccurs="0"/>
* </sequence>
* </choice>
* <element name="znear" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* <element name="zfar" type="{http://www.collada.org/2008/03/COLLADASchema}targetable_float_type"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"xfov",
"yfov",
"aspectRatio",
"znear",
"zfar"
})
public static class Perspective {
protected TargetableFloatType xfov;
protected TargetableFloatType yfov;
@XmlElement(name = "aspect_ratio")
protected TargetableFloatType aspectRatio;
@XmlElement(required = true)
protected TargetableFloatType znear;
@XmlElement(required = true)
protected TargetableFloatType zfar;
/**
* Gets the value of the xfov property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getXfov() {
return xfov;
}
/**
* Sets the value of the xfov property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setXfov(TargetableFloatType value) {
this.xfov = value;
}
/**
* Gets the value of the yfov property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getYfov() {
return yfov;
}
/**
* Sets the value of the yfov property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setYfov(TargetableFloatType value) {
this.yfov = value;
}
/**
* Gets the value of the aspectRatio property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getAspectRatio() {
return aspectRatio;
}
/**
* Sets the value of the aspectRatio property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setAspectRatio(TargetableFloatType value) {
this.aspectRatio = value;
}
/**
* Gets the value of the znear property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getZnear() {
return znear;
}
/**
* Sets the value of the znear property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setZnear(TargetableFloatType value) {
this.znear = value;
}
/**
* Gets the value of the zfar property.
*
* @return
* possible object is
* {@link TargetableFloatType }
*
*/
public TargetableFloatType getZfar() {
return zfar;
}
/**
* Sets the value of the zfar property.
*
* @param value
* allowed object is
* {@link TargetableFloatType }
*
*/
public void setZfar(TargetableFloatType value) {
this.zfar = value;
}
}
}
}
}