ReceiverNode3D provides the implementation to render a virtual stream.
More...
#include <receiver_node3d.hpp>
|
void | arrangeOverride (Vector3 actualSize) override |
| kanzi::Node3D::arrangeOverride() implementation.
|
|
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.
|
|
const RenderEntryParameterContainer * | generateRenderStatesOverride (DrawObjectsRenderPass &drawPass) override |
| kanzi::Node3D::generateRenderStatesOverride() implementation.
|
|
optional< Box > | getBoundingBox () const override |
| kanzi::Node3D::getBoundingBox() implementation.
|
|
Vector3 | measureOverride (Vector3 availableSize) override |
| kanzi::Node3D::measureOverride() implementation.
|
|
void | onDetached () override |
| kanzi::Node::onDetached() implementation.
|
|
| ReceiverNode3D (Domain *domain, string_view name) |
| Constructor.
|
|
void | registerDrawPassOverride (DrawObjectsRenderPassSharedPtr drawPass) override |
| kanzi::Node3D::registerDrawPassOverride() implementation.
|
|
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.
|
|
ReceiverNode3D provides the implementation to render a virtual stream.
ReceiverNode3D can only be accessed from the Kanzi thread unless otherwise noted.
- See also
- For 2D receiver, see ReceiverNode2D.
◆ ReceiverNode3D()
kanzi::connect::ReceiverNode3D::ReceiverNode3D |
( |
Domain * | domain, |
|
|
string_view | name ) |
|
explicitprotected |
◆ arrangeOverride()
void kanzi::connect::ReceiverNode3D::arrangeOverride |
( |
Vector3 | actualSize | ) |
|
|
overrideprotected |
kanzi::Node3D::arrangeOverride() implementation.
◆ calculateNormalizedTouchPoint()
optional< Vector2 > kanzi::connect::ReceiverNode3D::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 ReceiverNode3D node.
- Parameters
-
domain | The UI domain to which the node belongs. |
name | The name of the node. |
- Returns
- The created node.
◆ generateRenderStatesOverride()
const RenderEntryParameterContainer * kanzi::connect::ReceiverNode3D::generateRenderStatesOverride |
( |
DrawObjectsRenderPass & | drawPass | ) |
|
|
overrideprotected |
kanzi::Node3D::generateRenderStatesOverride() implementation.
◆ getBoundingBox()
optional< Box > kanzi::connect::ReceiverNode3D::getBoundingBox |
( |
| ) |
const |
|
overrideprotected |
kanzi::Node3D::getBoundingBox() implementation.
◆ makeEditorInfo()
static PropertyTypeEditorInfoSharedPtr kanzi::connect::ReceiverNode3D::makeEditorInfo |
( |
| ) |
|
|
static |
◆ measureOverride()
Vector3 kanzi::connect::ReceiverNode3D::measureOverride |
( |
Vector3 | availableSize | ) |
|
|
overrideprotected |
kanzi::Node3D::measureOverride() implementation.
◆ onDetached()
void kanzi::connect::ReceiverNode3D::onDetached |
( |
| ) |
|
|
overrideprotected |
kanzi::Node::onDetached() implementation.
◆ registerDrawPassOverride()
void kanzi::connect::ReceiverNode3D::registerDrawPassOverride |
( |
DrawObjectsRenderPassSharedPtr | drawPass | ) |
|
|
overrideprotected |
kanzi::Node3D::registerDrawPassOverride() implementation.
◆ ConceptClass
The documentation for this class was generated from the following file:
- connect/kanzi_adaptation/viewport/receiver_node3d.hpp