OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
OpenSim.Region.CoreModules.World.Warp3DMap.Viewport Class Reference

Public Member Functions

 Viewport (Vector3 position, Vector3 lookDirection, float fieldOfView, float farPlaneDist, float nearPlaneDist, int width, int height)
 
 Viewport (Vector3 position, Vector3 lookDirection, float farPlaneDist, float nearPlaneDist, int width, int height, float orthoWindowWidth, float orthoWindowHeight)
 
Point VectorToScreen (Vector3 v)
 
Matrix4 GetWorldToViewportMatrix ()
 
Matrix4 GetViewMatrix ()
 
Matrix4 GetPerspectiveProjectionMatrix ()
 
Matrix4 GetOrthographicProjectionMatrix (float aspectRatio)
 
Matrix4 GetViewportMatrix ()
 

Public Attributes

Vector3 Position
 
Vector3 LookDirection
 
float FieldOfView
 
float NearPlaneDistance
 
float FarPlaneDistance
 
int Width
 
int Height
 
bool Orthographic
 
float OrthoWindowWidth
 
float OrthoWindowHeight
 

Detailed Description

Definition at line 34 of file Viewport.cs.

Constructor & Destructor Documentation

OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.Viewport ( Vector3  position,
Vector3  lookDirection,
float  fieldOfView,
float  farPlaneDist,
float  nearPlaneDist,
int  width,
int  height 
)
inline

Definition at line 50 of file Viewport.cs.

OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.Viewport ( Vector3  position,
Vector3  lookDirection,
float  farPlaneDist,
float  nearPlaneDist,
int  width,
int  height,
float  orthoWindowWidth,
float  orthoWindowHeight 
)
inline

Definition at line 62 of file Viewport.cs.

Member Function Documentation

Matrix4 OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.GetOrthographicProjectionMatrix ( float  aspectRatio)
inline

Definition at line 134 of file Viewport.cs.

Matrix4 OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.GetPerspectiveProjectionMatrix ( )
inline

Definition at line 114 of file Viewport.cs.

Matrix4 OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.GetViewMatrix ( )
inline

Definition at line 92 of file Viewport.cs.

Matrix4 OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.GetViewportMatrix ( )
inline

Definition at line 151 of file Viewport.cs.

Matrix4 OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.GetWorldToViewportMatrix ( )
inline

Definition at line 83 of file Viewport.cs.

Point OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.VectorToScreen ( Vector3  v)
inline

Definition at line 76 of file Viewport.cs.

Member Data Documentation

float OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.FarPlaneDistance

Definition at line 43 of file Viewport.cs.

float OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.FieldOfView

Definition at line 41 of file Viewport.cs.

int OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.Height

Definition at line 45 of file Viewport.cs.

Vector3 OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.LookDirection

Definition at line 40 of file Viewport.cs.

float OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.NearPlaneDistance

Definition at line 42 of file Viewport.cs.

bool OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.Orthographic

Definition at line 46 of file Viewport.cs.

float OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.OrthoWindowHeight

Definition at line 48 of file Viewport.cs.

float OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.OrthoWindowWidth

Definition at line 47 of file Viewport.cs.

Vector3 OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.Position

Definition at line 39 of file Viewport.cs.

int OpenSim.Region.CoreModules.World.Warp3DMap.Viewport.Width

Definition at line 44 of file Viewport.cs.


The documentation for this class was generated from the following file: