C# 클래스 Fusion.Engine.Graphics.GIS.GlobeCamera

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

공개 프로퍼티들

프로퍼티 타입 설명
CameraState CameraStates
EarthRadius double
FinalCamPosition System.DVector3
ProjMatrix DMatrix
ProjMatrixFloat System.Matrix
ViewMatrix DMatrix
ViewMatrixFloat System.Matrix
ViewMatrixWithTranslation DMatrix

공개 메소드들

메소드 설명
CameraZoom ( float delta ) : void
CartesianToScreen ( System.DVector3 cartPos ) : System.Vector2
GetCameraLonLat ( ) : DVector2
GetRayFromScreenPoint ( float x, float y, System.DVector3 &near, System.DVector3 &far ) : void
GlobeCamera ( Game engine ) : System
GoToPlace ( Places place ) : void
LoadAnimation ( string fileName = "cameraAnimation.txt" ) : void
LoadCameraStates ( string fileName = "cameraStates.txt" ) : void
MoveCamera ( System.Vector2 prevMousePos, System.Vector2 currentMousePos ) : void

Move TopDown and ViewToPoint cameras

MoveFreeSurfaceCamera ( System.DVector3 direction ) : void
PlayAnimation ( GameTime gameTime ) : void
ResetAnimation ( ) : void
RotateFreeSurfaceCamera ( System.Vector2 relativeMouseOffset ) : void
RotateFreeSurfaceCamera ( double yawDelta, double pitchDelta ) : void
RotateViewToPointCamera ( System.Vector2 relativeMouseOffset ) : void
RotateViewToPointCamera ( double yawDelta, double pitchDelta ) : void
SaveCurrentStateToFile ( string fileName = "cameraAnimation.txt", string stateName = "" ) : void
ScreenToSpherical ( float x, float y, DVector2 &lonLat ) : bool
SetState ( string name ) : void
StopAnimation ( ) : void
ToggleFreeSurfaceCamera ( ) : void
ToggleTopDownCamera ( ) : void
ToggleViewToPointCamera ( ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
CalculateBasisOnSurface ( ) : DMatrix
GenerateId ( ) : string
GetEulerAngles ( DMatrix q, double &yaw, double &pitch, double &roll ) : void
GetEulerAngles ( DQuaternion q, double &yaw, double &pitch, double &roll ) : void
LoadCameraStatesFromFile ( string fileName ) : List
SetState ( SurfaceCameraState state ) : void
UpdateProjectionMatrix ( ) : void

메소드 상세

CameraZoom() 공개 메소드

public CameraZoom ( float delta ) : void
delta float
리턴 void

CartesianToScreen() 공개 메소드

public CartesianToScreen ( System.DVector3 cartPos ) : System.Vector2
cartPos System.DVector3
리턴 System.Vector2

GetCameraLonLat() 공개 메소드

public GetCameraLonLat ( ) : DVector2
리턴 DVector2

GetRayFromScreenPoint() 공개 메소드

public GetRayFromScreenPoint ( float x, float y, System.DVector3 &near, System.DVector3 &far ) : void
x float
y float
near System.DVector3
far System.DVector3
리턴 void

GlobeCamera() 공개 메소드

public GlobeCamera ( Game engine ) : System
engine Game
리턴 System

GoToPlace() 공개 메소드

public GoToPlace ( Places place ) : void
place Places
리턴 void

LoadAnimation() 공개 메소드

public LoadAnimation ( string fileName = "cameraAnimation.txt" ) : void
fileName string
리턴 void

LoadCameraStates() 공개 메소드

public LoadCameraStates ( string fileName = "cameraStates.txt" ) : void
fileName string
리턴 void

MoveCamera() 공개 메소드

Move TopDown and ViewToPoint cameras
public MoveCamera ( System.Vector2 prevMousePos, System.Vector2 currentMousePos ) : void
prevMousePos System.Vector2
currentMousePos System.Vector2
리턴 void

MoveFreeSurfaceCamera() 공개 메소드

public MoveFreeSurfaceCamera ( System.DVector3 direction ) : void
direction System.DVector3
리턴 void

PlayAnimation() 공개 메소드

public PlayAnimation ( GameTime gameTime ) : void
gameTime Fusion.Engine.Common.GameTime
리턴 void

ResetAnimation() 공개 메소드

public ResetAnimation ( ) : void
리턴 void

RotateFreeSurfaceCamera() 공개 메소드

public RotateFreeSurfaceCamera ( System.Vector2 relativeMouseOffset ) : void
relativeMouseOffset System.Vector2
리턴 void

RotateFreeSurfaceCamera() 공개 메소드

public RotateFreeSurfaceCamera ( double yawDelta, double pitchDelta ) : void
yawDelta double
pitchDelta double
리턴 void

RotateViewToPointCamera() 공개 메소드

public RotateViewToPointCamera ( System.Vector2 relativeMouseOffset ) : void
relativeMouseOffset System.Vector2
리턴 void

RotateViewToPointCamera() 공개 메소드

public RotateViewToPointCamera ( double yawDelta, double pitchDelta ) : void
yawDelta double
pitchDelta double
리턴 void

SaveCurrentStateToFile() 공개 메소드

public SaveCurrentStateToFile ( string fileName = "cameraAnimation.txt", string stateName = "" ) : void
fileName string
stateName string
리턴 void

ScreenToSpherical() 공개 메소드

public ScreenToSpherical ( float x, float y, DVector2 &lonLat ) : bool
x float
y float
lonLat DVector2
리턴 bool

SetState() 공개 메소드

public SetState ( string name ) : void
name string
리턴 void

StopAnimation() 공개 메소드

public StopAnimation ( ) : void
리턴 void

ToggleFreeSurfaceCamera() 공개 메소드

public ToggleFreeSurfaceCamera ( ) : void
리턴 void

ToggleTopDownCamera() 공개 메소드

public ToggleTopDownCamera ( ) : void
리턴 void

ToggleViewToPointCamera() 공개 메소드

public ToggleViewToPointCamera ( ) : void
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Fusion.Engine.Common.GameTime
리턴 void

프로퍼티 상세

CameraState 공개적으로 프로퍼티

public CameraStates CameraState
리턴 CameraStates

EarthRadius 공개적으로 프로퍼티

public double EarthRadius
리턴 double

FinalCamPosition 공개적으로 프로퍼티

public DVector3,System FinalCamPosition
리턴 System.DVector3

ProjMatrix 공개적으로 프로퍼티

public DMatrix ProjMatrix
리턴 DMatrix

ProjMatrixFloat 공개적으로 프로퍼티

public Matrix,System ProjMatrixFloat
리턴 System.Matrix

ViewMatrix 공개적으로 프로퍼티

public DMatrix ViewMatrix
리턴 DMatrix

ViewMatrixFloat 공개적으로 프로퍼티

public Matrix,System ViewMatrixFloat
리턴 System.Matrix

ViewMatrixWithTranslation 공개적으로 프로퍼티

public DMatrix ViewMatrixWithTranslation
리턴 DMatrix