ReceiverNode2D provides the implementation to render a video stream. More...
#include <receiver_node2d.hpp>
Static Public Member Functions | |
| static ReceiverNode2DSharedPtr | create (Domain *domain, string_view name) |
| Creates a ReceiverNode2D node. More... | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::connect::ReceiverNodeConceptImpl< Node2D, ReceiverNode2D > | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::connect::ReceiverNodeConcept | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
| optional< Vector2 > | calculateNormalizedTouchPoint (InputManipulator::InputMessageArguments &args) |
| Calculates the touch point in normalized stream coordinates, where (0, 0) is top left of the stream and (1, 1) is bottom right. More... | |
| Vector2 | measureOverride (Vector2 availableSize) override |
| Node2D::measureOverride() implementation. More... | |
| ReceiverNode2D (Domain *domain, string_view name) | |
| Constructor. More... | |
Protected Member Functions inherited from kanzi::connect::ReceiverNodeConceptImpl< Node2D, ReceiverNode2D > | |
| void | onAttached () override |
| kanzi::Node::onAttached() implementation. More... | |
| void | onDetached () override |
| kanzi::Node::onDetached() implementation. More... | |
| void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
| kanzi::Node::onPropertyChanged implementation. More... | |
| ReceiverNodeConceptImpl (Domain *domain, string_view name) | |
| Constructor. More... | |
| void | updateTexturesTask (PixelFrameWeakPtr frame) |
| Handler for kanzi::PanManipulator::StartedMessage. More... | |
Protected Attributes | |
| friend | ConceptClass |
Protected Attributes inherited from kanzi::connect::ReceiverNodeConceptImpl< Node2D, ReceiverNode2D > | |
| MaterialBrushSharedPtr | m_brush |
| The brush to render the material. More... | |
| MaterialSharedPtr | m_material |
| Disable these to favor connect input service Default value for kanzi::Node::HitTestableProperty. More... | |
| TextureSharedPtr | m_uTexture |
| The texture that contains the u-channel of the frame. More... | |
| TextureSharedPtr | m_vTexture |
| The texture that contains the v-channel of the frame. More... | |
| TextureSharedPtr | m_yTexture |
| The texture that contains the y-channel of the frame. More... | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::connect::ReceiverNodeConceptImpl< Node2D, ReceiverNode2D > | |
| string | getStreamId () const |
| Returns the value of the StreamIdProperty. More... | |
| void | initialize () |
| ReceiverNodeConceptImpl specific initialization. More... | |
| void | initializeStreamManager (size_t delay) |
| void | onFrame (PixelFrameSharedPtr frame) |
| Processes frames that are received through a PeerConnection. More... | |
| void | setStreamId (const string &streamId) |
| Sets the value of the StreamIdProperty. More... | |
Static Public Attributes inherited from kanzi::connect::ReceiverNodeConcept | |
| static PropertyType< bool > | IsOutputLinearProperty |
| Indicates whether the output of the YUV to RGB shader is linear. More... | |
| static PropertyType< string > | StreamIdProperty |
| Contains the stream ID that the ReceiverNode is configured to receive. More... | |
| static PropertyType< string > | StreamTypeProperty |
| User defined type for the stream that the StreamingComponent will produce. More... | |
| static PropertyType< ResourceSharedPtr > | uTextureProperty |
| Contains the U component texture for the ReceiverNode material. More... | |
| static PropertyType< ResourceSharedPtr > | vTextureProperty |
| Contains the V component texture for the ReceiverNode material. More... | |
| static PropertyType< ResourceSharedPtr > | yTextureProperty |
| Contains the Y component texture for the ReceiverNode material. More... | |
Protected Types inherited from kanzi::connect::ReceiverNodeConceptImpl< Node2D, ReceiverNode2D > | |
| enum | OutputTextureIndex |
ReceiverNode2D provides the implementation to render a video stream.
ReceiverNode2D can only be accessed from the Kanzi thread unless otherwise noted.
|
explicitprotected |
Constructor.
|
protected |
Calculates the touch point in normalized stream coordinates, where (0, 0) is top left of the stream and (1, 1) is bottom right.
| args | Arguments of an input message. |
|
static |
Creates a ReceiverNode2D node.
| domain | The UI domain to which the node belongs. |
| name | The name of the node. |
|
static |
|
overrideprotected |
Node2D::measureOverride() implementation.
|
protected |