Table of Contents

Method Process

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Process(IObservable<Tuple<Point3d, Point3d>>)

Converts each pair of extrinsics rotation and translation vectors in an observable sequence into a transform matrix.

public override IObservable<Matrix4> Process(IObservable<Tuple<Point3d, Point3d>> source)

Parameters

source IObservable<Tuple<Point3d, Point3d>>

A sequence of pairs containing the extrinsics rotation and translation vectors to convert into a transform matrix.

Returns

IObservable<Matrix4>

A sequence of Matrix4 objects corresponding to each pair of extrinsics rotation and translation vectors in the sequence.

Process(IObservable<Matrix4>)

Converts each transform matrix in an observable sequence into a pair of extrinsics rotation and translation vectors.

public IObservable<Tuple<Point3d, Point3d>> Process(IObservable<Matrix4> source)

Parameters

source IObservable<Matrix4>

A sequence of Matrix4 objects representing the transform matrix to convert into a pair of extrinsics rotation and translation vectors.

Returns

IObservable<Tuple<Point3d, Point3d>>

A sequence of pairs of extrinsics rotation and translation vectors corresponding to each transform matrix in the sequence.