C# 클래스 Fractrace.NavigateControl

A Control with some basic buttons to navigate in the virtual object space.
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: trafassel/Gestaltlupe

보호된 프로퍼티들

프로퍼티 타입 설명
mAngle double
mFactor double
mZoomFactor double

공개 메소드들

메소드 설명
DrawPreview ( ) : void
Init ( PreviewControl preview, PreviewControl preview2, ParameterInput parent ) : void

Initialisation.

MoveScene ( int x, int y ) : void
MoveSceneFromBottomView ( int x, int y ) : void

Slide scene. Input is from bootom view mouse move event.

NavigateControl ( ) : System

Contructer.

RotateScene ( int x, int y ) : void

Rotate scene. Center is scene center. Input is from bootom view mouse move event or fron view mouse move event.

RotateSceneBottomView ( int x, int y ) : void
UpdateCenterDiff ( ) : void

Set centerDiffX, centerDiffY and centerDiffZ.

UpdateFromChangeProperty ( ) : void

Is called, if some properties changed.

Zoom ( double factor ) : void
ZoomIn ( ) : void
ZoomOut ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

RotateX ( double angle ) : void
RotateY ( double angle ) : void
RotateZ ( double angle ) : void

비공개 메소드들

메소드 설명
DrawAndWriteInHistory ( ) : void

Zeichnet und aktualisiert die History.

InitializeComponent ( ) : void

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

SlideX ( double xdiff ) : void

Move Scene.CenterX.

SlideY ( double ydiff ) : void

Move Scene.CenterY.

SlideZ ( double zdiff ) : void

Move Scene.CenterZ.

SolveEqusyst ( Fractrace.Geometry.Vec3 pp0, Fractrace.Geometry.Vec3 pp1, Fractrace.Geometry.Vec3 pp2, Fractrace.Geometry.Vec3 pp3 ) : Fractrace.Geometry.Vec3

Solve the equation system a*pp1+b*pp2+c*pp3=pp0

UpdateMoveAngleButtonAppearance ( ) : void
UpdateMoveButtonAppearance ( ) : void
btnBackwards_Click ( object sender, EventArgs e ) : void

Move backwards.

btnDown_Click ( object sender, EventArgs e ) : void

Move down.

btnForward_Click ( object sender, EventArgs e ) : void

Move forward.

btnLeft_Click ( object sender, EventArgs e ) : void

Move left.

btnMoveAngleFast_Click ( object sender, EventArgs e ) : void
btnMoveAngleFine_Click ( object sender, EventArgs e ) : void
btnMoveAngleNormal_Click ( object sender, EventArgs e ) : void
btnMoveFast_Click ( object sender, EventArgs e ) : void
btnMoveFine_Click ( object sender, EventArgs e ) : void
btnMoveNormal_Click ( object sender, EventArgs e ) : void
btnMoveSlow_Click ( object sender, EventArgs e ) : void
btnRight_Click ( object sender, EventArgs e ) : void

Move right.

btnRotX_Click ( object sender, EventArgs e ) : void
btnRotY_Click ( object sender, EventArgs e ) : void
btnRotYneg_Click ( object sender, EventArgs e ) : void
btnRotZ_Click ( object sender, EventArgs e ) : void
btnRotZneg_Click ( object sender, EventArgs e ) : void
btnTop_Click ( object sender, EventArgs e ) : void

Move up.

btnZoomIn_Click ( object sender, EventArgs e ) : void

Zoom in.

btnZoomOut_Click ( object sender, EventArgs e ) : void

Zoom out.

button4_Click ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Verwendete Ressourcen bereinigen.
protected Dispose ( bool disposing ) : void
disposing bool True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
리턴 void

DrawPreview() 공개 메소드

public DrawPreview ( ) : void
리턴 void

Init() 공개 메소드

Initialisation.
public Init ( PreviewControl preview, PreviewControl preview2, ParameterInput parent ) : void
preview PreviewControl
preview2 PreviewControl
parent ParameterInput
리턴 void

MoveScene() 공개 메소드

public MoveScene ( int x, int y ) : void
x int
y int
리턴 void

MoveSceneFromBottomView() 공개 메소드

Slide scene. Input is from bootom view mouse move event.
public MoveSceneFromBottomView ( int x, int y ) : void
x int
y int
리턴 void

NavigateControl() 공개 메소드

Contructer.
public NavigateControl ( ) : System
리턴 System

RotateScene() 공개 메소드

Rotate scene. Center is scene center. Input is from bootom view mouse move event or fron view mouse move event.
public RotateScene ( int x, int y ) : void
x int
y int
리턴 void

RotateSceneBottomView() 공개 메소드

public RotateSceneBottomView ( int x, int y ) : void
x int
y int
리턴 void

RotateX() 보호된 메소드

protected RotateX ( double angle ) : void
angle double
리턴 void

RotateY() 보호된 메소드

protected RotateY ( double angle ) : void
angle double
리턴 void

RotateZ() 보호된 메소드

protected RotateZ ( double angle ) : void
angle double
리턴 void

UpdateCenterDiff() 공개 메소드

Set centerDiffX, centerDiffY and centerDiffZ.
public UpdateCenterDiff ( ) : void
리턴 void

UpdateFromChangeProperty() 공개 메소드

Is called, if some properties changed.
public UpdateFromChangeProperty ( ) : void
리턴 void

Zoom() 공개 메소드

public Zoom ( double factor ) : void
factor double
리턴 void

ZoomIn() 공개 메소드

public ZoomIn ( ) : void
리턴 void

ZoomOut() 공개 메소드

public ZoomOut ( ) : void
리턴 void

프로퍼티 상세

mAngle 보호되어 있는 프로퍼티

protected double mAngle
리턴 double

mFactor 보호되어 있는 프로퍼티

Factor used in move.
protected double mFactor
리턴 double

mZoomFactor 보호되어 있는 프로퍼티

protected double mZoomFactor
리턴 double