ReceiverNode2D provides the implementation to render a video stream.
More...
#include <receiver_node2d.hpp>
|
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.
|
|
Vector2 | measureOverride (Vector2 availableSize) override |
| Node2D::measureOverride() implementation.
|
|
| ReceiverNode2D (Domain *domain, string_view name) |
| Constructor.
|
|
void | onAttached () override |
| kanzi::Node::onAttached() implementation.
|
|
void | onDetached () override |
| kanzi::Node::onDetached() implementation.
|
|
void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
| kanzi::Node::onPropertyChanged implementation.
|
|
| ReceiverNodeConceptImpl (Domain *domain, string_view name) |
| Constructor.
|
|
void | updateTexturesTask (PixelFrameWeakPtr frame) |
| Handler for kanzi::PanManipulator::StartedMessage.
|
|
|
friend | ConceptClass |
|
MaterialBrushSharedPtr | m_brush |
| The brush to render the material.
|
|
MaterialSharedPtr | m_material |
| Disable these to favor connect input service Default value for kanzi::Node::HitTestableProperty.
|
|
TextureSharedPtr | m_uTexture |
| The texture that contains the u-channel of the frame.
|
|
TextureSharedPtr | m_vTexture |
| The texture that contains the v-channel of the frame.
|
|
TextureSharedPtr | m_yTexture |
| The texture that contains the y-channel of the frame.
|
|
ReceiverNode2D provides the implementation to render a video stream.
ReceiverNode2D can only be accessed from the Kanzi thread unless otherwise noted.
- See also
- For 3D receiver, see ReceiverNode3D.
◆ ReceiverNode2D()
kanzi::connect::ReceiverNode2D::ReceiverNode2D |
( |
Domain * | domain, |
|
|
string_view | name ) |
|
explicitprotected |
◆ calculateNormalizedTouchPoint()
optional< Vector2 > kanzi::connect::ReceiverNode2D::calculateNormalizedTouchPoint |
( |
InputManipulator::InputMessageArguments & | args | ) |
|
|
protected |
Calculates the touch point in normalized stream coordinates, where (0, 0) is top left of the stream and (1, 1) is bottom right.
- Parameters
-
args | Arguments of an input message. |
- Returns
- Normalized touch point if it was successfully calculated, nullopt otherwise.
◆ create()
Creates a ReceiverNode2D node.
- Parameters
-
domain | The UI domain to which the node belongs. |
name | The name of the node. |
- Returns
- The created node.
◆ makeEditorInfo()
static PropertyTypeEditorInfoSharedPtr kanzi::connect::ReceiverNode2D::makeEditorInfo |
( |
| ) |
|
|
static |
◆ measureOverride()
Vector2 kanzi::connect::ReceiverNode2D::measureOverride |
( |
Vector2 | availableSize | ) |
|
|
overrideprotected |
Node2D::measureOverride() implementation.
◆ ConceptClass
The documentation for this class was generated from the following file:
- connect/kanzi_adaptation/viewport/receiver_node2d.hpp