C# Class Isosurface.ISurfaceAlgorithm

Afficher le fichier Open project: Lin20/isosurface Class Usage Examples

Méthodes publiques

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

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

Draw() public méthode

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
Résultat void

DrawWireframe() public méthode

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

ISurfaceAlgorithm() public méthode

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
Résultat System