Class StaticLocationTransformer<V extends AbstractGraphNode>

java.lang.Object
mgui.interfaces.graphs.util.StaticLocationTransformer<V>
Type Parameters:
V -
All Implemented Interfaces:
org.apache.commons.collections15.Transformer<V,​org.jogamp.vecmath.Point3f>

public class StaticLocationTransformer<V extends AbstractGraphNode>
extends java.lang.Object
implements org.apache.commons.collections15.Transformer<V,​org.jogamp.vecmath.Point3f>
Simple transformer returns the static location of a graph vertex.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Constructor Summary

    Constructors
    Constructor Description
    StaticLocationTransformer()  
    StaticLocationTransformer​(org.jogamp.java3d.BoundingSphere bs)  
  • Method Summary

    Modifier and Type Method Description
    org.jogamp.vecmath.Point3f transform​(V vertex)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StaticLocationTransformer

      public StaticLocationTransformer()
    • StaticLocationTransformer

      public StaticLocationTransformer​(org.jogamp.java3d.BoundingSphere bs)
  • Method Details

    • transform

      public org.jogamp.vecmath.Point3f transform​(V vertex)
      Specified by:
      transform in interface org.apache.commons.collections15.Transformer<V extends AbstractGraphNode,​org.jogamp.vecmath.Point3f>