#include <wbview3d.h>
Inherits WbView, and DX8_CleanupHook.
Public Member Functions | |
| virtual void | ReleaseResources (void) |
| Release all dx8 resources so the device can be reset. | |
| virtual void | ReAcquireResources (void) |
| Reacquire all resources after device reset. | |
| virtual Bool | viewToDocCoords (CPoint curPt, Coord3D *newPt, Bool constrain=true) |
| virtual Bool | docToViewCoords (Coord3D curPt, CPoint *newPt) |
| virtual void | updateHeightMapInView (WorldHeightMap *htMap, Bool partial, const IRegion2D &partialRange) |
| Update the height map in the 3d window. | |
| virtual void | invalObjectInView (MapObject *pObj) |
| Invalidates an object. Pass NULL to inval all objects. | |
| AsciiString | getBestModelName (const ThingTemplate *tt, const ModelConditionFlags &c) |
| void | invalBuildListItemInView (BuildListInfo *pBuild) |
| Invalidates an build list object. | |
| virtual void | invalidateCellInView (int xIndex, int yIndex) |
| Invalidates the area of one height map cell in the 2d view. | |
| virtual void | scrollInView (Real x, Real y, Bool end) |
| Scrolls the window by this amount. | |
| virtual void | setDefaultCamera () |
| virtual void | rotateCamera (Real delta) |
| virtual void | pitchCamera (Real delta) |
| void | setCameraPitch (Real absolutePitch) |
| Real | getCameraPitch (void) |
| Real | getCurrentZoom (void) |
| Real | getHeightAboveGround (void) |
| Vector3 | getCameraSource (void) |
| Vector3 | getCameraTarget (void) |
| Real | getCameraAngle (void) |
| CPoint | getActualWinSize (void) |
| virtual MapObject * | picked3dObjectInView (CPoint viewPt) |
| virtual BuildListInfo * | pickedBuildObjectInView (CPoint viewPt) |
| void | removeFenceListObjects (MapObject *pObject) |
| void | updateFenceListObjects (MapObject *pObject) |
| void | resetRenderObjects () |
| Removes all render objects. Call when swithing to a new map. | |
| void | stepTimeOfDay (void) |
| void | reset3dEngineDisplaySize (Int width, Int height) |
| Closes & reinitializes w3d. | |
| void | setLighting (const GlobalData::TerrainLighting *tl, Int whichLighting, Int whichLight=0) |
| DrawObject * | getDrawObject (void) |
| AsciiString | getModelNameAndScale (MapObject *pMapObj, Real *scale, BodyDamageType curDamageState) |
| virtual Int | getPickPixels (void) |
| virtual Bool | viewToDocCoordZ (CPoint curPt, Coord3D *newPt, Real Z) |
| void | redraw () |
| virtual void | setCenterInView (Real x, Real y) |
| Set the center for display. | |
| Bool | getShowTerrain () |
| Bool | getShowWireframe () |
| void | setObjTracking (MapObject *pMapObj, Coord3D pos, Real angle, Bool show) |
| void | setViewLayersList (Bool showLayersList) |
| Bool | getShowMapBoundaryFeedback (void) const |
| Bool | getShowAmbientSoundsFeedback (void) const |
| void | togglePitchAndRotation (void) |
| virtual Bool | isDoingPitch (void) |
| void | setShowBoundingBoxes (Bool toggle) |
| Bool | getShowBoundingBoxes (void) |
| void | setShowSightRanges (Bool toggle) |
| Bool | getShowSightRanges (void) |
| void | setShowWeaponRanges (Bool toggle) |
| Bool | getShowWeaponRanges (void) |
| void | setHighlightTestArt (Bool toggle) |
| Bool | getHighlightTestArt (void) |
| void | setShowLetterbox (Bool toggle) |
| Bool | getShowLetterbox (void) |
Public Member Functions inherited from WbView | |
| void | doRectFeedback (Bool doFeedback, RECT &rect) |
| void | doRulerFeedback (int doRulerFeedback) |
| void | rulerFeedbackInfo (Coord3D &point1, Coord3D &point2, Real dist) |
| void | doLightFeedback (Bool doFeedback, Coord3D direction, Int lightIndex) |
| virtual void | adjustDocSize () |
| the doc has changed size; readjust view as necessary. | |
| virtual EditorSortingType | GetPickConstraint (void) |
| CWorldBuilderDoc * | WbDoc () |
| void | snapPoint (Coord3D *thePt) |
| virtual TPickedStatus | picked (MapObject *pObj, Coord3D docPt) |
| Bool | isPolygonTriggerVisible (void) |
| Bool | isWaypointVisible (void) |
| Bool | isNamesVisible (void) |
| void | setShowModels (Bool show) |
| Bool | getShowModels (void) |
| Bool | getShowTerrain (void) |
| void | setShowGarrisoned (Bool show) |
| Bool | getShowGarrisoned (void) |
Protected Member Functions | |
| WbView3d () | |
| virtual void | OnDraw (CDC *pDC) |
| virtual | ~WbView3d () |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnPaint () |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
| afx_msg void | OnTimer (UINT nIDEvent) |
| afx_msg void | OnDestroy () |
| afx_msg void | OnShowWindow (BOOL bShow, UINT nStatus) |
| afx_msg void | OnViewShowwireframe () |
| afx_msg void | OnUpdateViewShowwireframe (CCmdUI *pCmdUI) |
| afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
| afx_msg void | OnViewShowentire3dmap () |
| afx_msg void | OnUpdateViewShowentire3dmap (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowtopdownview () |
| afx_msg void | OnUpdateViewShowtopdownview (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowclouds () |
| afx_msg void | OnUpdateViewShowclouds (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowmacrotexture () |
| afx_msg void | OnUpdateViewShowmacrotexture (CCmdUI *pCmdUI) |
| afx_msg void | OnEditSelectmacrotexture () |
| afx_msg void | OnViewShowshadows () |
| afx_msg void | OnUpdateViewShowshadows (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowSoftWater () |
| afx_msg void | OnUpdateViewShowSoftWater (CCmdUI *pCmdUI) |
| afx_msg void | OnViewExtraBlends () |
| afx_msg void | OnUpdateViewShowExtraBlends (CCmdUI *pCmdUI) |
| afx_msg void | OnEditShadows () |
| afx_msg void | OnEditMapSettings () |
| afx_msg void | OnViewShowimpassableareas () |
| afx_msg void | OnUpdateViewShowimpassableareas (CCmdUI *pCmdUI) |
| afx_msg void | OnImpassableAreaOptions () |
| afx_msg void | OnViewPartialmapsize96x96 () |
| afx_msg void | OnUpdateViewPartialmapsize96x96 (CCmdUI *pCmdUI) |
| afx_msg void | OnViewPartialmapsize192x192 () |
| afx_msg void | OnUpdateViewPartialmapsize192x192 (CCmdUI *pCmdUI) |
| afx_msg void | OnViewPartialmapsize160x160 () |
| afx_msg void | OnUpdateViewPartialmapsize160x160 (CCmdUI *pCmdUI) |
| afx_msg void | OnViewPartialmapsize128x128 () |
| afx_msg void | OnUpdateViewPartialmapsize128x128 (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowModels () |
| afx_msg void | OnUpdateViewShowModels (CCmdUI *pCmdUI) |
| afx_msg void | OnViewBoundingBoxes () |
| afx_msg void | OnUpdateViewBoundingBoxes (CCmdUI *pCmdUI) |
| afx_msg void | OnViewSightRanges () |
| afx_msg void | OnUpdateViewSightRanges (CCmdUI *pCmdUI) |
| afx_msg void | OnViewWeaponRanges () |
| afx_msg void | OnUpdateViewWeaponRanges (CCmdUI *pCmdUI) |
| afx_msg void | OnHighlightTestArt () |
| afx_msg void | OnUpdateHighlightTestArt (CCmdUI *pCmdUI) |
| afx_msg void | OnShowLetterbox () |
| afx_msg void | OnUpdateShowLetterbox (CCmdUI *pCmdUI) |
| afx_msg void | OnViewLayersList () |
| afx_msg void | OnUpdateViewLayersList (CCmdUI *pCmdUI) |
| afx_msg void | OnViewGarrisoned () |
| afx_msg void | OnUpdateViewGarrisoned (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowMapBoundaries () |
| afx_msg void | OnUpdateViewShowMapBoundaries (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowAmbientSounds () |
| afx_msg void | OnUpdateViewShowAmbientSounds (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowSoundCircles () |
| afx_msg void | OnUpdateViewShowSoundCircles (CCmdUI *pCmdUI) |
| UINT | getLastDrawTime () |
| void | init3dScene () |
| void | initAssets () |
| void | initWW3D () |
| void | drawCircle (HDC hdc, const Coord3D ¢erPoint, Real radius, COLORREF color) |
| Draw a (not very good) circle into the hdc. | |
| void | drawLabels (HDC hdc) |
| This is actually draw any 2d graphics and/or feedback. | |
| void | drawLabels (void) |
| void | shutdownWW3D () |
| void | killTheTimer () |
| void | render () |
| void | setupCamera () |
| void | updateHysteresis (void) |
| void | updateLights () |
| void | updateScorches () |
| void | updateTrees () |
Protected Member Functions inherited from WbView | |
| WbView () | |
| void | mouseDown (TTrackingMode m, CPoint viewPt) |
| void | mouseMove (TTrackingMode m, CPoint viewPt) |
| void | mouseUp (TTrackingMode m, CPoint viewPt) |
| void | constrainCenterPt () |
| WorldHeightMapEdit * | getTrackingHeightMap () |
| virtual | ~WbView () |
| afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnMButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnMButtonDown (UINT nFlags, CPoint point) |
| afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
| afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
| afx_msg void | OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags) |
| afx_msg void | OnEditDelete () |
| afx_msg void | OnEditCopy () |
| afx_msg void | OnUpdateEditCopy (CCmdUI *pCmdUI) |
| afx_msg void | OnEditCut () |
| afx_msg void | OnUpdateEditCut (CCmdUI *pCmdUI) |
| afx_msg void | OnEditPaste () |
| afx_msg void | OnUpdateEditPaste (CCmdUI *pCmdUI) |
| afx_msg void | OnViewSnaptogrid () |
| afx_msg void | OnUpdateViewSnaptogrid (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowObjects () |
| afx_msg void | OnUpdateViewShowObjects (CCmdUI *pCmdUI) |
| afx_msg void | OnEditSelectdup () |
| afx_msg void | OnEditSelectsimilar () |
| afx_msg void | OnEditSelectinvalidteam () |
| afx_msg void | OnEditReplace () |
| afx_msg void | OnObjectpropertiesReflectsinmirror () |
| afx_msg void | OnLockHorizontal () |
| afx_msg void | OnUpdateLockHorizontal (CCmdUI *pCmdUI) |
| afx_msg void | OnLockVertical () |
| afx_msg void | OnUpdateLockVertical (CCmdUI *pCmdUI) |
| afx_msg void | OnEditGloballightoptions () |
| afx_msg void | OnViewShowwaypoints () |
| afx_msg void | OnUpdateViewShowwaypoints (CCmdUI *pCmdUI) |
| afx_msg void | OnViewShowpolygontriggers () |
| afx_msg void | OnUpdateViewShowpolygontriggers (CCmdUI *pCmdUI) |
| afx_msg void | OnEditPlayerlist () |
| afx_msg void | OnEditWorldinfo () |
| afx_msg void | OnEditTeamlist () |
| afx_msg void | OnUpdateObjectpropertiesReflectsinmirror (CCmdUI *pCmdUI) |
| afx_msg void | OnPickStructures () |
| afx_msg void | OnUpdatePickStructures (CCmdUI *pCmdUI) |
| afx_msg void | OnPickInfantry () |
| afx_msg void | OnUpdatePickInfantry (CCmdUI *pCmdUI) |
| afx_msg void | OnPickVehicles () |
| afx_msg void | OnUpdatePickVehicles (CCmdUI *pCmdUI) |
| afx_msg void | OnPickShrubbery () |
| afx_msg void | OnUpdatePickShrubbery (CCmdUI *pCmdUI) |
| afx_msg void | OnPickManMade () |
| afx_msg void | OnUpdatePickManMade (CCmdUI *pCmdUI) |
| afx_msg void | OnPickNatural () |
| afx_msg void | OnUpdatePickNatural (CCmdUI *pCmdUI) |
| afx_msg void | OnPickDebris () |
| afx_msg void | OnUpdatePickDebris (CCmdUI *pCmdUI) |
| afx_msg void | OnPickAnything () |
| afx_msg void | OnUpdatePickAnything (CCmdUI *pCmdUI) |
| afx_msg void | OnPickWaypoints () |
| afx_msg void | OnUpdatePickWaypoints (CCmdUI *pCmdUI) |
| afx_msg void | OnPickRoads () |
| afx_msg void | OnUpdatePickRoads (CCmdUI *pCmdUI) |
| afx_msg void | OnPickSounds () |
| afx_msg void | OnUpdatePickSounds (CCmdUI *pCmdUI) |
| afx_msg void | OnShowNames () |
| afx_msg void | OnUpdateShowNames (CCmdUI *pCmdUI) |
| afx_msg void | OnValidationFixTeams () |
| afx_msg void | OnShowTerrain () |
| afx_msg void | OnUpdateShowTerrain (CCmdUI *pCmdUI) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpcs) |
Additional Inherited Members | |
Protected Attributes inherited from WbView | |
| TTrackingMode | m_trackingMode |
| Vector3 | m_centerPt |
| Bool | m_showObjects |
| Flag whether object icons are drawn in the 2d and 3d view. | |
| Bool | m_showModels |
| Flag whether models are drawn in the 2d and 3d view. | |
| Bool | m_showNames |
| Flag whether names are drawn in the 2d and 3d view. | |
| Bool | m_showGarrisoned |
| Bool | m_showWaypoints |
| Bool | m_showPolygonTriggers |
| Bool | m_showTerrain |
| Flag whether terrain is rendered or not. (Useful for debugging) | |
| Real | m_hysteresis |
| Bool | m_lockAngle |
| Reflects the ui button. | |
| Bool | m_doLockAngle |
| True if we are currently locking. | |
| CPoint | m_mouseDownPoint |
| Coord3D | m_mouseDownDocPoint |
| RECT | m_feedbackBox |
| Bool | m_doRectFeedback |
| int | m_doRulerFeedback |
| Coord3D | m_rulerPoints [2] |
| Real | m_rulerLength |
| Coord3D | m_lightDirection [3] |
| Bool | m_doLightFeedback |
| EditorSortingType | m_pickConstraint |
Static Protected Attributes inherited from WbView | |
| static Bool | m_snapToGrid = false |
Definition at line 63 of file wbview3d.h.
|
protected |
Definition at line 372 of file wbview3d.cpp.
|
protectedvirtual |
Definition at line 444 of file wbview3d.cpp.
Reimplemented from WbView.
Definition at line 1982 of file wbview3d.cpp.
|
protected |
Draw a (not very good) circle into the hdc.
Definition at line 2370 of file wbview3d.cpp.
|
protected |
This is actually draw any 2d graphics and/or feedback.
Definition at line 2419 of file wbview3d.cpp.
|
protected |
Definition at line 2411 of file wbview3d.cpp.
|
inline |
Definition at line 272 of file wbview3d.h.
| AsciiString WbView3d::getBestModelName | ( | const ThingTemplate * | tt, |
| const ModelConditionFlags & | c ) |
Definition at line 1117 of file wbview3d.cpp.
|
inline |
Definition at line 271 of file wbview3d.h.
| Real WbView3d::getCameraPitch | ( | void | ) |
Definition at line 2774 of file wbview3d.cpp.
|
inline |
Definition at line 269 of file wbview3d.h.
|
inline |
Definition at line 270 of file wbview3d.h.
| Real WbView3d::getCurrentZoom | ( | void | ) |
Definition at line 2781 of file wbview3d.cpp.
|
inline |
Definition at line 288 of file wbview3d.h.
|
inline |
Definition at line 268 of file wbview3d.h.
|
inline |
Definition at line 319 of file wbview3d.h.
|
inlineprotected |
Definition at line 324 of file wbview3d.h.
| AsciiString WbView3d::getModelNameAndScale | ( | MapObject * | pMapObj, |
| Real * | scale, | ||
| BodyDamageType | curDamageState ) |
Definition at line 1249 of file wbview3d.cpp.
|
inlinevirtual |
Reimplemented from WbView.
Definition at line 292 of file wbview3d.h.
|
inline |
Definition at line 308 of file wbview3d.h.
|
inline |
Definition at line 313 of file wbview3d.h.
|
inline |
Definition at line 321 of file wbview3d.h.
|
inline |
Definition at line 307 of file wbview3d.h.
|
inline |
Definition at line 315 of file wbview3d.h.
| Bool WbView3d::getShowTerrain | ( | ) |
|
inline |
Definition at line 317 of file wbview3d.h.
|
inline |
Definition at line 325 of file wbview3d.h.
|
protected |
Definition at line 764 of file wbview3d.cpp.
|
protected |
Definition at line 607 of file wbview3d.cpp.
|
protected |
<set to 0xff to make collision boxes visible
< this makes text look good :)
Definition at line 2230 of file wbview3d.cpp.
| void WbView3d::invalBuildListItemInView | ( | BuildListInfo * | pBuild | ) |
Invalidates an build list object.
Definition at line 1138 of file wbview3d.cpp.
|
virtual |
Invalidates the area of one height map cell in the 2d view.
Reimplemented from WbView.
Definition at line 1049 of file wbview3d.cpp.
|
virtual |
Invalidates an object. Pass NULL to inval all objects.
Reimplemented from WbView.
Definition at line 1351 of file wbview3d.cpp.
|
inlinevirtual |
Reimplemented from WbView.
Definition at line 311 of file wbview3d.h.
|
protected |
Definition at line 581 of file wbview3d.cpp.
|
protected |
Definition at line 2323 of file wbview3d.cpp.
|
protected |
Definition at line 2815 of file wbview3d.cpp.
|
protectedvirtual |
Reimplemented from WbView.
Definition at line 2207 of file wbview3d.cpp.
|
protected |
Definition at line 2981 of file wbview3d.cpp.
|
protected |
Definition at line 2912 of file wbview3d.cpp.
|
protected |
Definition at line 2991 of file wbview3d.cpp.
|
protected |
Definition at line 2856 of file wbview3d.cpp.
|
protected |
Definition at line 3056 of file wbview3d.cpp.
|
protected |
Definition at line 3116 of file wbview3d.cpp.
Definition at line 2652 of file wbview3d.cpp.
|
protected |
Definition at line 2350 of file wbview3d.cpp.
|
protected |
Definition at line 3071 of file wbview3d.cpp.
Definition at line 2822 of file wbview3d.cpp.
|
protected |
Definition at line 2645 of file wbview3d.cpp.
|
protected |
Definition at line 2806 of file wbview3d.cpp.
|
protected |
Definition at line 3064 of file wbview3d.cpp.
|
protected |
Definition at line 3077 of file wbview3d.cpp.
|
protected |
Definition at line 3021 of file wbview3d.cpp.
|
protected |
Definition at line 3090 of file wbview3d.cpp.
|
protected |
Definition at line 3210 of file wbview3d.cpp.
|
protected |
Definition at line 3193 of file wbview3d.cpp.
|
protected |
Definition at line 3177 of file wbview3d.cpp.
|
protected |
Definition at line 3161 of file wbview3d.cpp.
|
protected |
Definition at line 3145 of file wbview3d.cpp.
|
protected |
Definition at line 3235 of file wbview3d.cpp.
|
protected |
Definition at line 2896 of file wbview3d.cpp.
|
protected |
Definition at line 2872 of file wbview3d.cpp.
|
protected |
Definition at line 2976 of file wbview3d.cpp.
|
protected |
Definition at line 3107 of file wbview3d.cpp.
|
protected |
Definition at line 2907 of file wbview3d.cpp.
|
protected |
Definition at line 3222 of file wbview3d.cpp.
|
protected |
Definition at line 3007 of file wbview3d.cpp.
|
protected |
Definition at line 2944 of file wbview3d.cpp.
|
protected |
Definition at line 2961 of file wbview3d.cpp.
|
protected |
Definition at line 3248 of file wbview3d.cpp.
|
protected |
Definition at line 2885 of file wbview3d.cpp.
|
protected |
Definition at line 2850 of file wbview3d.cpp.
|
protected |
Definition at line 3036 of file wbview3d.cpp.
|
protected |
Definition at line 3050 of file wbview3d.cpp.
|
protected |
Definition at line 3013 of file wbview3d.cpp.
|
protected |
Definition at line 2966 of file wbview3d.cpp.
|
protected |
Definition at line 3083 of file wbview3d.cpp.
|
protected |
Definition at line 3198 of file wbview3d.cpp.
|
protected |
Definition at line 3182 of file wbview3d.cpp.
|
protected |
Definition at line 3166 of file wbview3d.cpp.
|
protected |
Definition at line 3150 of file wbview3d.cpp.
|
protected |
Definition at line 3134 of file wbview3d.cpp.
|
protected |
Definition at line 3228 of file wbview3d.cpp.
|
protected |
Definition at line 2890 of file wbview3d.cpp.
|
protected |
Definition at line 2863 of file wbview3d.cpp.
|
protected |
Definition at line 3095 of file wbview3d.cpp.
|
protected |
Definition at line 2901 of file wbview3d.cpp.
|
protected |
Definition at line 3215 of file wbview3d.cpp.
|
protected |
Definition at line 3000 of file wbview3d.cpp.
|
protected |
Definition at line 2921 of file wbview3d.cpp.
|
protected |
Definition at line 2949 of file wbview3d.cpp.
|
protected |
Definition at line 3240 of file wbview3d.cpp.
|
protected |
Definition at line 2877 of file wbview3d.cpp.
|
protected |
Definition at line 2844 of file wbview3d.cpp.
|
protected |
Definition at line 3028 of file wbview3d.cpp.
|
protected |
Definition at line 3042 of file wbview3d.cpp.
|
virtual |
Returns true if the pixel location picks the object.
Reimplemented from WbView.
Definition at line 1625 of file wbview3d.cpp.
|
virtual |
Returns true if the pixel location picks the object.
Reimplemented from WbView.
Definition at line 1655 of file wbview3d.cpp.
|
virtual |
Reimplemented from WbView.
Definition at line 2754 of file wbview3d.cpp.
|
virtual |
Reacquire all resources after device reset.
Reallocates all W3D assets after a reset..
Implements DX8_CleanupHook.
Definition at line 538 of file wbview3d.cpp.
| void WbView3d::redraw | ( | void | ) |
Definition at line 2021 of file wbview3d.cpp.
|
virtual |
Release all dx8 resources so the device can be reset.
Releases all w3d assets, to prepare for Reset device call.
Implements DX8_CleanupHook.
Definition at line 519 of file wbview3d.cpp.
| void WbView3d::removeFenceListObjects | ( | MapObject * | pObject | ) |
Definition at line 1101 of file wbview3d.cpp.
|
protected |
Definition at line 2074 of file wbview3d.cpp.
Closes & reinitializes w3d.
Definition at line 590 of file wbview3d.cpp.
| void WbView3d::resetRenderObjects | ( | ) |
Removes all render objects. Call when swithing to a new map.
Definition at line 805 of file wbview3d.cpp.
|
virtual |
Reimplemented from WbView.
Definition at line 2744 of file wbview3d.cpp.
Scrolls the window by this amount.
Scrolls the window.
Reimplemented from WbView.
Definition at line 2832 of file wbview3d.cpp.
| void WbView3d::setCameraPitch | ( | Real | absolutePitch | ) |
Definition at line 2764 of file wbview3d.cpp.
Set the center for display.
Reimplemented from WbView.
Definition at line 1607 of file wbview3d.cpp.
|
virtual |
Reimplemented from WbView.
Definition at line 2684 of file wbview3d.cpp.
|
inline |
Definition at line 318 of file wbview3d.h.
| void WbView3d::setLighting | ( | const GlobalData::TerrainLighting * | tl, |
| Int | whichLighting, | ||
| Int | whichLight = 0 ) |
Definition at line 875 of file wbview3d.cpp.
Definition at line 343 of file wbview3d.cpp.
|
inline |
Definition at line 312 of file wbview3d.h.
|
inline |
Definition at line 320 of file wbview3d.h.
|
inline |
Definition at line 314 of file wbview3d.h.
|
inline |
Definition at line 316 of file wbview3d.h.
|
protected |
Definition at line 633 of file wbview3d.cpp.
|
inline |
Definition at line 305 of file wbview3d.h.
|
protected |
Definition at line 459 of file wbview3d.cpp.
| void WbView3d::stepTimeOfDay | ( | void | ) |
Definition at line 864 of file wbview3d.cpp.
|
inline |
Definition at line 310 of file wbview3d.h.
| void WbView3d::updateFenceListObjects | ( | MapObject * | pObject | ) |
Definition at line 1055 of file wbview3d.cpp.
|
virtual |
Update the height map in the 3d window.
Reimplemented from WbView.
Definition at line 1564 of file wbview3d.cpp.
|
protected |
Definition at line 1883 of file wbview3d.cpp.
|
protected |
Definition at line 910 of file wbview3d.cpp.
|
protected |
Definition at line 996 of file wbview3d.cpp.
|
protected |
Definition at line 1015 of file wbview3d.cpp.
Reimplemented from WbView.
Definition at line 1699 of file wbview3d.cpp.
Reimplemented from WbView.
Definition at line 1829 of file wbview3d.cpp.