Search Results for

    Show / Hide Table of Contents

    Class TransformSequence

    TransformSequence stores an ordered list of basic transformations. This can be useful if you need to construct some modifications and want to use the same set later. For example, if you have a hierarchy of objects with relative transformations and want to "save" the nested transform sequence without having to hold references to the original objects.

    Use the Append() functions to add different transform types, and the TransformX() to apply the sequence

    Inheritance
    Object
    TransformSequence
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class TransformSequence

    Constructors

    TransformSequence()

    Declaration
    public TransformSequence()

    TransformSequence(TransformSequence)

    Declaration
    public TransformSequence(TransformSequence copy)
    Parameters
    Type Name Description
    TransformSequence copy

    Methods

    Append(TransformSequence)

    Declaration
    public void Append(TransformSequence sequence)
    Parameters
    Type Name Description
    TransformSequence sequence

    AppendFromFrame(Frame3f)

    Declaration
    public void AppendFromFrame(Frame3f frame)
    Parameters
    Type Name Description
    Frame3f frame

    AppendRotation(Quaternionf)

    Declaration
    public void AppendRotation(Quaternionf q)
    Parameters
    Type Name Description
    Quaternionf q

    AppendRotation(Quaternionf, Vector3d)

    Declaration
    public void AppendRotation(Quaternionf q, Vector3d aroundPt)
    Parameters
    Type Name Description
    Quaternionf q
    Vector3d aroundPt

    AppendScale(Vector3d)

    Declaration
    public void AppendScale(Vector3d s)
    Parameters
    Type Name Description
    Vector3d s

    AppendScale(Vector3d, Vector3d)

    Declaration
    public void AppendScale(Vector3d s, Vector3d aroundPt)
    Parameters
    Type Name Description
    Vector3d s
    Vector3d aroundPt

    AppendToFrame(Frame3f)

    Declaration
    public void AppendToFrame(Frame3f frame)
    Parameters
    Type Name Description
    Frame3f frame

    AppendTranslation(Vector3d)

    Declaration
    public void AppendTranslation(Vector3d dv)
    Parameters
    Type Name Description
    Vector3d dv

    AppendTranslation(Double, Double, Double)

    Declaration
    public void AppendTranslation(double dx, double dy, double dz)
    Parameters
    Type Name Description
    Double dx
    Double dy
    Double dz

    MakeInverse()

    construct inverse transformation sequence

    Declaration
    public TransformSequence MakeInverse()
    Returns
    Type Description
    TransformSequence

    Restore(BinaryReader)

    Declaration
    public void Restore(BinaryReader reader)
    Parameters
    Type Name Description
    BinaryReader reader

    Store(BinaryWriter)

    Declaration
    public void Store(BinaryWriter writer)
    Parameters
    Type Name Description
    BinaryWriter writer

    TransformP(Vector3d)

    Apply transforms to point

    Declaration
    public Vector3d TransformP(Vector3d p)
    Parameters
    Type Name Description
    Vector3d p
    Returns
    Type Description
    Vector3d

    TransformP(Vector3f)

    Apply transforms to point

    Declaration
    public Vector3f TransformP(Vector3f p)
    Parameters
    Type Name Description
    Vector3f p
    Returns
    Type Description
    Vector3f

    TransformV(Vector3d)

    Apply transforms to vector. Includes scaling.

    Declaration
    public Vector3d TransformV(Vector3d v)
    Parameters
    Type Name Description
    Vector3d v
    Returns
    Type Description
    Vector3d
    In This Article
    Back to top ViRGIS VR GIS