Class in Zendir.Classes | Inherits from CameraImageCodingModelBase

Declaration

class CameraImageEncodingModel;

Description

Creates an image encoding model for a camera that simulates the process by which RGB pixel data from a digital camera sensor is encoded into electrical pulse signals. The system simulates a real-world camera interface pipeline, including clock synchronization, signal quantization, and digital-to-analog conversion.


Properties

DeclaredDescription
FMFrequencyMaxThe maximum frequency for FM modulation encoding.Used to map intensity values to frequency range.
FMFrequencyMinThe minimum frequency for FM modulation encoding.Used to map intensity values to frequency range.
In_CameraImageMsgThe input camera image message containing the image data to be encoded.
IsEncodingWhether encoding is currently in progress.
Out_ElectricalSignalMsgThe output electrical signal message containing the most recent encoded image data.
InheritedDescription
DefaultClockPeriodThe default clock period in seconds when frequency is not available.
In_CameraConfigMsgThe input camera configuration message that contains the resolution and other camera settings.
In_ClockSignalMsgThe clock signal message that controls the rate at which encoding/decoding occurs.The frequency of this signal determines how fast data is processed.
IsEnabledIs true if the object is currently enabled.
MessageBufferLengthThe size of the message buffer array used for electrical signal messages.When set, this will resize the buffer arrays, removing oldest messages when shrinking.
ModelProgressThe conversion progress of the model.
ModulationTypeThe type of modulation used for encoding/decoding (AM, FM, PWM, or PPM).
NameThe display name or tag of this object.
ParentThe currently attached parent object.

Methods

DeclaredDescription
FlushBufferFlushes the output signal message and all registered decoder buffers.
LinkDecoderLinks this encoder to a decoder model. The encoder will write to the decoder’s buffer array.
UnlinkDecoderUnlinks this encoder from a decoder model.
InheritedDescription
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.