Search Results for

    Show / Hide Table of Contents

    Class MarchingCubesPro

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

    Constructors

    MarchingCubesPro()

    Declaration
    public MarchingCubesPro()

    Fields

    Bounds

    bounding-box we will mesh inside of. We use the min-corner and the width/height/depth, but do not clamp vertices to stay within max-corner, we may spill one cell over

    Declaration
    public AxisAlignedBox3d Bounds
    Field Value
    Type Description
    AxisAlignedBox3d

    CancelF

    if this function returns true, we should abort calculation

    Declaration
    public Func<bool> CancelF
    Field Value
    Type Description
    Func<Boolean>

    CellDimensions

    Declaration
    public Vector3i CellDimensions
    Field Value
    Type Description
    Vector3i

    CubeSize

    Length of edges of cubes that are marching. currently, # of cells along axis = (int)(bounds_dimension / CellSize) + 1

    Declaration
    public double CubeSize
    Field Value
    Type Description
    Double

    Implicit

    this is the function we will evaluate

    Declaration
    public ImplicitFunction3d Implicit
    Field Value
    Type Description
    ImplicitFunction3d

    IsoValue

    mesh surface will be at this isovalue. Normally 0 unless you want offset surface or field is not a distance-field.

    Declaration
    public double IsoValue
    Field Value
    Type Description
    Double

    Mesh

    Declaration
    public DMesh3 Mesh
    Field Value
    Type Description
    DMesh3

    ParallelCompute

    Use multi-threading? Generally a good idea unless problem is very small or you are multi-threading at a higher level (which may be more efficient as we currently use very fine-grained spinlocks to synchronize)

    Declaration
    public bool ParallelCompute
    Field Value
    Type Description
    Boolean

    RootMode

    Which rootfinding method will be used to converge on surface along edges

    Declaration
    public MarchingCubesPro.RootfindingModes RootMode
    Field Value
    Type Description
    MarchingCubesPro.RootfindingModes

    RootModeSteps

    number of iterations of rootfinding method (ignored for SingleLerp)

    Declaration
    public int RootModeSteps
    Field Value
    Type Description
    Int32

    Methods

    Generate()

    Run MC algorithm and generate Output mesh

    Declaration
    public void Generate()

    GenerateContinuation(IEnumerable<Vector3d>)

    Declaration
    public void GenerateContinuation(IEnumerable<Vector3d> seeds)
    Parameters
    Type Name Description
    IEnumerable<Vector3d> seeds
    In This Article
    Back to top ViRGIS VR GIS