public class PointSkinAttachment.FrameConnection extends PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
PointSkinAttachment.SkinConnection.Type
Constructor and Description |
---|
FrameConnection() |
FrameConnection(SkinMeshBody.FrameInfo frameInfo,
double weight) |
Modifier and Type | Method and Description |
---|---|
int |
addVelocity(Vector3d v,
MatrixBlock[] blks,
int idx) |
int |
applyForce(Vector3d f,
MatrixBlock[] blks,
int idx) |
PointSkinAttachment.FrameConnection |
copy() |
Frame |
getFrame() |
PointSkinAttachment.FrameConnection |
getNext() |
PointSkinAttachment.SkinConnection.Type |
getType()
Returns a short string describing the type for this connection.
|
void |
postscan(java.util.Deque<ScanToken> tokens,
java.util.List<SkinMeshBody.BodyInfo> bodyInfos) |
void |
scaledAdd(double s,
PointSkinAttachment.FrameConnection fcon) |
void |
scaleDistance(double s) |
void |
scan(ReaderTokenizer rtok,
java.util.Deque<ScanToken> tokens) |
void |
setNext(PointSkinAttachment.FrameConnection next) |
void |
write(java.io.PrintWriter pw,
double wscale,
NumberFormat fmt,
CompositeComponent ancestor) |
getWeight, scaleWeight, setWeight
public FrameConnection()
public FrameConnection(SkinMeshBody.FrameInfo frameInfo, double weight)
public PointSkinAttachment.SkinConnection.Type getType()
PointSkinAttachment.SkinConnection
getType
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
public PointSkinAttachment.FrameConnection getNext()
getNext
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
public void setNext(PointSkinAttachment.FrameConnection next)
setNext
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
public Frame getFrame()
public int addVelocity(Vector3d v, MatrixBlock[] blks, int idx)
public int applyForce(Vector3d f, MatrixBlock[] blks, int idx)
public void write(java.io.PrintWriter pw, double wscale, NumberFormat fmt, CompositeComponent ancestor) throws java.io.IOException
write
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
java.io.IOException
public void scan(ReaderTokenizer rtok, java.util.Deque<ScanToken> tokens) throws java.io.IOException
scan
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
java.io.IOException
public void postscan(java.util.Deque<ScanToken> tokens, java.util.List<SkinMeshBody.BodyInfo> bodyInfos) throws java.io.IOException
postscan
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
java.io.IOException
public PointSkinAttachment.FrameConnection copy()
copy
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
public void scaleDistance(double s)
scaleDistance
in class PointSkinAttachment.SkinConnection<PointSkinAttachment.FrameConnection>
public void scaledAdd(double s, PointSkinAttachment.FrameConnection fcon)