|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.opengl.scenegraph.ScenegraphTranslator
public final class ScenegraphTranslator
Translates hmi.graphics.scenegraph components into hmi.graphics.opengl counterparts.
| Field Summary | |
|---|---|
private static boolean |
addVertexWeightColors
|
| Constructor Summary | |
|---|---|
private |
ScenegraphTranslator()
|
| Method Summary | |
|---|---|
private static void |
addGLBasicMeshAttributes(GMesh gmesh,
GLBasicMesh glmesh)
|
static GLBasicMesh |
fromGMeshToGLBasicMesh(GMesh gmesh)
Creates a new GLBasicMesh, from data obtained from the specified GMesh. |
static VJoint |
fromGNodeToVJoint(GNode gnode,
GLRenderList glShapeList,
List<GLSkinnedMesh> glSkinnedMeshes)
Translates a GNode base scenegraph into a VJoint based scenegraph plus a list of GLShape RenderObjects. |
static GLScene |
fromGSceneToGLScene(GScene gscene)
Translates a GScene into a GLScene |
static GLShape |
fromGShapeToGLShape(GShape gshape,
List<GLSkinnedMesh> glSkinnedMeshes)
Translates a scenegraph GShape into an opengl GLShape |
static GLSkinnedMesh |
fromGSkinnedMeshToGLSkinnedMesh(GSkinnedMesh gmesh)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static boolean addVertexWeightColors
| Constructor Detail |
|---|
private ScenegraphTranslator()
| Method Detail |
|---|
public static GLScene fromGSceneToGLScene(GScene gscene)
public static GLBasicMesh fromGMeshToGLBasicMesh(GMesh gmesh)
public static GLSkinnedMesh fromGSkinnedMeshToGLSkinnedMesh(GSkinnedMesh gmesh)
private static void addGLBasicMeshAttributes(GMesh gmesh,
GLBasicMesh glmesh)
public static GLShape fromGShapeToGLShape(GShape gshape,
List<GLSkinnedMesh> glSkinnedMeshes)
public static VJoint fromGNodeToVJoint(GNode gnode,
GLRenderList glShapeList,
List<GLSkinnedMesh> glSkinnedMeshes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||