Search Results for

    Show / Hide Table of Contents

    Class GraphSupportGenerator

    Inheritance
    Object
    GraphSupportGenerator
    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 GraphSupportGenerator

    Constructors

    GraphSupportGenerator(DMesh3, DMeshAABBTree3, Double)

    Declaration
    public GraphSupportGenerator(DMesh3 mesh, DMeshAABBTree3 spatial, double cellSize)
    Parameters
    Type Name Description
    DMesh3 mesh
    DMeshAABBTree3 spatial
    Double cellSize

    GraphSupportGenerator(DMesh3, DMeshAABBTree3, Int32)

    Declaration
    public GraphSupportGenerator(DMesh3 mesh, DMeshAABBTree3 spatial, int grid_resolution)
    Parameters
    Type Name Description
    DMesh3 mesh
    DMeshAABBTree3 spatial
    Int32 grid_resolution

    Fields

    CellSize

    Declaration
    public double CellSize
    Field Value
    Type Description
    Double

    DebugPrint

    Declaration
    public bool DebugPrint
    Field Value
    Type Description
    Boolean

    ForceMinY

    If this is not set, 'ground' is Mesh.CachedBounds.Min.y (eg, if mesh is floating off ground, set this to 0, otherwise support stops at bottom of mesh)

    Declaration
    public float ForceMinY
    Field Value
    Type Description
    Single

    Graph

    Declaration
    public DGraph3 Graph
    Field Value
    Type Description
    DGraph3

    GraphSurfaceDistanceOffset

    Graph vertices will try to stay this far from surface

    Declaration
    public double GraphSurfaceDistanceOffset
    Field Value
    Type Description
    Double

    GroundVertices

    Declaration
    public HashSet<int> GroundVertices
    Field Value
    Type Description
    HashSet<Int32>

    Mesh

    Declaration
    public DMesh3 Mesh
    Field Value
    Type Description
    DMesh3

    MeshSpatial

    Declaration
    public DMeshAABBTree3 MeshSpatial
    Field Value
    Type Description
    DMeshAABBTree3

    OptimizationAlpha

    optimization (ie smoothing) "speed"

    Declaration
    public double OptimizationAlpha
    Field Value
    Type Description
    Double

    OptimizationRounds

    graph smoothing rounds

    Declaration
    public int OptimizationRounds
    Field Value
    Type Description
    Int32

    OverhangAngleDeg

    overhang angle requiring support

    Declaration
    public double OverhangAngleDeg
    Field Value
    Type Description
    Double

    OverhangAngleOptimizeDeg

    We will try to maintain at least this angle during graph optimization (does this need to be separate from the one above?)

    Declaration
    public double OverhangAngleOptimizeDeg
    Field Value
    Type Description
    Double

    ProcessBottomUp

    Get very different graphs is we generate bottom-up vs top-down

    Declaration
    public bool ProcessBottomUp
    Field Value
    Type Description
    Boolean

    Progress

    Set this to be able to cancel running remesher

    Declaration
    public ProgressCancel Progress
    Field Value
    Type Description
    ProgressCancel

    TipBaseVertices

    Declaration
    public HashSet<int> TipBaseVertices
    Field Value
    Type Description
    HashSet<Int32>

    TipVertices

    Declaration
    public HashSet<int> TipVertices
    Field Value
    Type Description
    HashSet<Int32>

    Properties

    Dimensions

    Declaration
    public Vector3i Dimensions { get; }
    Property Value
    Type Description
    Vector3i

    Grid

    winding-number grid available after calling Compute()

    Declaration
    public DenseGrid3f Grid { get; }
    Property Value
    Type Description
    DenseGrid3f

    GridOrigin

    Origin of the winding-number grid, in same coordinates as mesh

    Declaration
    public Vector3f GridOrigin { get; }
    Property Value
    Type Description
    Vector3f

    Item[Int32, Int32, Int32]

    Declaration
    public float this[int i, int j, int k] { get; }
    Parameters
    Type Name Description
    Int32 i
    Int32 j
    Int32 k
    Property Value
    Type Description
    Single

    Methods

    Cancelled()

    if this returns true, abort computation.

    Declaration
    protected virtual bool Cancelled()
    Returns
    Type Description
    Boolean

    CellCenter(Int32, Int32, Int32)

    Declaration
    public Vector3f CellCenter(int i, int j, int k)
    Parameters
    Type Name Description
    Int32 i
    Int32 j
    Int32 k
    Returns
    Type Description
    Vector3f

    Generate()

    Declaration
    public void Generate()

    MakeDebugGraphMesh()

    Declaration
    protected DMesh3 MakeDebugGraphMesh()
    Returns
    Type Description
    DMesh3

    postprocess_graph()

    Declaration
    protected virtual void postprocess_graph()
    In This Article
    Back to top ViRGIS VR GIS