|
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.C3DAnalogData
public class C3DAnalogData
The representation of a single channel of analog samples.
A trajectory may contain coordinate and/or analog data samples. This represents one channel of sampled analog values. 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 | |
---|---|
float[] |
analogSamples
Analog sample data to go with each coordinate. |
int |
channelNumber
The channel number for this analog data. |
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 |
numAnalogSamples
The number of analog samples per frame of coordinate data |
int |
numFrames
The number of valid frames of coordinate data |
Constructor Summary | |
---|---|
C3DAnalogData(int channel,
java.lang.String label,
java.lang.String description,
int numFrames,
int numAnalogSamples)
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 int channelNumber
public final java.lang.String label
public final java.lang.String description
public int numFrames
public float[] analogSamples
public int numAnalogSamples
Constructor Detail |
---|
public C3DAnalogData(int channel, java.lang.String label, java.lang.String description, int numFrames, int numAnalogSamples)
label
- The name or label of this datadescription
- A description from the parameter informationchannel
- The channel number for this datanumFrames
- The number of valid frames of data to processnumAnalogSamples
- The number of samples per coordinate frame. If
there are no analog samples, set this to zeroMethod 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 |