Graphics Reference
In-Depth Information
UWBGL_D3D_Lib9
Supports.
The tutorials that
are based on this library:
Tutorials
Introduced in Chapter 9 (on p. 247), this library presents pivoted transformation
operations via the
XformInfo
class. The
D3DDrawHelper
class is updated to
support the new
XformInfo
with the D3D matrix stack.
Figure C.12 highlights the new and updated classes in this library. The fol-
lowing files are modified from the previous version of the library:
9.6,
9.7,
9.8,
9.9,
10.6, 10.7, and 10.8.
Filename Purpose
Header Files
folder: library header files
D3D
_
Lib9.h
header file for using this library
Common Files
folder: API-independent files
Common Files/XformInfo
folder:
XformInfo1
support for pivoted transformation
D3D Files
folder: D3D-specific source files
D3D Files/D3D_DrawHelper
folder:
D3DDrawHelper3
work with D3D
WORLD
matrix with matrix stack
UWB_XformInfo
UWB_DrawHelper
#m_translation : vec3
#m_scale : vec3
#m_rotation _radians : float
#m_pivot : vec3
+only changes are shown
-...
+AccumulateModelTransform ()
+PushModelTransform ()
+PopModelTransform ()
+InitializeModelTransform ()
+UWB_XformInfo()
+SetUpModelStack ()
+GetTranslation ()
+SetTranslation ()
+GetScale()
+SetScale()
+GetRotationInRadians ()
+GetRotationInDegrees ()
+SetRotationRadians ()
+SetRotationDegrees ()
+GetPivot()
+SetPivot()
UWBD3D_DrawHelper
-only changes are shown
-...
-m_pMatrixStack : ID3DXMatrixStack *
+AccumulateModelTransform ()
+PushModelTransform ()
+PopModelTransform ()
+InitializeModelTransform ()
Figure C.12.
UWBGL
_
D3D
_
Lib9
:
XformInfo
and modifications to
DrawHelper
.
Search WWH ::
Custom Search