|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.loaders.c3d.C3DTrajectoryData
public class C3DTrajectoryData
The representation of a single trajectory.
A trajectory may contain coordinate and/or analog data samples. Coordinates are expressed in 3D space in X,Y,Z orientation. All values are placed as their real floating point representations. If the underlying file had values in integer format, scaling will be performed before storing in this array.
The definition of the file format can be found at: http://www.c3d.org/
Field Summary | |
---|---|
short[] |
cameraMasks
The bit mask of camera IDs that contributed to each frame. |
float[] |
coordinates
3D coordinate data for this frame. |
java.lang.String |
description
The description string associated with this data |
java.lang.String |
label
The name or label associated with this trajectory data |
int |
numFrames
The number of valid frames of coordinate data |
float[] |
residuals
Accuracy information about the coordinates made each frame. |
Constructor Summary | |
---|---|
C3DTrajectoryData(java.lang.String label,
java.lang.String description,
int numFrames)
Construct a new data object representing a specific trajectory |
Method Summary | |
---|---|
java.lang.String |
toString()
Generate a string representation of this header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final java.lang.String label
public final java.lang.String description
public float[] coordinates
public int numFrames
public short[] cameraMasks
public float[] residuals
Constructor Detail |
---|
public C3DTrajectoryData(java.lang.String label, java.lang.String description, int numFrames)
label
- The name or label of this datadescription
- A description from the parameter informationnumFrames
- The number of valid frames of data to processMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |