0001: //
0002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
0003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
0004: // Any modifications to this file will be lost upon recompilation of the source schema.
0005: // Generated on: 2007.03.17 at 08:38:02 AM PDT
0006: //
0007:
0008: package org.collada.colladaschema;
0009:
0010: import java.util.ArrayList;
0011: import java.util.List;
0012: import javax.xml.bind.annotation.XmlAccessType;
0013: import javax.xml.bind.annotation.XmlAccessorType;
0014: import javax.xml.bind.annotation.XmlAttribute;
0015: import javax.xml.bind.annotation.XmlElement;
0016: import javax.xml.bind.annotation.XmlID;
0017: import javax.xml.bind.annotation.XmlRootElement;
0018: import javax.xml.bind.annotation.XmlType;
0019: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
0020: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
0021:
0022: /**
0023: * <p>Java class for anonymous complex type.
0024: *
0025: * <p>The following schema fragment specifies the expected content contained within this class.
0026: *
0027: * <pre>
0028: * <complexType>
0029: * <complexContent>
0030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0031: * <sequence>
0032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
0033: * <element name="optics">
0034: * <complexType>
0035: * <complexContent>
0036: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0037: * <sequence>
0038: * <element name="technique_common">
0039: * <complexType>
0040: * <complexContent>
0041: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0042: * <choice>
0043: * <element name="orthographic">
0044: * <complexType>
0045: * <complexContent>
0046: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0047: * <sequence>
0048: * <choice>
0049: * <sequence>
0050: * <element name="xmag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0051: * <choice minOccurs="0">
0052: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0053: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0054: * </choice>
0055: * </sequence>
0056: * <sequence>
0057: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0058: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0059: * </sequence>
0060: * </choice>
0061: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0062: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0063: * </sequence>
0064: * </restriction>
0065: * </complexContent>
0066: * </complexType>
0067: * </element>
0068: * <element name="perspective">
0069: * <complexType>
0070: * <complexContent>
0071: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0072: * <sequence>
0073: * <choice>
0074: * <sequence>
0075: * <element name="xfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0076: * <choice minOccurs="0">
0077: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0078: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0079: * </choice>
0080: * </sequence>
0081: * <sequence>
0082: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0083: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0084: * </sequence>
0085: * </choice>
0086: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0087: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0088: * </sequence>
0089: * </restriction>
0090: * </complexContent>
0091: * </complexType>
0092: * </element>
0093: * </choice>
0094: * </restriction>
0095: * </complexContent>
0096: * </complexType>
0097: * </element>
0098: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
0099: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0100: * </sequence>
0101: * </restriction>
0102: * </complexContent>
0103: * </complexType>
0104: * </element>
0105: * <element name="imager" minOccurs="0">
0106: * <complexType>
0107: * <complexContent>
0108: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0109: * <sequence>
0110: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded"/>
0111: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0112: * </sequence>
0113: * </restriction>
0114: * </complexContent>
0115: * </complexType>
0116: * </element>
0117: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0118: * </sequence>
0119: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
0120: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0121: * </restriction>
0122: * </complexContent>
0123: * </complexType>
0124: * </pre>
0125: *
0126: *
0127: */
0128: @XmlAccessorType(XmlAccessType.FIELD)
0129: @XmlType(name="",propOrder={"asset","optics","imager","extras"})
0130: @XmlRootElement(name="camera")
0131: public class Camera {
0132:
0133: protected Asset asset;
0134: @XmlElement(required=true)
0135: protected Camera.Optics optics;
0136: protected Camera.Imager imager;
0137: @XmlElement(name="extra")
0138: protected List<Extra> extras;
0139: @XmlAttribute
0140: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0141: @XmlID
0142: protected String id;
0143: @XmlAttribute
0144: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0145: protected String name;
0146:
0147: /**
0148: *
0149: * The camera element may contain an asset element.
0150: *
0151: *
0152: * @return
0153: * possible object is
0154: * {@link Asset }
0155: *
0156: */
0157: public Asset getAsset() {
0158: return asset;
0159: }
0160:
0161: /**
0162: *
0163: * The camera element may contain an asset element.
0164: *
0165: *
0166: * @param value
0167: * allowed object is
0168: * {@link Asset }
0169: *
0170: */
0171: public void setAsset(Asset value) {
0172: this .asset = value;
0173: }
0174:
0175: /**
0176: * Gets the value of the optics property.
0177: *
0178: * @return
0179: * possible object is
0180: * {@link Camera.Optics }
0181: *
0182: */
0183: public Camera.Optics getOptics() {
0184: return optics;
0185: }
0186:
0187: /**
0188: * Sets the value of the optics property.
0189: *
0190: * @param value
0191: * allowed object is
0192: * {@link Camera.Optics }
0193: *
0194: */
0195: public void setOptics(Camera.Optics value) {
0196: this .optics = value;
0197: }
0198:
0199: /**
0200: * Gets the value of the imager property.
0201: *
0202: * @return
0203: * possible object is
0204: * {@link Camera.Imager }
0205: *
0206: */
0207: public Camera.Imager getImager() {
0208: return imager;
0209: }
0210:
0211: /**
0212: * Sets the value of the imager property.
0213: *
0214: * @param value
0215: * allowed object is
0216: * {@link Camera.Imager }
0217: *
0218: */
0219: public void setImager(Camera.Imager value) {
0220: this .imager = value;
0221: }
0222:
0223: /**
0224: *
0225: * The extra element may appear any number of times.
0226: * Gets the value of the extras property.
0227: *
0228: * <p>
0229: * This accessor method returns a reference to the live list,
0230: * not a snapshot. Therefore any modification you make to the
0231: * returned list will be present inside the JAXB object.
0232: * This is why there is not a <CODE>set</CODE> method for the extras property.
0233: *
0234: * <p>
0235: * For example, to add a new item, do as follows:
0236: * <pre>
0237: * getExtras().add(newItem);
0238: * </pre>
0239: *
0240: *
0241: * <p>
0242: * Objects of the following type(s) are allowed in the list
0243: * {@link Extra }
0244: *
0245: *
0246: */
0247: public List<Extra> getExtras() {
0248: if (extras == null) {
0249: extras = new ArrayList<Extra>();
0250: }
0251: return this .extras;
0252: }
0253:
0254: /**
0255: * Gets the value of the id property.
0256: *
0257: * @return
0258: * possible object is
0259: * {@link String }
0260: *
0261: */
0262: public String getId() {
0263: return id;
0264: }
0265:
0266: /**
0267: * Sets the value of the id property.
0268: *
0269: * @param value
0270: * allowed object is
0271: * {@link String }
0272: *
0273: */
0274: public void setId(String value) {
0275: this .id = value;
0276: }
0277:
0278: /**
0279: * Gets the value of the name property.
0280: *
0281: * @return
0282: * possible object is
0283: * {@link String }
0284: *
0285: */
0286: public String getName() {
0287: return name;
0288: }
0289:
0290: /**
0291: * Sets the value of the name property.
0292: *
0293: * @param value
0294: * allowed object is
0295: * {@link String }
0296: *
0297: */
0298: public void setName(String value) {
0299: this .name = value;
0300: }
0301:
0302: /**
0303: * <p>Java class for anonymous complex type.
0304: *
0305: * <p>The following schema fragment specifies the expected content contained within this class.
0306: *
0307: * <pre>
0308: * <complexType>
0309: * <complexContent>
0310: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0311: * <sequence>
0312: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded"/>
0313: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0314: * </sequence>
0315: * </restriction>
0316: * </complexContent>
0317: * </complexType>
0318: * </pre>
0319: *
0320: *
0321: */
0322: @XmlAccessorType(XmlAccessType.FIELD)
0323: @XmlType(name="",propOrder={"techniques","extras"})
0324: public static class Imager {
0325:
0326: @XmlElement(name="technique",required=true)
0327: protected List<Technique> techniques;
0328: @XmlElement(name="extra")
0329: protected List<Extra> extras;
0330:
0331: /**
0332: *
0333: * This element may contain any number of non-common profile techniques.
0334: * There is no common technique for imager.
0335: * Gets the value of the techniques property.
0336: *
0337: * <p>
0338: * This accessor method returns a reference to the live list,
0339: * not a snapshot. Therefore any modification you make to the
0340: * returned list will be present inside the JAXB object.
0341: * This is why there is not a <CODE>set</CODE> method for the techniques property.
0342: *
0343: * <p>
0344: * For example, to add a new item, do as follows:
0345: * <pre>
0346: * getTechniques().add(newItem);
0347: * </pre>
0348: *
0349: *
0350: * <p>
0351: * Objects of the following type(s) are allowed in the list
0352: * {@link Technique }
0353: *
0354: *
0355: */
0356: public List<Technique> getTechniques() {
0357: if (techniques == null) {
0358: techniques = new ArrayList<Technique>();
0359: }
0360: return this .techniques;
0361: }
0362:
0363: /**
0364: *
0365: * The extra element may appear any number of times.
0366: * Gets the value of the extras property.
0367: *
0368: * <p>
0369: * This accessor method returns a reference to the live list,
0370: * not a snapshot. Therefore any modification you make to the
0371: * returned list will be present inside the JAXB object.
0372: * This is why there is not a <CODE>set</CODE> method for the extras property.
0373: *
0374: * <p>
0375: * For example, to add a new item, do as follows:
0376: * <pre>
0377: * getExtras().add(newItem);
0378: * </pre>
0379: *
0380: *
0381: * <p>
0382: * Objects of the following type(s) are allowed in the list
0383: * {@link Extra }
0384: *
0385: *
0386: */
0387: public List<Extra> getExtras() {
0388: if (extras == null) {
0389: extras = new ArrayList<Extra>();
0390: }
0391: return this .extras;
0392: }
0393:
0394: }
0395:
0396: /**
0397: * <p>Java class for anonymous complex type.
0398: *
0399: * <p>The following schema fragment specifies the expected content contained within this class.
0400: *
0401: * <pre>
0402: * <complexType>
0403: * <complexContent>
0404: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0405: * <sequence>
0406: * <element name="technique_common">
0407: * <complexType>
0408: * <complexContent>
0409: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0410: * <choice>
0411: * <element name="orthographic">
0412: * <complexType>
0413: * <complexContent>
0414: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0415: * <sequence>
0416: * <choice>
0417: * <sequence>
0418: * <element name="xmag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0419: * <choice minOccurs="0">
0420: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0421: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0422: * </choice>
0423: * </sequence>
0424: * <sequence>
0425: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0426: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0427: * </sequence>
0428: * </choice>
0429: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0430: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0431: * </sequence>
0432: * </restriction>
0433: * </complexContent>
0434: * </complexType>
0435: * </element>
0436: * <element name="perspective">
0437: * <complexType>
0438: * <complexContent>
0439: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0440: * <sequence>
0441: * <choice>
0442: * <sequence>
0443: * <element name="xfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0444: * <choice minOccurs="0">
0445: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0446: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0447: * </choice>
0448: * </sequence>
0449: * <sequence>
0450: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0451: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0452: * </sequence>
0453: * </choice>
0454: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0455: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0456: * </sequence>
0457: * </restriction>
0458: * </complexContent>
0459: * </complexType>
0460: * </element>
0461: * </choice>
0462: * </restriction>
0463: * </complexContent>
0464: * </complexType>
0465: * </element>
0466: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
0467: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0468: * </sequence>
0469: * </restriction>
0470: * </complexContent>
0471: * </complexType>
0472: * </pre>
0473: *
0474: *
0475: */
0476: @XmlAccessorType(XmlAccessType.FIELD)
0477: @XmlType(name="",propOrder={"techniqueCommon","techniques","extras"})
0478: public static class Optics {
0479:
0480: @XmlElement(name="technique_common",required=true)
0481: protected Camera.Optics.TechniqueCommon techniqueCommon;
0482: @XmlElement(name="technique")
0483: protected List<Technique> techniques;
0484: @XmlElement(name="extra")
0485: protected List<Extra> extras;
0486:
0487: /**
0488: * Gets the value of the techniqueCommon property.
0489: *
0490: * @return
0491: * possible object is
0492: * {@link Camera.Optics.TechniqueCommon }
0493: *
0494: */
0495: public Camera.Optics.TechniqueCommon getTechniqueCommon() {
0496: return techniqueCommon;
0497: }
0498:
0499: /**
0500: * Sets the value of the techniqueCommon property.
0501: *
0502: * @param value
0503: * allowed object is
0504: * {@link Camera.Optics.TechniqueCommon }
0505: *
0506: */
0507: public void setTechniqueCommon(
0508: Camera.Optics.TechniqueCommon value) {
0509: this .techniqueCommon = value;
0510: }
0511:
0512: /**
0513: *
0514: * This element may contain any number of non-common profile techniques.
0515: * Gets the value of the techniques property.
0516: *
0517: * <p>
0518: * This accessor method returns a reference to the live list,
0519: * not a snapshot. Therefore any modification you make to the
0520: * returned list will be present inside the JAXB object.
0521: * This is why there is not a <CODE>set</CODE> method for the techniques property.
0522: *
0523: * <p>
0524: * For example, to add a new item, do as follows:
0525: * <pre>
0526: * getTechniques().add(newItem);
0527: * </pre>
0528: *
0529: *
0530: * <p>
0531: * Objects of the following type(s) are allowed in the list
0532: * {@link Technique }
0533: *
0534: *
0535: */
0536: public List<Technique> getTechniques() {
0537: if (techniques == null) {
0538: techniques = new ArrayList<Technique>();
0539: }
0540: return this .techniques;
0541: }
0542:
0543: /**
0544: *
0545: * The extra element may appear any number of times.
0546: * Gets the value of the extras property.
0547: *
0548: * <p>
0549: * This accessor method returns a reference to the live list,
0550: * not a snapshot. Therefore any modification you make to the
0551: * returned list will be present inside the JAXB object.
0552: * This is why there is not a <CODE>set</CODE> method for the extras property.
0553: *
0554: * <p>
0555: * For example, to add a new item, do as follows:
0556: * <pre>
0557: * getExtras().add(newItem);
0558: * </pre>
0559: *
0560: *
0561: * <p>
0562: * Objects of the following type(s) are allowed in the list
0563: * {@link Extra }
0564: *
0565: *
0566: */
0567: public List<Extra> getExtras() {
0568: if (extras == null) {
0569: extras = new ArrayList<Extra>();
0570: }
0571: return this .extras;
0572: }
0573:
0574: /**
0575: * <p>Java class for anonymous complex type.
0576: *
0577: * <p>The following schema fragment specifies the expected content contained within this class.
0578: *
0579: * <pre>
0580: * <complexType>
0581: * <complexContent>
0582: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0583: * <choice>
0584: * <element name="orthographic">
0585: * <complexType>
0586: * <complexContent>
0587: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0588: * <sequence>
0589: * <choice>
0590: * <sequence>
0591: * <element name="xmag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0592: * <choice minOccurs="0">
0593: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0594: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0595: * </choice>
0596: * </sequence>
0597: * <sequence>
0598: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0599: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0600: * </sequence>
0601: * </choice>
0602: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0603: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0604: * </sequence>
0605: * </restriction>
0606: * </complexContent>
0607: * </complexType>
0608: * </element>
0609: * <element name="perspective">
0610: * <complexType>
0611: * <complexContent>
0612: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0613: * <sequence>
0614: * <choice>
0615: * <sequence>
0616: * <element name="xfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0617: * <choice minOccurs="0">
0618: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0619: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0620: * </choice>
0621: * </sequence>
0622: * <sequence>
0623: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0624: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0625: * </sequence>
0626: * </choice>
0627: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0628: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0629: * </sequence>
0630: * </restriction>
0631: * </complexContent>
0632: * </complexType>
0633: * </element>
0634: * </choice>
0635: * </restriction>
0636: * </complexContent>
0637: * </complexType>
0638: * </pre>
0639: *
0640: *
0641: */
0642: @XmlAccessorType(XmlAccessType.FIELD)
0643: @XmlType(name="",propOrder={"orthographic","perspective"})
0644: public static class TechniqueCommon {
0645:
0646: protected Camera.Optics.TechniqueCommon.Orthographic orthographic;
0647: protected Camera.Optics.TechniqueCommon.Perspective perspective;
0648:
0649: /**
0650: * Gets the value of the orthographic property.
0651: *
0652: * @return
0653: * possible object is
0654: * {@link Camera.Optics.TechniqueCommon.Orthographic }
0655: *
0656: */
0657: public Camera.Optics.TechniqueCommon.Orthographic getOrthographic() {
0658: return orthographic;
0659: }
0660:
0661: /**
0662: * Sets the value of the orthographic property.
0663: *
0664: * @param value
0665: * allowed object is
0666: * {@link Camera.Optics.TechniqueCommon.Orthographic }
0667: *
0668: */
0669: public void setOrthographic(
0670: Camera.Optics.TechniqueCommon.Orthographic value) {
0671: this .orthographic = value;
0672: }
0673:
0674: /**
0675: * Gets the value of the perspective property.
0676: *
0677: * @return
0678: * possible object is
0679: * {@link Camera.Optics.TechniqueCommon.Perspective }
0680: *
0681: */
0682: public Camera.Optics.TechniqueCommon.Perspective getPerspective() {
0683: return perspective;
0684: }
0685:
0686: /**
0687: * Sets the value of the perspective property.
0688: *
0689: * @param value
0690: * allowed object is
0691: * {@link Camera.Optics.TechniqueCommon.Perspective }
0692: *
0693: */
0694: public void setPerspective(
0695: Camera.Optics.TechniqueCommon.Perspective value) {
0696: this .perspective = value;
0697: }
0698:
0699: /**
0700: * <p>Java class for anonymous complex type.
0701: *
0702: * <p>The following schema fragment specifies the expected content contained within this class.
0703: *
0704: * <pre>
0705: * <complexType>
0706: * <complexContent>
0707: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0708: * <sequence>
0709: * <choice>
0710: * <sequence>
0711: * <element name="xmag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0712: * <choice minOccurs="0">
0713: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0714: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0715: * </choice>
0716: * </sequence>
0717: * <sequence>
0718: * <element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0719: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0720: * </sequence>
0721: * </choice>
0722: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0723: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0724: * </sequence>
0725: * </restriction>
0726: * </complexContent>
0727: * </complexType>
0728: * </pre>
0729: *
0730: *
0731: */
0732: @XmlAccessorType(XmlAccessType.FIELD)
0733: @XmlType(name="",propOrder={"xmag","ymag","aspectRatio","znear","zfar"})
0734: public static class Orthographic {
0735:
0736: protected TargetableFloat xmag;
0737: protected TargetableFloat ymag;
0738: @XmlElement(name="aspect_ratio")
0739: protected TargetableFloat aspectRatio;
0740: @XmlElement(required=true)
0741: protected TargetableFloat znear;
0742: @XmlElement(required=true)
0743: protected TargetableFloat zfar;
0744:
0745: /**
0746: * Gets the value of the xmag property.
0747: *
0748: * @return
0749: * possible object is
0750: * {@link TargetableFloat }
0751: *
0752: */
0753: public TargetableFloat getXmag() {
0754: return xmag;
0755: }
0756:
0757: /**
0758: * Sets the value of the xmag property.
0759: *
0760: * @param value
0761: * allowed object is
0762: * {@link TargetableFloat }
0763: *
0764: */
0765: public void setXmag(TargetableFloat value) {
0766: this .xmag = value;
0767: }
0768:
0769: /**
0770: * Gets the value of the ymag property.
0771: *
0772: * @return
0773: * possible object is
0774: * {@link TargetableFloat }
0775: *
0776: */
0777: public TargetableFloat getYmag() {
0778: return ymag;
0779: }
0780:
0781: /**
0782: * Sets the value of the ymag property.
0783: *
0784: * @param value
0785: * allowed object is
0786: * {@link TargetableFloat }
0787: *
0788: */
0789: public void setYmag(TargetableFloat value) {
0790: this .ymag = value;
0791: }
0792:
0793: /**
0794: * Gets the value of the aspectRatio property.
0795: *
0796: * @return
0797: * possible object is
0798: * {@link TargetableFloat }
0799: *
0800: */
0801: public TargetableFloat getAspectRatio() {
0802: return aspectRatio;
0803: }
0804:
0805: /**
0806: * Sets the value of the aspectRatio property.
0807: *
0808: * @param value
0809: * allowed object is
0810: * {@link TargetableFloat }
0811: *
0812: */
0813: public void setAspectRatio(TargetableFloat value) {
0814: this .aspectRatio = value;
0815: }
0816:
0817: /**
0818: * Gets the value of the znear property.
0819: *
0820: * @return
0821: * possible object is
0822: * {@link TargetableFloat }
0823: *
0824: */
0825: public TargetableFloat getZnear() {
0826: return znear;
0827: }
0828:
0829: /**
0830: * Sets the value of the znear property.
0831: *
0832: * @param value
0833: * allowed object is
0834: * {@link TargetableFloat }
0835: *
0836: */
0837: public void setZnear(TargetableFloat value) {
0838: this .znear = value;
0839: }
0840:
0841: /**
0842: * Gets the value of the zfar property.
0843: *
0844: * @return
0845: * possible object is
0846: * {@link TargetableFloat }
0847: *
0848: */
0849: public TargetableFloat getZfar() {
0850: return zfar;
0851: }
0852:
0853: /**
0854: * Sets the value of the zfar property.
0855: *
0856: * @param value
0857: * allowed object is
0858: * {@link TargetableFloat }
0859: *
0860: */
0861: public void setZfar(TargetableFloat value) {
0862: this .zfar = value;
0863: }
0864:
0865: }
0866:
0867: /**
0868: * <p>Java class for anonymous complex type.
0869: *
0870: * <p>The following schema fragment specifies the expected content contained within this class.
0871: *
0872: * <pre>
0873: * <complexType>
0874: * <complexContent>
0875: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0876: * <sequence>
0877: * <choice>
0878: * <sequence>
0879: * <element name="xfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0880: * <choice minOccurs="0">
0881: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0882: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0883: * </choice>
0884: * </sequence>
0885: * <sequence>
0886: * <element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0887: * <element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0888: * </sequence>
0889: * </choice>
0890: * <element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0891: * <element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
0892: * </sequence>
0893: * </restriction>
0894: * </complexContent>
0895: * </complexType>
0896: * </pre>
0897: *
0898: *
0899: */
0900: @XmlAccessorType(XmlAccessType.FIELD)
0901: @XmlType(name="",propOrder={"xfov","yfov","aspectRatio","znear","zfar"})
0902: public static class Perspective {
0903:
0904: protected TargetableFloat xfov;
0905: protected TargetableFloat yfov;
0906: @XmlElement(name="aspect_ratio")
0907: protected TargetableFloat aspectRatio;
0908: @XmlElement(required=true)
0909: protected TargetableFloat znear;
0910: @XmlElement(required=true)
0911: protected TargetableFloat zfar;
0912:
0913: /**
0914: * Gets the value of the xfov property.
0915: *
0916: * @return
0917: * possible object is
0918: * {@link TargetableFloat }
0919: *
0920: */
0921: public TargetableFloat getXfov() {
0922: return xfov;
0923: }
0924:
0925: /**
0926: * Sets the value of the xfov property.
0927: *
0928: * @param value
0929: * allowed object is
0930: * {@link TargetableFloat }
0931: *
0932: */
0933: public void setXfov(TargetableFloat value) {
0934: this .xfov = value;
0935: }
0936:
0937: /**
0938: * Gets the value of the yfov property.
0939: *
0940: * @return
0941: * possible object is
0942: * {@link TargetableFloat }
0943: *
0944: */
0945: public TargetableFloat getYfov() {
0946: return yfov;
0947: }
0948:
0949: /**
0950: * Sets the value of the yfov property.
0951: *
0952: * @param value
0953: * allowed object is
0954: * {@link TargetableFloat }
0955: *
0956: */
0957: public void setYfov(TargetableFloat value) {
0958: this .yfov = value;
0959: }
0960:
0961: /**
0962: * Gets the value of the aspectRatio property.
0963: *
0964: * @return
0965: * possible object is
0966: * {@link TargetableFloat }
0967: *
0968: */
0969: public TargetableFloat getAspectRatio() {
0970: return aspectRatio;
0971: }
0972:
0973: /**
0974: * Sets the value of the aspectRatio property.
0975: *
0976: * @param value
0977: * allowed object is
0978: * {@link TargetableFloat }
0979: *
0980: */
0981: public void setAspectRatio(TargetableFloat value) {
0982: this .aspectRatio = value;
0983: }
0984:
0985: /**
0986: * Gets the value of the znear property.
0987: *
0988: * @return
0989: * possible object is
0990: * {@link TargetableFloat }
0991: *
0992: */
0993: public TargetableFloat getZnear() {
0994: return znear;
0995: }
0996:
0997: /**
0998: * Sets the value of the znear property.
0999: *
1000: * @param value
1001: * allowed object is
1002: * {@link TargetableFloat }
1003: *
1004: */
1005: public void setZnear(TargetableFloat value) {
1006: this .znear = value;
1007: }
1008:
1009: /**
1010: * Gets the value of the zfar property.
1011: *
1012: * @return
1013: * possible object is
1014: * {@link TargetableFloat }
1015: *
1016: */
1017: public TargetableFloat getZfar() {
1018: return zfar;
1019: }
1020:
1021: /**
1022: * Sets the value of the zfar property.
1023: *
1024: * @param value
1025: * allowed object is
1026: * {@link TargetableFloat }
1027: *
1028: */
1029: public void setZfar(TargetableFloat value) {
1030: this.zfar = value;
1031: }
1032:
1033: }
1034:
1035: }
1036:
1037: }
1038:
1039: }
|