Graphics Reference
In-Depth Information
UWB_WindowHandler
UWB_Camera
UWB_Primitive
#m_CameraPos : vec3
#m_LookAt : vec3
#m_UpVector : vec3
#m_ViewFOV : float
#m_ViewNearPlane : float
#m_ViewFarPlane : float
#m_XRotStart : float
#m_YRotStart : float
#m_XRot : float
#m_YRot : float
#m_TmpInitXPos : int
#m_TmpInitYPos : int
+only changes are shown : HWND
+... : UWB_BoundingBox
#m _Camera : UWB_Camera
+only changes are shown : bool
+... : vec3
+InitializeHandler ()
+ShutDownHandler ()
+OnMouseButton ()
+OnMouseMove ()
+SetCamera()
+GetCamera ()
+DeviceToWorld()
+LoadViewXform ()
+LoadProjectionXform ()
UWB_PrimitiveAxisFrame
#m_size : float
+UWB_PrimitiveAxisFrame()
+SetSize()
+GetSize()
#SetupDrawAttributes ()
+UWB_Camera ()
+Draw()
+SetViewFrustumInDegree ()
+GetViewFrustumInDegree ()
+SetCameraPosition ()
+SetCameraPosition ()
+GetCameraPosition ()
+SetCameraLookAt ()
+SetCameraLookAt ()
+GetCameraLookAt ()
+SetCameraUpVector()
+SetCameraUpVector()
+GetCameraUpVector()
+SetViewVolumeFOVInDegree ()
+GetViewVolumeFOVInDegree ()
+GetViewVolumeFOVInRadian ()
+SetViewVolumeNearPlane ()
+GetViewVolumeNearPlane ()
+SetViewVolumeFarPlane ()
+GetViewVolumeFarPlane ()
+ResetRotation()
+BeginMouseRotate ()
+MouseRotate()
+GetMouseRotationsInRadian ()
+BeginMouseTrack ()
+MouseTrack()
+BeginMouseZoom ()
+MouseZoom ()
UWB_PrimitiveRectangleXY
UWBD3D_WindowHandler
#m_bounds : UWB_BoundingBox
#m_mouse_down_point : vec3
+only changes are shown : LPDIRECT3DDEVICE9
+... : LPDIRECT3DSWAPCHAIN9
+UWB_PrimitiveRectangleXY ()
+MouseDownVertex ()
+MoveTo()
+SetCorners ()
+MinCorner ()
+MaxCorner ()
#SetupDrawAttributes ()
+IsGraphicsDeviceValid()
+InitializeHandler()
+ShutDownHandler ()
+BeginDraw ()
+EndDrawAndShow ()
+DeviceToWorld()
+LoadViewXform ()
+LoadProjectionXform ()
#ComputeViewMatrix ()
#ComputeProjectionMatrix ()
UWB_XformInfo
+only changes are shown : vec3
+... : vec3
#m_xrotation_radians : float
#m_yrotation_radians : float
#m_zrotation_radians : float
UWBD3D_DrawHelper
+only changes are shown : <unspecified> *
+...
+GetRotationInRadians ()
+GetRotationInDegrees ()
+SetRotationRadians ()
+SetRotationDegrees ()
+DrawRectangleXZ ()
Figure C.17. UWBGL _ D3D _ Lib14 :The Camera class and modification for 3D support.
UWBGL_D3D_Lib15
Supports. The tutorials that
are based on this library:
Tutorials 16.1 and 16.2.
Introduced in Chapter 16 (on p. 450), this library presents the programmer with
the functionality of working with D3D .x mesh objects. This library implements
the loading of D3D mesh files (the .x mesh files) based on the UWBD3D _ Resource
utilities (introduced in Lib13 ).
Figure C.18 highlights the new and updated classes in this library. The fol-
lowing list summarizes the changes from the previous version of the library:
UWBD3D _ MeshResource . This is a new class that subclasses from the UWBD3D _
Resource to load D3D .x mesh objects as resources.
UWBD3D _ GraphicsSystems . This class is modified to include an array of
mesh resources. New functionality is added to search and to trigger lazy
loading of mesh resources.
UWBD3D _ PrimitiveMesh . This is a new class that wraps UWB _ Primitive
functionality over mesh resources.
Search WWH ::




Custom Search