C# Class Isosurface.DMCNeilson.DMCN

Inheritance: ISurfaceAlgorithm
Afficher le fichier Open project: Lin20/isosurface

Méthodes publiques

Свойство Type Description
EdgesTable ].int[
VerticesNumberTable int[]

Private Properties

Свойство Type Description
AddFlatTriangle void
GenerateCells void
GenerateEdge Edge
GenerateEdges void
GenerateIndexes void
GetNormal Vector3
GetNormalNA Vector3
GetNormalQ Vector3
Polygonize void

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public Contour ( float threshold ) : long
threshold float
Résultat long

DMCN() public méthode

public DMCN ( GraphicsDevice device, int resolution, int size ) : System
device GraphicsDevice
resolution int
size int
Résultat System

Property Details

EdgesTable public_oe static_oe property

public static int[,] EdgesTable
Résultat ].int[

VerticesNumberTable public_oe static_oe property

public static int[] VerticesNumberTable
Résultat int[]