#include <wbview.h>
Inherits CView.
Inherited by CWorldBuilderView, and WbView3d.
Public Member Functions | |
| 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 Bool | viewToDocCoords (CPoint curPt, Coord3D *newPt, Bool constrained=true) |
| virtual Bool | docToViewCoords (Coord3D curPt, CPoint *newPt) |
| virtual Bool | viewToDocCoordZ (CPoint curPt, Coord3D *newPt, Real Z) |
| virtual void | setCenterInView (Real x, Real y) |
| Set the center for display. | |
| virtual void | updateHeightMapInView (WorldHeightMap *htMap, Bool partial, const IRegion2D &partialRange) |
| Update the height map in the 3d window. | |
| virtual void | adjustDocSize () |
| the doc has changed size; readjust view as necessary. | |
| virtual void | scrollInView (Real x, Real y, Bool end) |
| Scrolls the window by this amount. | |
| virtual void | invalObjectInView (MapObject *pObj) |
| Invalidates an object. Pass NULL to inval all objects. | |
| virtual void | invalidateCellInView (int xIndex, int yIndex) |
| Invalidates the area of one height map cell in the 2d view. | |
| virtual void | setDefaultCamera () |
| virtual void | rotateCamera (Real delta) |
| virtual void | pitchCamera (Real delta) |
| virtual Int | getPickPixels (void) |
| virtual EditorSortingType | GetPickConstraint (void) |
| CWorldBuilderDoc * | WbDoc () |
| void | snapPoint (Coord3D *thePt) |
| virtual TPickedStatus | picked (MapObject *pObj, Coord3D docPt) |
| virtual MapObject * | picked3dObjectInView (CPoint viewPt) |
| virtual BuildListInfo * | pickedBuildObjectInView (CPoint viewPt) |
| 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) |
| virtual Bool | isDoingPitch (void) |
Protected Member Functions | |
| WbView () | |
| void | mouseDown (TTrackingMode m, CPoint viewPt) |
| void | mouseMove (TTrackingMode m, CPoint viewPt) |
| void | mouseUp (TTrackingMode m, CPoint viewPt) |
| void | constrainCenterPt () |
| WorldHeightMapEdit * | getTrackingHeightMap () |
| virtual void | OnDraw (CDC *pDC) |
| 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) |
Protected Attributes | |
| 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 | |
| static Bool | m_snapToGrid = false |
|
protected |
Definition at line 51 of file wbview.cpp.
|
protectedvirtual |
Definition at line 74 of file wbview.cpp.
|
inlinevirtual |
the doc has changed size; readjust view as necessary.
Reimplemented in CWorldBuilderView.
|
protected |
Definition at line 434 of file wbview.cpp.
Reimplemented in CWorldBuilderView, and WbView3d.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
Definition at line 419 of file wbview.cpp.
|
inlinevirtual |
Invalidates the area of one height map cell in the 2d view.
Reimplemented in CWorldBuilderView, and WbView3d.
|
inlinevirtual |
Invalidates an object. Pass NULL to inval all objects.
Reimplemented in CWorldBuilderView, and WbView3d.
|
inlinevirtual |
|
protected |
Definition at line 178 of file wbview.cpp.
|
protected |
Definition at line 197 of file wbview.cpp.
|
protected |
Definition at line 317 of file wbview.cpp.
|
protected |
Definition at line 1079 of file wbview.cpp.
|
protectedvirtual |
Reimplemented in CWorldBuilderView, and WbView3d.
Definition at line 154 of file wbview.cpp.
|
protected |
Definition at line 505 of file wbview.cpp.
|
protected |
Definition at line 549 of file wbview.cpp.
|
protected |
Handles the delete menu action.
Definition at line 471 of file wbview.cpp.
|
protected |
Definition at line 755 of file wbview.cpp.
|
protected |
Definition at line 560 of file wbview.cpp.
|
protected |
Definition at line 789 of file wbview.cpp.
|
protected |
Definition at line 640 of file wbview.cpp.
|
protected |
Definition at line 621 of file wbview.cpp.
|
protected |
Definition at line 633 of file wbview.cpp.
|
protected |
Definition at line 627 of file wbview.cpp.
|
protected |
Definition at line 1071 of file wbview.cpp.
|
protected |
Definition at line 795 of file wbview.cpp.
Handles the key down event. Currently, handles delete keys, and checks for updates to the current tool.
Definition at line 488 of file wbview.cpp.
Handles the key up event. Currently, handles delete keys, and checks for updates to the current tool.
Definition at line 499 of file wbview.cpp.
|
protected |
Definition at line 369 of file wbview.cpp.
|
protected |
Definition at line 364 of file wbview.cpp.
|
protected |
Definition at line 729 of file wbview.cpp.
|
protected |
Definition at line 741 of file wbview.cpp.
|
protected |
Definition at line 379 of file wbview.cpp.
|
protected |
Definition at line 374 of file wbview.cpp.
|
protected |
Definition at line 349 of file wbview.cpp.
|
protected |
Definition at line 708 of file wbview.cpp.
|
protected |
Definition at line 882 of file wbview.cpp.
|
protected |
Definition at line 872 of file wbview.cpp.
|
protected |
Definition at line 822 of file wbview.cpp.
|
protected |
Definition at line 852 of file wbview.cpp.
|
protected |
Definition at line 862 of file wbview.cpp.
|
protected |
Definition at line 902 of file wbview.cpp.
|
protected |
Definition at line 842 of file wbview.cpp.
|
protected |
Definition at line 912 of file wbview.cpp.
|
protected |
Definition at line 812 of file wbview.cpp.
|
protected |
Definition at line 832 of file wbview.cpp.
|
protected |
Definition at line 892 of file wbview.cpp.
|
protected |
Definition at line 359 of file wbview.cpp.
|
protected |
Definition at line 354 of file wbview.cpp.
Standard window handler method for updating the cursor.
Definition at line 451 of file wbview.cpp.
|
protected |
Definition at line 922 of file wbview.cpp.
|
protected |
Definition at line 1053 of file wbview.cpp.
|
protected |
Definition at line 544 of file wbview.cpp.
|
protected |
Definition at line 555 of file wbview.cpp.
|
protected |
Definition at line 604 of file wbview.cpp.
|
protected |
Definition at line 735 of file wbview.cpp.
|
protected |
Definition at line 750 of file wbview.cpp.
|
protected |
Shows the selected status of the reflects in mirror flag.
Definition at line 679 of file wbview.cpp.
|
protected |
Definition at line 887 of file wbview.cpp.
|
protected |
Definition at line 877 of file wbview.cpp.
|
protected |
Definition at line 827 of file wbview.cpp.
|
protected |
Definition at line 857 of file wbview.cpp.
|
protected |
Definition at line 867 of file wbview.cpp.
|
protected |
Definition at line 907 of file wbview.cpp.
|
protected |
Definition at line 847 of file wbview.cpp.
|
protected |
Definition at line 917 of file wbview.cpp.
|
protected |
Definition at line 817 of file wbview.cpp.
|
protected |
Definition at line 837 of file wbview.cpp.
|
protected |
Definition at line 897 of file wbview.cpp.
|
protected |
Definition at line 934 of file wbview.cpp.
|
protected |
Definition at line 1065 of file wbview.cpp.
|
protected |
Sets the check in the menu to match the show objects flag.
Definition at line 599 of file wbview.cpp.
|
protected |
Definition at line 784 of file wbview.cpp.
|
protected |
Definition at line 773 of file wbview.cpp.
|
protected |
Definition at line 616 of file wbview.cpp.
|
protected |
Definition at line 939 of file wbview.cpp.
|
protected |
Toggles the show objects flag and invals the window.
Definition at line 587 of file wbview.cpp.
|
protected |
Definition at line 778 of file wbview.cpp.
|
protected |
Definition at line 766 of file wbview.cpp.
|
protected |
Definition at line 610 of file wbview.cpp.
|
virtual |
Returns true if the pixel location picks the object.
Definition at line 389 of file wbview.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Definition at line 1085 of file wbview.cpp.
Scrolls the window by this amount.
Reimplemented in CWorldBuilderView, and WbView3d.
Set the center for display.
Reimplemented in CWorldBuilderView, and WbView3d.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in CWorldBuilderView, and WbView3d.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |