C# 클래스 GraphicsEngine.Graphics.Rasterizer

상속: IRasterizer
파일 보기 프로젝트 열기: ckarcz/GraphicsEngine

공개 프로퍼티들

프로퍼티 타입 설명
Colors ushort[]
HorizontalWireFrameChar byte
UpLeftWireFrameChar byte
UpRightWireFrameChar byte
VerticleWireFrameChar byte

공개 메소드들

메소드 설명
ClearImage ( byte clearCharacter = null, byte clearColor = null ) : void
DrawAxes ( ITransformation transformation, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawLine ( ITransformation transformation, Vector2 point1, Vector2 point2, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawLine ( ITransformation transformation, Vector3 point1, Vector3 point2, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshBoundingBox ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshBoundingBox ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshCenters ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshCenters ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshFilled ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshFilled ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshVertices ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshVertices ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshWired ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawMeshWired ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPoint ( ITransformation transformation, Vector2 point, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPoint ( ITransformation transformation, Vector3 point, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPoints ( ITransformation transformation, IEnumerable points, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPoints ( ITransformation transformation, IEnumerable points, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPolygonFilled ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPolygonFilled ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPolygonWired ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawPolygonWired ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
DrawStringHorizontal ( ITransformation transformation, Vector2 location, string messageString, ushort colorOverride = null ) : void
DrawStringVertical ( ITransformation transformation, Vector2 location, string messageString, ushort colorOverride = null ) : void
GetPixelCharacter ( int x, int y ) : byte?
GetPixelColor ( int x, int y ) : ushort?
Rasterize ( ) : IGraphicsBuffer
Rasterizer ( int width, int height ) : System.Collections.Generic

비공개 메소드들

메소드 설명
GetPolygonEdges ( IEnumerable vectors ) : IEnumerable
GetPolygonEdges ( IEnumerable vectors ) : IEnumerable
IsNotCulled ( int x, int y, float z, bool ignoreZ = false ) : bool

메소드 상세

ClearImage() 공개 메소드

public ClearImage ( byte clearCharacter = null, byte clearColor = null ) : void
clearCharacter byte
clearColor byte
리턴 void

DrawAxes() 공개 메소드

public DrawAxes ( ITransformation transformation, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
colorOverride ushort
pixelOverride byte
리턴 void

DrawLine() 공개 메소드

public DrawLine ( ITransformation transformation, Vector2 point1, Vector2 point2, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
point1 Vector2
point2 Vector2
colorOverride ushort
pixelOverride byte
리턴 void

DrawLine() 공개 메소드

public DrawLine ( ITransformation transformation, Vector3 point1, Vector3 point2, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
point1 Vector3
point2 Vector3
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshBoundingBox() 공개 메소드

public DrawMeshBoundingBox ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
meshes IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshBoundingBox() 공개 메소드

public DrawMeshBoundingBox ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
mesh IMesh
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshCenters() 공개 메소드

public DrawMeshCenters ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
meshes IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshCenters() 공개 메소드

public DrawMeshCenters ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
mesh IMesh
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshFilled() 공개 메소드

public DrawMeshFilled ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
meshes IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshFilled() 공개 메소드

public DrawMeshFilled ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
mesh IMesh
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshVertices() 공개 메소드

public DrawMeshVertices ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
meshes IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshVertices() 공개 메소드

public DrawMeshVertices ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
mesh IMesh
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshWired() 공개 메소드

public DrawMeshWired ( ITransformation transformation, IEnumerable meshes, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
meshes IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawMeshWired() 공개 메소드

public DrawMeshWired ( ITransformation transformation, IMesh mesh, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
mesh IMesh
colorOverride ushort
pixelOverride byte
리턴 void

DrawPoint() 공개 메소드

public DrawPoint ( ITransformation transformation, Vector2 point, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
point Vector2
colorOverride ushort
pixelOverride byte
리턴 void

DrawPoint() 공개 메소드

public DrawPoint ( ITransformation transformation, Vector3 point, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
point Vector3
colorOverride ushort
pixelOverride byte
리턴 void

DrawPoints() 공개 메소드

public DrawPoints ( ITransformation transformation, IEnumerable points, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
points IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawPoints() 공개 메소드

public DrawPoints ( ITransformation transformation, IEnumerable points, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
points IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawPolygonFilled() 공개 메소드

public DrawPolygonFilled ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
vectors IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawPolygonFilled() 공개 메소드

public DrawPolygonFilled ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
vectors IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawPolygonWired() 공개 메소드

public DrawPolygonWired ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
vectors IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawPolygonWired() 공개 메소드

public DrawPolygonWired ( ITransformation transformation, IEnumerable vectors, ushort colorOverride = null, byte pixelOverride = null ) : void
transformation ITransformation
vectors IEnumerable
colorOverride ushort
pixelOverride byte
리턴 void

DrawStringHorizontal() 공개 메소드

public DrawStringHorizontal ( ITransformation transformation, Vector2 location, string messageString, ushort colorOverride = null ) : void
transformation ITransformation
location Vector2
messageString string
colorOverride ushort
리턴 void

DrawStringVertical() 공개 메소드

public DrawStringVertical ( ITransformation transformation, Vector2 location, string messageString, ushort colorOverride = null ) : void
transformation ITransformation
location Vector2
messageString string
colorOverride ushort
리턴 void

GetPixelCharacter() 공개 메소드

public GetPixelCharacter ( int x, int y ) : byte?
x int
y int
리턴 byte?

GetPixelColor() 공개 메소드

public GetPixelColor ( int x, int y ) : ushort?
x int
y int
리턴 ushort?

Rasterize() 공개 메소드

public Rasterize ( ) : IGraphicsBuffer
리턴 IGraphicsBuffer

Rasterizer() 공개 메소드

public Rasterizer ( int width, int height ) : System.Collections.Generic
width int
height int
리턴 System.Collections.Generic

프로퍼티 상세

Colors 공개적으로 정적으로 프로퍼티

public static ushort[] Colors
리턴 ushort[]

HorizontalWireFrameChar 공개적으로 정적으로 프로퍼티

public static byte HorizontalWireFrameChar
리턴 byte

UpLeftWireFrameChar 공개적으로 정적으로 프로퍼티

public static byte UpLeftWireFrameChar
리턴 byte

UpRightWireFrameChar 공개적으로 정적으로 프로퍼티

public static byte UpRightWireFrameChar
리턴 byte

VerticleWireFrameChar 공개적으로 정적으로 프로퍼티

public static byte VerticleWireFrameChar
리턴 byte