C# Класс GraphicsEngine.Graphics.Rasterizer

Наследование: IRasterizer
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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