Search Results for

    Show / Hide Table of Contents

    Class MeshTransforms

    Inheritance
    Object
    MeshTransforms
    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 static class MeshTransforms

    Methods

    ConvertYUpToZUp(Frame3f)

    Declaration
    public static Frame3f ConvertYUpToZUp(Frame3f f)
    Parameters
    Type Name Description
    Frame3f f
    Returns
    Type Description
    Frame3f

    ConvertYUpToZUp(IDeformableMesh)

    Declaration
    public static void ConvertYUpToZUp(IDeformableMesh mesh)
    Parameters
    Type Name Description
    IDeformableMesh mesh

    ConvertYUpToZUp(Vector3d)

    Declaration
    public static Vector3d ConvertYUpToZUp(Vector3d v)
    Parameters
    Type Name Description
    Vector3d v
    Returns
    Type Description
    Vector3d

    ConvertYUpToZUp(Vector3f)

    Declaration
    public static Vector3f ConvertYUpToZUp(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v
    Returns
    Type Description
    Vector3f

    ConvertZUpToYUp(Frame3f)

    Declaration
    public static Frame3f ConvertZUpToYUp(Frame3f f)
    Parameters
    Type Name Description
    Frame3f f
    Returns
    Type Description
    Frame3f

    ConvertZUpToYUp(IDeformableMesh)

    Declaration
    public static void ConvertZUpToYUp(IDeformableMesh mesh)
    Parameters
    Type Name Description
    IDeformableMesh mesh

    ConvertZUpToYUp(Vector3d)

    Declaration
    public static Vector3d ConvertZUpToYUp(Vector3d v)
    Parameters
    Type Name Description
    Vector3d v
    Returns
    Type Description
    Vector3d

    ConvertZUpToYUp(Vector3f)

    Declaration
    public static Vector3f ConvertZUpToYUp(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v
    Returns
    Type Description
    Vector3f

    FlipLeftRightCoordSystems(Frame3f)

    Declaration
    public static Frame3f FlipLeftRightCoordSystems(Frame3f f)
    Parameters
    Type Name Description
    Frame3f f
    Returns
    Type Description
    Frame3f

    FlipLeftRightCoordSystems(IDeformableMesh)

    Declaration
    public static void FlipLeftRightCoordSystems(IDeformableMesh mesh)
    Parameters
    Type Name Description
    IDeformableMesh mesh

    FlipLeftRightCoordSystems(Vector3d)

    Declaration
    public static Vector3d FlipLeftRightCoordSystems(Vector3d v)
    Parameters
    Type Name Description
    Vector3d v
    Returns
    Type Description
    Vector3d

    FlipLeftRightCoordSystems(Vector3f)

    Declaration
    public static Vector3f FlipLeftRightCoordSystems(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v
    Returns
    Type Description
    Vector3f

    FromFrame(IDeformableMesh, Frame3f)

    Map mesh from local frame coordinates into "world" coordinates

    Declaration
    public static void FromFrame(IDeformableMesh mesh, Frame3f f)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Frame3f f

    PerVertexTransform(IDeformableMesh, IDeformableMesh, Int32[], Func<Vector3d, Int32, Int32, Vector3d>)

    Apply TransformF to subset of mesh vertices defined by MapV[vertices]

    Declaration
    public static void PerVertexTransform(IDeformableMesh targetMesh, IDeformableMesh sourceMesh, int[] mapV, Func<Vector3d, int, int, Vector3d> TransformF)
    Parameters
    Type Name Description
    IDeformableMesh targetMesh
    IDeformableMesh sourceMesh
    Int32[] mapV
    Func<Vector3d, Int32, Int32, Vector3d> TransformF

    PerVertexTransform(IDeformableMesh, TransformSequence)

    Apply Transform to vertices and normals of mesh

    Declaration
    public static void PerVertexTransform(IDeformableMesh mesh, TransformSequence xform)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    TransformSequence xform

    PerVertexTransform(IDeformableMesh, IEnumerable<Int32>, Func<Vector3d, Int32, Vector3d>)

    Apply TransformF to subset of vertices of mesh

    Declaration
    public static void PerVertexTransform(IDeformableMesh mesh, IEnumerable<int> vertices, Func<Vector3d, int, Vector3d> TransformF)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    IEnumerable<Int32> vertices
    Func<Vector3d, Int32, Vector3d> TransformF

    PerVertexTransform(IDeformableMesh, IEnumerable<Int32>, Func<Int32, Int32>, Func<Vector3d, Int32, Int32, Vector3d>)

    Apply TransformF to subset of mesh vertices defined by MapV[vertices]

    Declaration
    public static void PerVertexTransform(IDeformableMesh mesh, IEnumerable<int> vertices, Func<int, int> MapV, Func<Vector3d, int, int, Vector3d> TransformF)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    IEnumerable<Int32> vertices
    Func<Int32, Int32> MapV
    Func<Vector3d, Int32, Int32, Vector3d> TransformF

    PerVertexTransform(IDeformableMesh, Func<Vector3d, Vector3d>)

    Apply TransformF to vertices of mesh

    Declaration
    public static void PerVertexTransform(IDeformableMesh mesh, Func<Vector3d, Vector3d> TransformF)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Func<Vector3d, Vector3d> TransformF

    PerVertexTransform(IDeformableMesh, Func<Vector3d, Vector3f, Vector3d>)

    Declaration
    public static void PerVertexTransform(IDeformableMesh mesh, Func<Vector3d, Vector3f, Vector3d> TransformF)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Func<Vector3d, Vector3f, Vector3d> TransformF

    PerVertexTransform(IDeformableMesh, Func<Vector3d, Vector3f, Vector3dTuple2>)

    Apply TransformF to vertices and normals of mesh

    Declaration
    public static void PerVertexTransform(IDeformableMesh mesh, Func<Vector3d, Vector3f, Vector3dTuple2> TransformF)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Func<Vector3d, Vector3f, Vector3dTuple2> TransformF

    Rotate(Frame3f, Vector3d, Quaterniond)

    Declaration
    public static Frame3f Rotate(Frame3f f, Vector3d origin, Quaterniond rotation)
    Parameters
    Type Name Description
    Frame3f f
    Vector3d origin
    Quaterniond rotation
    Returns
    Type Description
    Frame3f

    Rotate(Frame3f, Vector3d, Quaternionf)

    Declaration
    public static Frame3f Rotate(Frame3f f, Vector3d origin, Quaternionf rotation)
    Parameters
    Type Name Description
    Frame3f f
    Vector3d origin
    Quaternionf rotation
    Returns
    Type Description
    Frame3f

    Rotate(IDeformableMesh, Vector3d, Quaterniond)

    Declaration
    public static void Rotate(IDeformableMesh mesh, Vector3d origin, Quaterniond rotation)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Vector3d origin
    Quaterniond rotation

    Rotate(IDeformableMesh, Vector3d, Quaternionf)

    Declaration
    public static void Rotate(IDeformableMesh mesh, Vector3d origin, Quaternionf rotation)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Vector3d origin
    Quaternionf rotation

    Rotate(Vector3d, Vector3d, Quaterniond)

    Declaration
    public static Vector3d Rotate(Vector3d pos, Vector3d origin, Quaterniond rotation)
    Parameters
    Type Name Description
    Vector3d pos
    Vector3d origin
    Quaterniond rotation
    Returns
    Type Description
    Vector3d

    Rotate(Vector3d, Vector3d, Quaternionf)

    Declaration
    public static Vector3d Rotate(Vector3d pos, Vector3d origin, Quaternionf rotation)
    Parameters
    Type Name Description
    Vector3d pos
    Vector3d origin
    Quaternionf rotation
    Returns
    Type Description
    Vector3d

    Scale(IDeformableMesh, Vector3d, Vector3d)

    Declaration
    public static void Scale(IDeformableMesh mesh, Vector3d scale, Vector3d origin)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Vector3d scale
    Vector3d origin

    Scale(IDeformableMesh, Double)

    Declaration
    public static void Scale(IDeformableMesh mesh, double s)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Double s

    Scale(IDeformableMesh, Double, Double, Double)

    Declaration
    public static void Scale(IDeformableMesh mesh, double sx, double sy, double sz)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Double sx
    Double sy
    Double sz

    ToFrame(IDeformableMesh, Frame3f)

    Map mesh into local coordinates of Frame

    Declaration
    public static void ToFrame(IDeformableMesh mesh, Frame3f f)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Frame3f f

    Translate(IDeformableMesh, Vector3d)

    Declaration
    public static void Translate(IDeformableMesh mesh, Vector3d v)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Vector3d v

    Translate(IDeformableMesh, Double, Double, Double)

    Declaration
    public static void Translate(IDeformableMesh mesh, double tx, double ty, double tz)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Double tx
    Double ty
    Double tz

    VertexNormalOffset(IDeformableMesh, Double)

    Declaration
    public static void VertexNormalOffset(IDeformableMesh mesh, double offsetDistance)
    Parameters
    Type Name Description
    IDeformableMesh mesh
    Double offsetDistance
    In This Article
    Back to top ViRGIS VR GIS