C# Class Isosurface.ISurfaceAlgorithm

Show file Open project: Lin20/isosurface Class Usage Examples

Public Methods

Method Description
Contour ( float threshold ) : long
Draw ( Effect effect, bool enable_lighting = false, DrawModes mode = DrawModes.Mesh|DrawModes.Outline ) : void
DrawWireframe ( Camera c, Effect e, Matrix world ) : void
ISurfaceAlgorithm ( GraphicsDevice device, int resolution, int size, bool _3d, bool indexed = true, int vertex_size = 524288, int index_size = 4000000 ) : System

Method Details

Contour() public abstract method

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

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

DrawWireframe() public method

public DrawWireframe ( Camera c, Effect e, Matrix world ) : void
c Camera
e Microsoft.Xna.Framework.Graphics.Effect
world Matrix
return void

ISurfaceAlgorithm() public method

public ISurfaceAlgorithm ( GraphicsDevice device, int resolution, int size, bool _3d, bool indexed = true, int vertex_size = 524288, int index_size = 4000000 ) : System
device GraphicsDevice
resolution int
size int
_3d bool
indexed bool
vertex_size int
index_size int
return System