org.jcae.viewer3d.fd
Class PL02BranchGroup.SelectionQuad

java.lang.Object
  extended by org.jcae.viewer3d.fd.PL02BranchGroup.SelectionQuad
Enclosing class:
PL02BranchGroup

protected class PL02BranchGroup.SelectionQuad
extends java.lang.Object


Field Summary
 int groupIdx
           
 Plate p
           
 int u
           
 int v
           
 
Constructor Summary
PL02BranchGroup.SelectionQuad(Plate p, int u, int v, int groupIdx)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void updateColors(float[] colors, int i)
           
 void updateCoords(float[][] grid, float[] coords, int i)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p

public Plate p

u

public int u

v

public int v

groupIdx

public int groupIdx
Constructor Detail

PL02BranchGroup.SelectionQuad

public PL02BranchGroup.SelectionQuad(Plate p,
                                     int u,
                                     int v,
                                     int groupIdx)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

updateColors

public void updateColors(float[] colors,
                         int i)
Parameters:
colors - A color buffer
i - The index in this buffer where to put the 12 components of this quad

updateCoords

public void updateCoords(float[][] grid,
                         float[] coords,
                         int i)
Parameters:
coords - A coordinate buffer
i - The index in this buffer where to put the 12 components of this quad