Solar
|
A Sink for a synchronized pose and image useful for AR video see-through pipelines. UUID: c0d9fee4-d7d7-4866-a6cd-3bacac23316a
More...
#include <ISinkPoseImage.h>
Public Member Functions | |
virtual | ~ISinkPoseImage ()=default |
~ISinkPoseImage | |
virtual void | set (const SolAR::datastructure::Transform3Df &pose, const SRef< SolAR::datastructure::Image > image)=0 |
Set a new image and pose coming from the pipeline. More... | |
virtual void | set (const SRef< SolAR::datastructure::Image > image)=0 |
Set a new image without pose. More... | |
virtual FrameworkReturnCode | setImageBuffer (unsigned char *imageBufferPointer)=0 |
Set a pointer to the texture buffer to update it with the new image when required. More... | |
virtual SinkReturnCode | get (SolAR::datastructure::Transform3Df &pose)=0 |
Provide an access to the new image and pose made available by the pipeline. The implementation of this interface must be thread safe. More... | |
virtual SinkReturnCode | tryGet (SolAR::datastructure::Transform3Df &pose)=0 |
Provide an access to the new image and pose made available by the pipeline only if they have been updated by the pipeline. The implementation of this interface must be thread safe. More... | |
A Sink for a synchronized pose and image useful for AR video see-through pipelines. UUID: c0d9fee4-d7d7-4866-a6cd-3bacac23316a
This interface allows to store a synchronized pose and image from the pipeline to make it available to a third party application.
|
pure virtual |
Provide an access to the new image and pose made available by the pipeline. The implementation of this interface must be thread safe.
[in,out] | pose | the new pose made available by the pipeline. |
|
pure virtual |
Set a new image and pose coming from the pipeline.
[in] | pose | The new pose to be made available to a third party application. |
[in] | image | The new image to be made available to a third party application. |
|
pure virtual |
Set a new image without pose.
[in] | image | The new image to update a buffer texture when required. |
|
pure virtual |
Set a pointer to the texture buffer to update it with the new image when required.
[in] | imageBuffer | the texture buffer uses to contain the new image |
|
pure virtual |
Provide an access to the new image and pose made available by the pipeline only if they have been updated by the pipeline. The implementation of this interface must be thread safe.
[in,out] | pose | the new pose made available by the pipeline. |