C# 클래스 CSharpGL.BezierRenderer

Rendering a evaluator(a bezier curve or surface) and its control points.
상속: PointsRenderer
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

공개 메소드들

메소드 설명
Create ( IList controlPoints, BezierType type ) : BezierRenderer

Creates a renderer that renders a evaluator(a bezier curve or surface) and its control points.

MovePositions ( Point differenceOnScreen, CSharpGL.mat4 viewMatrix, CSharpGL.mat4 projectionMatrix, vec4 viewport ) : void

Move vertexes' position accroding to difference on screen.

根据differenceOnScreen来修改指定索引处的顶点位置。

MovePositions ( Point differenceOnScreen, CSharpGL.mat4 viewMatrix, CSharpGL.mat4 projectionMatrix, vec4 viewport, IEnumerable positionIndexes ) : void

Move vertexes' position accroding to difference on screen.

根据differenceOnScreen来修改指定索引处的顶点位置。

ToString ( ) : string

보호된 메소드들

메소드 설명
DoInitialize ( ) : void

DoRender ( RenderEventArgs arg ) : void

비공개 메소드들

메소드 설명
BezierRenderer ( IList controlPoints, BezierType type, Points model, CSharpGL shaderCodes, CSharpGL attributeMap, string positionNameInIBufferable ) : System.Collections.Generic

Rendering a evaluator(a bezier curve or surface) and its control points.

UpdateEvaluator ( ) : void

메소드 상세

Create() 공개 정적인 메소드

Creates a renderer that renders a evaluator(a bezier curve or surface) and its control points.
public static Create ( IList controlPoints, BezierType type ) : BezierRenderer
controlPoints IList
type BezierType
리턴 BezierRenderer

DoInitialize() 보호된 메소드

protected DoInitialize ( ) : void
리턴 void

DoRender() 보호된 메소드

protected DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
리턴 void

MovePositions() 공개 메소드

Move vertexes' position accroding to difference on screen.

根据differenceOnScreen来修改指定索引处的顶点位置。

public MovePositions ( Point differenceOnScreen, CSharpGL.mat4 viewMatrix, CSharpGL.mat4 projectionMatrix, vec4 viewport ) : void
differenceOnScreen Point
viewMatrix CSharpGL.mat4
projectionMatrix CSharpGL.mat4
viewport vec4
리턴 void

MovePositions() 공개 메소드

Move vertexes' position accroding to difference on screen.

根据differenceOnScreen来修改指定索引处的顶点位置。

public MovePositions ( Point differenceOnScreen, CSharpGL.mat4 viewMatrix, CSharpGL.mat4 projectionMatrix, vec4 viewport, IEnumerable positionIndexes ) : void
differenceOnScreen Point
viewMatrix CSharpGL.mat4
projectionMatrix CSharpGL.mat4
viewport vec4
positionIndexes IEnumerable
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string