Graphics Reference
In-Depth Information
UWBGL_D3D_Lib11
Supports. The tutorials that
are based on this library:
Tutorials 11.3, 11.4, 11.5, and
11.6.
Introduced in Chapter 11 (on p. 300), this library presents the scene node and
scene hierarchy functionality via the SceneNode class.
Figure C.14 highlights the new and updated classes in this library. The fol-
lowing files are modified from the previous version of the library:
Filename Purpose
Header Files folder: library header files
D3D _ Lib11.h header file for using this library
Common Files folder: API-independent files
Common Files/SceneNode folder:
SceneNode1
scene graph for hierarchical modeling
UWB_SceneNode
#m_pPrimitive : UWB_Primitive *
#m_child_nodes : UWB_PointerArray<UWB_SceneNode*>
#m_xform : UWB_XformInfo
#m_bPivotVisible : bool
#m_Name : wstring
UWB_Primitive
-...
-Same as previous version
+UWB_SceneNode()
+~UWB_SceneNode()
+Draw()
+SetPrimitive()
+GetPrimitive()
+GetPrimitive()
+NumChildren()
+GetChildNode()
+GetXformInfo()
+SetXformInfo()
+SetPivotVisible()
+IsPivotVisible()
+SetName()
+GetName()
+...()
UWB_XformInf
-...
-same as previous version
+...()
Figure C.14. UWBGL _ D3D _ Lib11 : New classes.
 
Search WWH ::




Custom Search