|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.geom.CharacterData
public class CharacterData
Data-holder class representing a single polygonalised character that has
been created by the CharacterCreator
.
Character data is held as a single indexed triangle array representation and is relative to it's own local coordinate system. Character data is presented in the 2D X-Z plane with the normal pointing along the positive Z axis.
Field Summary | |
---|---|
java.awt.geom.Rectangle2D.Float |
bounds
The 2D bounds of the character - in the X,Y plane. |
java.nio.FloatBuffer |
coordinates
List of vertices needed to generate the text. |
java.nio.IntBuffer |
coordIndex
The list of indices creating the triangles representing the text |
int |
numIndex
The number of valid coordinate indices in the list |
float |
scale
The generic scale that was applied to get these bounds |
Constructor Summary | |
---|---|
CharacterData()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.nio.FloatBuffer coordinates
public int numIndex
public java.nio.IntBuffer coordIndex
public java.awt.geom.Rectangle2D.Float bounds
public float scale
Constructor Detail |
---|
public CharacterData()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |