org.collada._2005._11.colladaschema
Class Mesh

java.lang.Object
  extended by org.collada._2005._11.colladaschema.Mesh

public class Mesh
extends Object

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 ref="{http://www.collada.org/2005/11/COLLADASchema}source" maxOccurs="unbounded"/>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}vertices"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}lines"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}linestrips"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}polygons"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}polylist"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}triangles"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}trifans"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}tristrips"/>
         </choice>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Extra> extra
           
protected  List<Object> linesOrLinestripsOrPolygons
           
protected  List<Source> source
           
protected  Vertices vertices
           
 
Constructor Summary
Mesh()
           
 
Method Summary
 List<Extra> getExtra()
          The extra element may appear any number of times.
 List<Object> getLinesOrLinestripsOrPolygons()
          Gets the value of the linesOrLinestripsOrPolygons property.
 List<Source> getSource()
          The mesh element must contain one or more source elements.
 Vertices getVertices()
          The mesh element must contain one vertices element.
 void setVertices(Vertices value)
          The mesh element must contain one vertices element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected List<Source> source

vertices

protected Vertices vertices

linesOrLinestripsOrPolygons

protected List<Object> linesOrLinestripsOrPolygons

extra

protected List<Extra> extra
Constructor Detail

Mesh

public Mesh()
Method Detail

getSource

public List<Source> getSource()
The mesh element must contain one or more source elements. Gets the value of the source property.

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 source property.

For example, to add a new item, do as follows:

    getSource().add(newItem);
 

Objects of the following type(s) are allowed in the list Source


getVertices

public Vertices getVertices()
The mesh element must contain one vertices element.

Returns:
possible object is Vertices

setVertices

public void setVertices(Vertices value)
The mesh element must contain one vertices element.

Parameters:
value - allowed object is Vertices

getLinesOrLinestripsOrPolygons

public List<Object> getLinesOrLinestripsOrPolygons()
Gets the value of the linesOrLinestripsOrPolygons property.

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 linesOrLinestripsOrPolygons property.

For example, to add a new item, do as follows:

    getLinesOrLinestripsOrPolygons().add(newItem);
 

Objects of the following type(s) are allowed in the list Triangles Polygons Polylist Linestrips Tristrips Trifans Lines


getExtra

public List<Extra> getExtra()
The extra element may appear any number of times. Gets the value of the extra property.

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 extra property.

For example, to add a new item, do as follows:

    getExtra().add(newItem);
 

Objects of the following type(s) are allowed in the list Extra


CroftSoft Javadoc

CroftSoft COLLADA JAXB Javadoc (2006-11-13 15:08:25)