ARAssembly Class¶
Description¶
Assembly of AR components. It implements one typical assemble strategy for all EasyAR Sense components. Inherit this class and override some methods can make a more customized assembly.
                                          +-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .--+
                                          |                                                                                                                  .
                                          .                                 +---------------------------------------------------------------+                |
                                          |                                 |                                                               |                .
                                          .                                 |                       + -> ObjectTracker - - - - +            |                |
                                          |                                 v                       '                          '            |                .
                                          .                        +--> i2FAdapter --> fbFrameFork - - > ImageTracker - - - +  '            |                |
                                          |                        |                                                        '  '            |                .
                                          v                        |                                                        v  v            |                |
FrameSource --> (FrameRecorder) --> iFrameThrottler --> iFrameFork --> i2OAdapter ------------------------------------> oFrameJoin --> oFrameFork --> oFrameBuffer ~~> o
                                                                   '                                                        ^  ^
                                                                   '                                                        '  '
                                                                   + - - - - - - - - - - - - - - - - - > SparseSpatialMap - +  '
                                                                   '                                                           '
                                                                   + - - - - - - - - - - - - - - - - - > SurfaceTracker - - - -+
                                                                   '
                                                                   + - - - - - - - - - - - - - - - - - > DenseSpatialMap ~ ~ > o
                                                                   '
                                                                   + - - - - - - - - - - - - - - - - - > CloudRecognizer ~ ~ > o
Properties¶
FrameSource¶
- C#
- public FrameSource FrameSource { get; } 
Frame source.
FrameRecorder¶
- C#
- public FrameRecorder FrameRecorder { get; } 
Frame recorder.
FrameFilters¶
- C#
- public List< FrameFilter > FrameFilters { get; } 
FrameFilter list.
Camera¶
- C#
- public Camera Camera { get; } 
Camera in the virtual world in reflection of real world camera device, its projection matrix and transform will be set to reflect the real world camera.
Ready¶
- C#
- public bool Ready { get; } 
The assembly can be used.
OutputFrame¶
- C#
- public Optional< OutputFrame > OutputFrame { get; } 
Output frame.
ExtraBufferCapacity¶
- C#
- public int ExtraBufferCapacity { get; set; } 
Extra device buffer capacity. When you hold a OutputFrame/InputFrame or image from InputFrame for more than one render frame, you should increase this value by one.
Display¶
- C#
- public IDisplay Display { get; } 
Display information used by the assembly.
Methods¶
Dispose¶
- C#
- public virtual void Dispose() 
Dispose resources.
ResetBufferCapacity¶
- C#
- public void ResetBufferCapacity() 
Reset buffer capacity.
GetBufferRequirement¶
- C#
- protected int GetBufferRequirement() 
Get buffer requirement.
GetFrameFilterCount¶
- C#
- protected int GetFrameFilterCount() 
Get FrameFilter number of certain type.