|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Obj | |
---|---|
de.javagl.utils.obj | |
de.javagl.utils.obj.impl |
Uses of Obj in de.javagl.utils.obj |
---|
Methods in de.javagl.utils.obj with parameters of type Obj | |
---|---|
void |
ObjWriter.write(Obj obj,
OutputStream outputStream)
Writes the given Obj to the given stream |
Uses of Obj in de.javagl.utils.obj.impl |
---|
Classes in de.javagl.utils.obj.impl that implement Obj | |
---|---|
class |
DefaultObj
Default implementation of an Obj and an ObjTarget. |
Methods in de.javagl.utils.obj.impl with parameters of type Obj | |
---|---|
static void |
ObjUtils.assertUniqueTextureCoords(Obj input,
ObjTarget output,
List<Integer> indexMapping,
float epsilon)
Two faces may reference the same vertex in the OBJ file. |
static float[] |
ObjUtils.getFaceTexCoordsOf(Obj obj,
int stride)
Returns an array containing the texture coordinates of the vertices of the faces in the given Obj. |
static float[] |
ObjUtils.getVertexCoordsOf(Obj obj)
Returns all vertex coordinates of the given Obj as an array. |
static int[] |
ObjUtils.getVertexIndicesOf(Obj obj)
Returns the vertex indices of the given Obj as an array. |
static void |
ObjUtils.groupToObj(Obj input,
ObjGroup inputGroup,
ObjTarget output,
List<Integer> vertexIndexMapping)
This method will store the given group of the given Obj in the given output. |
static void |
ObjUtils.storeFaceTexCoordsOf(Obj obj,
int stride,
float[] texCoords,
int offset)
Stores the texture coordinates of the vertices of the faces in the given Obj in the given array. |
static void |
ObjUtils.storeVertexCoordsOf(Obj obj,
float[] vertexCoords,
int offset)
Stores the vertex coordinates of the given Obj in the given array at the given offset |
static void |
ObjUtils.storeVertexIndicesOf(Obj obj,
int[] vertexIndices,
int offset,
int[] faceVertices)
Stores the vertex indices of the given Obj in the given array at the given offset. |
static void |
ObjUtils.triangulate(Obj input,
ObjTarget output)
Triangulates the given input, and stores the result in the given output. |
void |
DefaultObjWriter.write(Obj obj,
OutputStream outputStream)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |