C# Class Isosurface.DualMarchingSquares.DMS

Inheritance: ISurfaceAlgorithm
Mostrar archivo Open project: Lin20/isosurface

Private Properties

Property Type Description

Public Methods

Method Description
CalculateIndexes ( ) : void
ConstructTreeGrid ( QuadtreeNode node ) : void
Contour ( float threshold ) : long
DMS ( GraphicsDevice device, int Resolution, int size ) : System
Draw ( Effect effect, bool enable_lighting = false, DrawModes mode = DrawModes.Mesh|DrawModes.Outline ) : void

Method Details

CalculateIndexes() public method

public CalculateIndexes ( ) : void
return void

ConstructTreeGrid() public method

public ConstructTreeGrid ( QuadtreeNode node ) : void
node QuadtreeNode
return void

Contour() public method

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

DMS() public method

public DMS ( GraphicsDevice device, int Resolution, int size ) : System
device GraphicsDevice
Resolution int
size int
return System

Draw() public method

public Draw ( Effect effect, bool enable_lighting = false, DrawModes mode = DrawModes.Mesh|DrawModes.Outline ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
enable_lighting bool
mode DrawModes
return void