C# Class Isosurface.DMCNeilson.DMCN

Inheritance: ISurfaceAlgorithm
Mostrar archivo Open project: Lin20/isosurface

Public Properties

Property Type Description
EdgesTable ].int[
VerticesNumberTable int[]

Private Properties

Property Type Description
AddFlatTriangle void
GenerateCells void
GenerateEdge Edge
GenerateEdges void
GenerateIndexes void
GetNormal Vector3
GetNormalNA Vector3
GetNormalQ Vector3
Polygonize void

Public Methods

Method Description
Contour ( float threshold ) : long
DMCN ( GraphicsDevice device, int resolution, int size ) : System

Private Methods

Method Description
AddFlatTriangle ( bool flipped ) : void
GenerateCells ( int x, int y, int z ) : void
GenerateEdge ( int x, int y, int z, int i ) : Edge
GenerateEdges ( int x, int y, int z ) : void
GenerateIndexes ( int x, int y, int z ) : void
GetNormal ( Microsoft.Xna.Framework.Graphics.VertexPositionColorNormal &verts ) : Vector3
GetNormalNA ( Microsoft.Xna.Framework.Graphics.VertexPositionColorNormal &verts ) : Vector3
GetNormalQ ( Microsoft.Xna.Framework.Graphics.VertexPositionColorNormal &verts ) : Vector3
Polygonize ( int x, int y, int z ) : void

Method Details

Contour() public method

public Contour ( float threshold ) : long
threshold float
return long

DMCN() public method

public DMCN ( GraphicsDevice device, int resolution, int size ) : System
device GraphicsDevice
resolution int
size int
return System

Property Details

EdgesTable public_oe static_oe property

public static int[,] EdgesTable
return ].int[

VerticesNumberTable public_oe static_oe property

public static int[] VerticesNumberTable
return int[]