ViewProjection

 

Events

ViewProjectionChanged event EventHandler ViewProjectionChanged  

 

Properties

Camera Camera Camera
 
DrawingToOrthographicTransform
readonly
Matrix4x4F DrawingToOrthographicTransform
 
DrawingToScreenTransform
readonly
Matrix4x4F DrawingToScreenTransform
 
FocalLengthScale float FocalLengthScale
 
Height
readonly
float Height
 
OrthoProjectionMatrix4
readonly
Matrix4 OrthoProjectionMatrix4
 
OrthoProjectionMatrix4x4F
readonly
Matrix4x4F OrthoProjectionMatrix4x4F
 
ProjectionMatrix4 Matrix4 ProjectionMatrix4
 
ProjectionMatrix4x4F Matrix4x4F ProjectionMatrix4x4F
 
ProjectionMatrixArray
readonly
float[ ] ProjectionMatrixArray
 
ProjectionMode ProjectionModes ProjectionMode
 
ViewMatrix4 Matrix4 ViewMatrix4
 
ViewMatrix4Array
readonly
float[ ] ViewMatrix4Array
 
ViewMatrix4x4F Matrix4x4F ViewMatrix4x4F
 
ViewPortSize SizeF ViewPortSize
 
ViewScale float ViewScale
 
ViewTransform
readonly
Matrix4x4F ViewTransform
 
ViewTransform4
readonly
Matrix4 ViewTransform4
 
Width
readonly
float Width
 

Methods

DrawingToOrthographic Point3F DrawingToOrthographic(Point3F pDrawing)  
DrawingToScreen
PointF DrawingToScreen(Point3F pDrawing)  
PanView void PanView(double dx, double dy)  
PropertyChanged void PropertyChanged(string propertyname, object newvalue)  
PropertyChanging void PropertyChanging(string propertyname, object newvalue)  
RotateView

void RotateView(float dx, float dy, Point3F center)

Rotate the view around X and/or Y, centered on center
dx, dy: the amount of rotation in radian

VB
ScreenToDrawing Point3F ScreenToDrawing(PointF pScreen)  
Update void Update()  
ViewXYPlane

void ViewXYPlane()
Align the view to XY plane (top view)

VB
ViewXZPlane void ViewXZPlane()  
ViewYZPlane void ViewYZPlane()  
ZoomToFitScreenPoints void ZoomToFitScreenPoints(PointF min, PointF max)  
ZoomView void ZoomView(float scale)  
ZoomView void ZoomView(float scale, Point zoom_point)  
Copyright (c) 2011 HexRay Ltd