holoride
Search Results for

    Show / Hide Table of Contents

    Class PoseSetWorker

    A worker that can be added to a Pipeline in order to generate a list of GlobalPoses during the phase.

    Inheritance
    object
    PipelineWorkerBase
    PoseSetWorker
    PoseSetNode.PoseSetWorker<T>
    Implements
    IPipelineWorker
    Inherited Members
    PipelineWorkerBase.GenerationSettings
    PipelineWorkerBase.GenerationState
    PipelineWorkerBase.CurrentGenerationContext
    PipelineWorkerBase.Pipeline
    PipelineWorkerBase.IsGatheringResources
    PipelineWorkerBase.IsProcessing
    PipelineWorkerBase.Inputs
    PipelineWorkerBase.MissingMandatoryInputs
    PipelineWorkerBase.AddMissingMandatoryInput(string)
    PipelineWorkerBase.HasMissingMandatoryInputInHierarchy
    PipelineWorkerBase.AddInput(string, IPipelineWorker)
    PipelineWorkerBase.GetInput(string)
    PipelineWorkerBase.GetInput<T>(string)
    PipelineWorkerBase.InitResources()
    PipelineWorkerBase.CallInitResources()
    PipelineWorkerBase.Init()
    PipelineWorkerBase.GatherResourcesAsync(GenerationContext, IProgress<float>, CancellationToken)
    PipelineWorkerBase.CallGatherResourcesAsync(GenerationContext, IProgress<float>, CancellationToken)
    PipelineWorkerBase.ProcessAsync(GenerationContext, IProgress<float>, CancellationToken)
    PipelineWorkerBase.Dispose()
    PipelineWorkerBase.CleanUp()
    PipelineWorkerBase.CallCleanUp()
    Namespace: Holoride.ElasticSDK
    Assembly: Holoride.ElasticSDK.Library.Runtime.dll
    Syntax
    [PublicAPI]
    public class PoseSetWorker : PipelineWorkerBase, IPipelineWorker

    Properties

    ReadPoses

    Gets the list of poses to read from.

    Declaration
    public IReadOnlyList<GlobalPose> ReadPoses { get; }
    Property Value
    Type Description
    IReadOnlyList<GlobalPose>

    WritePoses

    Gets the list of poses to write to.

    Declaration
    protected IList<GlobalPose> WritePoses { get; }
    Property Value
    Type Description
    IList<GlobalPose>

    Methods

    AddPose(GlobalPose)

    Adds a pose to the WritePoses.

    Declaration
    public void AddPose(GlobalPose pose)
    Parameters
    Type Name Description
    GlobalPose pose

    The pose pose to add.

    AddPose(GlobalPosition, Quaternion)

    Creates a new pose and adds it to the WritePoses.

    Declaration
    public void AddPose(GlobalPosition position, Quaternion rotation)
    Parameters
    Type Name Description
    GlobalPosition position

    The position of the pose to be created.

    Quaternion rotation

    The rotation of the pose to be created.

    AddPose(GlobalPosition)

    Creates a new pose and adds it to the WritePoses.

    Declaration
    public void AddPose(GlobalPosition position)
    Parameters
    Type Name Description
    GlobalPosition position

    The position of the pose to be created.

    AddPosesFromGeoCoordinates(IList<GeoCoordinate>, GeoCoordinate, GlobalBounds)

    Converts a list of GeoCoordinates into poses and adds those within the bounds to the WritePoses.

    Declaration
    public void AddPosesFromGeoCoordinates(IList<GeoCoordinate> geoCoordinates, GeoCoordinate pivot, GlobalBounds bounds)
    Parameters
    Type Name Description
    IList<GeoCoordinate> geoCoordinates

    A list of GeoCoordinates to be converted and added.

    GeoCoordinate pivot

    The projection pivot to convert a GeoCoordinate into a GlobalPosition in cartesian space.

    GlobalBounds bounds

    The permitted area to add coordinates.

    CallInit()

    Declaration
    public override sealed void CallInit()
    Overrides
    PipelineWorkerBase.CallInit()

    CallProcessAsync(GenerationContext, IProgress<float>, CancellationToken)

    Declaration
    public override sealed UniTask CallProcessAsync(GenerationContext context, IProgress<float> onProgressUpdate, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    GenerationContext context
    IProgress<float> onProgressUpdate
    CancellationToken cancellationToken
    Returns
    Type Description
    Cysharp.Threading.Tasks.UniTask
    Overrides
    PipelineWorkerBase.CallProcessAsync(GenerationContext, IProgress<float>, CancellationToken)

    Implements

    IPipelineWorker
    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint