Enum ilda::idtf::OldHeader
[−]
[src]
pub enum OldHeader { TrueColorFrame { frame_name: Option<String>, company_name: Option<String>, records: u16, frame_number: u16, total_frames: u16, is_3d: bool, projector_number: u8, points: Vec<TrueColorPoint>, }, IndexedFrame { frame_name: Option<String>, company_name: Option<String>, records: u16, frame_number: u16, total_frames: u16, is_3d: bool, projector_number: u8, points: Vec<IndexedPoint>, }, ColorPalette { palette_name: Option<String>, company_name: Option<String>, records: u16, palette_number: u16, projector_number: u8, colors: Vec<Color>, }, }
Variants
TrueColorFrame
A 2D or 3D frame where each point is assigned an RGB color.
Fields of TrueColorFrame
frame_name: Option<String> | |
company_name: Option<String> | |
records: u16 | The number of points records following this header. If 0, this is the EOF header. |
frame_number: u16 | If the frame is part of an animation, this is the frame number within the animation sequence. |
total_frames: u16 | The number of frames within this sequence. |
is_3d: bool | Whether the z-coordinate is used. |
projector_number: u8 | The projector to display this frame on. |
points: Vec<TrueColorPoint> |
IndexedFrame
A 2D or 3D frame with indexed colors.
Fields of IndexedFrame
frame_name: Option<String> | |
company_name: Option<String> | |
records: u16 | The number of points records following this header. If 0, this is the EOF header. |
frame_number: u16 | If the frame is part of an animation, this is the frame number within the animation sequence. |
total_frames: u16 | The number of frames within this sequence. |
is_3d: bool | Whether the z-coordinate is used. |
projector_number: u8 | The projector to display this frame on. |
points: Vec<IndexedPoint> |
ColorPalette
A color palette that is used for IndexedFrames/IndexedPoints.
Fields of ColorPalette
palette_name: Option<String> | |
company_name: Option<String> | |
records: u16 | The number of color records following this header. Must be within the range [2, 256]. If 0, this is the EOF header. |
palette_number: u16 | |
projector_number: u8 | |
colors: Vec<Color> |