C# 클래스 Isosurface.ISurfaceAlgorithm

파일 보기 프로젝트 열기: Lin20/isosurface 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Contour() 공개 추상적인 메소드

public abstract Contour ( float threshold ) : long
threshold float
리턴 long

Draw() 공개 메소드

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
리턴 void

DrawWireframe() 공개 메소드

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

ISurfaceAlgorithm() 공개 메소드

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
리턴 System