public static class B3DModel.Mesh extends java.lang.Object implements B3DModel.IKind<B3DModel.Mesh>
Modifier and Type | Field and Description |
---|---|
private java.util.Set<B3DModel.Node<B3DModel.Bone>> |
bones |
private B3DModel.Brush |
brush |
private com.google.common.collect.ImmutableList<B3DModel.Face> |
faces |
private B3DModel.Node<B3DModel.Mesh> |
parent |
private com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> |
weightMap |
Constructor and Description |
---|
Mesh(org.apache.commons.lang3.tuple.Pair<B3DModel.Brush,java.util.List<B3DModel.Face>> data) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<B3DModel.Face> |
bake(java.util.function.Function<B3DModel.Node<?>,javax.vecmath.Matrix4f> animator) |
com.google.common.collect.ImmutableSet<B3DModel.Node<B3DModel.Bone>> |
getBones() |
B3DModel.Brush |
getBrush() |
com.google.common.collect.ImmutableList<B3DModel.Face> |
getFaces() |
B3DModel.Node<B3DModel.Mesh> |
getParent() |
com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> |
getWeightMap() |
void |
setParent(B3DModel.Node<B3DModel.Mesh> parent) |
java.lang.String |
toString() |
private B3DModel.Node<B3DModel.Mesh> parent
private final B3DModel.Brush brush
private final com.google.common.collect.ImmutableList<B3DModel.Face> faces
private java.util.Set<B3DModel.Node<B3DModel.Bone>> bones
private com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> weightMap
public Mesh(org.apache.commons.lang3.tuple.Pair<B3DModel.Brush,java.util.List<B3DModel.Face>> data)
public com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> getWeightMap()
public com.google.common.collect.ImmutableList<B3DModel.Face> bake(java.util.function.Function<B3DModel.Node<?>,javax.vecmath.Matrix4f> animator)
public B3DModel.Brush getBrush()
public com.google.common.collect.ImmutableList<B3DModel.Face> getFaces()
public com.google.common.collect.ImmutableSet<B3DModel.Node<B3DModel.Bone>> getBones()
public java.lang.String toString()
toString
in class java.lang.Object
public void setParent(B3DModel.Node<B3DModel.Mesh> parent)
setParent
in interface B3DModel.IKind<B3DModel.Mesh>
public B3DModel.Node<B3DModel.Mesh> getParent()
getParent
in interface B3DModel.IKind<B3DModel.Mesh>