colladaLoader.xmlMapping
Class Source

java.lang.Object
  extended by colladaLoader.xmlMapping.SubTag
      extended by colladaLoader.xmlMapping.Source

 class Source
extends SubTag

Lucerne University of Applied Sciences and Arts http://www.hslu.ch

This source is free; you can redistribute it and/or modify it under the terms of the GNU General Public License and by nameing of the originally author

this class is a helper-class to map the source-tag inside the Geometry-tag

Version:
1.0
Author:
Markus Zimmermann http://www.die-seite.ch

Field Summary
private  java.lang.String ID
           
private  float[][] pointmatrix
           
 
Constructor Summary
Source(processing.xml.XMLElement source)
           
 
Method Summary
(package private)  java.lang.String getID()
          returns the ID of this xml-tag
(package private)  java.lang.String getNextSource()
          links to the next sub-tag (if exists)to get more informations.
(package private)  float[][] getPointMatrix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pointmatrix

private float[][] pointmatrix

ID

private java.lang.String ID
Constructor Detail

Source

Source(processing.xml.XMLElement source)
Method Detail

getPointMatrix

float[][] getPointMatrix()
Returns:
returns position-Points in the format format: [index][x,y,z or x,y]

getID

java.lang.String getID()
Description copied from class: SubTag
returns the ID of this xml-tag

Specified by:
getID in class SubTag
Returns:
the ID

getNextSource

java.lang.String getNextSource()
Description copied from class: SubTag
links to the next sub-tag (if exists)to get more informations. Otherwise it returns the ID

Specified by:
getNextSource in class SubTag
Returns:
the next Tag-ID or source, whatever