Method | Description | |
---|---|---|
Project ( double x, double y, double z ) : |
Performs projection. Calculates screen coordinates for 3D point.
|
|
ReCalculateTransformationsCoeficients ( double obsX, double obsY, double obsZ, int xs0, int ys0, int screenWidth, int screenHeight, double screenDistance, double screenWidthPhys, double screenHeightPhys ) : void | ||
RenderSurface ( |
||
Surface3DRenderer ( double obsX, double obsY, double obsZ, int xs0, int ys0, int screenWidth, int screenHeight, double screenDistance, double screenWidthPhys, double screenHeightPhys ) : System |
Initializes a new instance of the Surface3DRenderer class. Calculates transformations coeficients.
|
public Project ( double x, double y, double z ) : |
||
x | double | Point's x coordinate. |
y | double | Point's y coordinate. |
z | double | Point's z coordinate. |
return |
public ReCalculateTransformationsCoeficients ( double obsX, double obsY, double obsZ, int xs0, int ys0, int screenWidth, int screenHeight, double screenDistance, double screenWidthPhys, double screenHeightPhys ) : void | ||
obsX | double | |
obsY | double | |
obsZ | double | |
xs0 | int | |
ys0 | int | |
screenWidth | int | |
screenHeight | int | |
screenDistance | double | |
screenWidthPhys | double | |
screenHeightPhys | double | |
return | void |
public RenderSurface ( |
||
graphics | ||
matrix | long | |
adjustmentValue | int | |
newRender | bool | |
return | void |
public Surface3DRenderer ( double obsX, double obsY, double obsZ, int xs0, int ys0, int screenWidth, int screenHeight, double screenDistance, double screenWidthPhys, double screenHeightPhys ) : System | ||
obsX | double | Observator's X position |
obsY | double | Observator's Y position |
obsZ | double | Observator's Z position |
xs0 | int | X coordinate of screen |
ys0 | int | Y coordinate of screen |
screenWidth | int | Drawing area width in pixels. |
screenHeight | int | Drawing area height in pixels. |
screenDistance | double | The screen distance. |
screenWidthPhys | double | Width of the screen in meters. |
screenHeightPhys | double | Height of the screen in meters. |
return | System |