|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.util.ColladaReader
public final class ColladaReader
ColladReader can read a Collada file from a resource directory, and translate it into a GScene or GLScene.
| Field Summary | |
|---|---|
static String |
DEFAULT_COLLADA_RESOURCE_DIR
|
private static org.slf4j.Logger |
logger
|
private static ResourcePool |
pool
|
| Constructor Summary | |
|---|---|
private |
ColladaReader()
|
| Method Summary | |
|---|---|
static void |
addColladaDirectory(String dir)
Adds the specified directory as one of the resource directories for Collada files |
static GLScene |
getGLScene(String resourceName,
String jointRenamingFileName,
float scale)
Tries to get a GLScene object with the specified resource name. |
static GScene |
getGScene(String resourceName,
String jointRenamingFileName,
float scale)
Tries to get a GScene object with the specified resource name. |
static GLScene |
read(String colladaResourceDir,
String colladaFileName)
|
static GLScene |
read(String colladaResourceDir,
String colladaFileName,
String jointRenamingFileName,
float scale)
|
static GLScene |
readGLSceneFromResourceFile(Resources resources,
String colladaFileName,
String jointRenamingFileName,
float scale)
Reads a Collada file and compiles it into a GLScene |
static GScene |
readGSceneFromResourceFile(Resources resources,
String colladaFileName,
String jointRenamingFileName,
float scale)
Reads a Collada file and compiles it into a GScene |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static ResourcePool pool
private static org.slf4j.Logger logger
public static final String DEFAULT_COLLADA_RESOURCE_DIR
| Constructor Detail |
|---|
private ColladaReader()
| Method Detail |
|---|
public static GLScene read(String colladaResourceDir,
String colladaFileName)
throws IOException
IOException
public static GLScene read(String colladaResourceDir,
String colladaFileName,
String jointRenamingFileName,
float scale)
throws IOException
IOException
public static GLScene readGLSceneFromResourceFile(Resources resources,
String colladaFileName,
String jointRenamingFileName,
float scale)
throws IOException
IOException
public static GScene readGSceneFromResourceFile(Resources resources,
String colladaFileName,
String jointRenamingFileName,
float scale)
throws IOException
IOExceptionpublic static void addColladaDirectory(String dir)
public static GScene getGScene(String resourceName,
String jointRenamingFileName,
float scale)
public static GLScene getGLScene(String resourceName,
String jointRenamingFileName,
float scale)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||