Starshatter_Open
Open source Starshatter engine
|
#include <MagicView.h>
Public Member Functions | |
MagicDoc * | GetDocument () |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
virtual void | OnInitialUpdate () |
virtual | ~MagicView () |
virtual void | OnEnterSizeMove () |
virtual void | OnExitSizeMove () |
virtual void | ResizeVideo () |
virtual CPoint | LPtoWP (const CPoint &p) |
Static Public Member Functions | |
static MagicView * | GetInstance () |
Protected Types | |
enum | VIEW_MODE { VIEW_TOP = 0, VIEW_PERSPECTIVE = 1, VIEW_SIDE = 2, VIEW_FRONT = 3, VIEW_ALL = 4, VIEW_UV_MAP = 5 } |
Protected Member Functions | |
MagicView () | |
virtual void | OnDraw (CDC *pDC) |
virtual void | OnUpdate (CView *pSender, LPARAM lHint, CObject *pHint) |
virtual void | SetupModelViews () |
virtual void | SetFocusModelView (int f) |
virtual int | GetWinIndexByPoint (int x, int y) |
ModelView * | GetModelViewByIndex (int index) |
bool | IsUVEdit () const |
void | CloseUVEditor () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnRender () |
afx_msg void | OnPaint () |
afx_msg void | OnViewAll () |
afx_msg void | OnUpdateViewAll (CCmdUI *pCmdUI) |
afx_msg void | OnViewFront () |
afx_msg void | OnUpdateViewFront (CCmdUI *pCmdUI) |
afx_msg void | OnViewPerspective () |
afx_msg void | OnUpdateViewPerspective (CCmdUI *pCmdUI) |
afx_msg void | OnViewSide () |
afx_msg void | OnUpdateViewSide (CCmdUI *pCmdUI) |
afx_msg void | OnViewTop () |
afx_msg void | OnUpdateViewTop (CCmdUI *pCmdUI) |
afx_msg void | OnTextureMap () |
afx_msg void | OnModifyMaterial () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnViewZoomNormal () |
afx_msg void | OnViewZoomIn () |
afx_msg void | OnViewZoomOut () |
afx_msg void | OnViewModeWireframe () |
afx_msg void | OnViewModeSolid () |
afx_msg void | OnViewModeTextured () |
afx_msg void | OnRButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnGridProperties () |
afx_msg void | OnGridShow () |
afx_msg void | OnGridSnap () |
afx_msg void | OnUpdateGridSnap (CCmdUI *pCmdUI) |
afx_msg void | OnViewBackColor () |
afx_msg void | OnFileImport () |
afx_msg void | OnFileExport () |
afx_msg void | OnSelectAll () |
afx_msg void | OnSelectNone () |
afx_msg void | OnUpdateTextureMap (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateModifyMaterial (CCmdUI *pCmdUI) |
afx_msg void | OnSelectInverse () |
afx_msg void | OnModifyUVMap () |
afx_msg void | OnUpdateModifyUVMap (CCmdUI *pCmdUI) |
afx_msg void | OnViewShadows () |
afx_msg void | OnUpdateViewShadows (CCmdUI *pCmdUI) |
afx_msg void | OnViewAnimatelight () |
afx_msg void | OnUpdateViewAnimatelight (CCmdUI *pCmdUI) |
afx_msg void | OnViewBumpmaps () |
afx_msg void | OnUpdateViewBumpmaps (CCmdUI *pCmdUI) |
afx_msg void | OnViewVertexshader () |
afx_msg void | OnUpdateViewVertexshader (CCmdUI *pCmdUI) |
afx_msg void | OnViewPixelshader () |
afx_msg void | OnUpdateViewPixelshader (CCmdUI *pCmdUI) |
afx_msg void | OnViewVisibleshadows () |
afx_msg void | OnUpdateViewVisibleshadows (CCmdUI *pCmdUI) |
afx_msg void | OnEditUndo () |
afx_msg void | OnUpdateEditUndo (CCmdUI *pCmdUI) |
afx_msg void | OnEditRedo () |
afx_msg void | OnUpdateEditRedo (CCmdUI *pCmdUI) |
afx_msg void | OnSurfaceProperties () |
afx_msg void | OnUpdateSurfaceProperties (CCmdUI *pCmdUI) |
Protected Attributes | |
Video * | video |
VideoSettings * | video_settings |
Screen * | screen |
RECT | client_rect |
DWORD | window_style |
bool | is_minimized |
bool | is_maximized |
bool | is_sizing |
Grid * | grid |
Scene * | scene |
Light * | main_light |
Light * | back_light |
ActiveWindow * | main_win |
ActiveWindow * | view_win [4] |
ModelView * | model_view [4] |
ActiveWindow * | uvmap_win |
UVMapView * | uvmap_view |
int | view_mode |
int | view_focus |
bool | drag_left |
bool | drag_right |
CPoint | drag_start |
bool | view_bumpmaps |
bool | view_shadows |
bool | animate_light |
Definition at line 38 of file MagicView.h.
|
protected |
Definition at line 106 of file MagicView.h.
|
protected |
Definition at line 134 of file MagicView.cpp.
|
virtual |
Definition at line 163 of file MagicView.cpp.
|
protected |
Definition at line 692 of file MagicView.cpp.
|
inline |
Definition at line 192 of file MagicView.h.
|
static |
Definition at line 182 of file MagicView.cpp.
|
protected |
Definition at line 499 of file MagicView.cpp.
|
protectedvirtual |
Definition at line 481 of file MagicView.cpp.
|
inlineprotected |
Definition at line 120 of file MagicView.h.
|
virtual |
Definition at line 589 of file MagicView.cpp.
|
protectedvirtual |
Definition at line 516 of file MagicView.cpp.
|
protected |
Definition at line 1406 of file MagicView.cpp.
|
protected |
Definition at line 1373 of file MagicView.cpp.
|
virtual |
Definition at line 606 of file MagicView.cpp.
|
virtual |
Definition at line 611 of file MagicView.cpp.
|
protected |
Definition at line 802 of file MagicView.cpp.
|
protected |
Definition at line 775 of file MagicView.cpp.
|
protected |
Definition at line 920 of file MagicView.cpp.
|
protected |
Definition at line 926 of file MagicView.cpp.
|
protected |
Definition at line 932 of file MagicView.cpp.
|
virtual |
Definition at line 217 of file MagicView.cpp.
|
protected |
Definition at line 1004 of file MagicView.cpp.
|
protected |
Definition at line 946 of file MagicView.cpp.
|
protected |
Definition at line 987 of file MagicView.cpp.
|
protected |
Definition at line 880 of file MagicView.cpp.
|
protected |
Definition at line 896 of file MagicView.cpp.
|
protected |
Definition at line 1064 of file MagicView.cpp.
|
protected |
Definition at line 1127 of file MagicView.cpp.
|
protected |
Definition at line 510 of file MagicView.cpp.
|
protected |
Definition at line 1042 of file MagicView.cpp.
|
protected |
Definition at line 1020 of file MagicView.cpp.
|
protected |
Definition at line 1034 of file MagicView.cpp.
|
protected |
Definition at line 659 of file MagicView.cpp.
|
protected |
Definition at line 1254 of file MagicView.cpp.
|
protected |
Definition at line 1284 of file MagicView.cpp.
|
protected |
Definition at line 1269 of file MagicView.cpp.
|
protected |
Definition at line 617 of file MagicView.cpp.
|
protected |
Definition at line 830 of file MagicView.cpp.
|
protected |
Definition at line 844 of file MagicView.cpp.
|
protectedvirtual |
Definition at line 569 of file MagicView.cpp.
|
protected |
Definition at line 1425 of file MagicView.cpp.
|
protected |
Definition at line 1392 of file MagicView.cpp.
|
protected |
Definition at line 938 of file MagicView.cpp.
|
protected |
Definition at line 890 of file MagicView.cpp.
|
protected |
Definition at line 913 of file MagicView.cpp.
|
protected |
Definition at line 836 of file MagicView.cpp.
|
protected |
Definition at line 872 of file MagicView.cpp.
|
protected |
Definition at line 715 of file MagicView.cpp.
|
protected |
Definition at line 1317 of file MagicView.cpp.
|
protected |
Definition at line 1330 of file MagicView.cpp.
|
protected |
Definition at line 728 of file MagicView.cpp.
|
protected |
Definition at line 741 of file MagicView.cpp.
|
protected |
Definition at line 1357 of file MagicView.cpp.
|
protected |
Definition at line 1307 of file MagicView.cpp.
|
protected |
Definition at line 754 of file MagicView.cpp.
|
protected |
Definition at line 767 of file MagicView.cpp.
|
protected |
Definition at line 1343 of file MagicView.cpp.
|
protected |
Definition at line 1368 of file MagicView.cpp.
|
protected |
Definition at line 708 of file MagicView.cpp.
|
protected |
Definition at line 1312 of file MagicView.cpp.
|
protected |
Definition at line 1235 of file MagicView.cpp.
|
protected |
Definition at line 1322 of file MagicView.cpp.
|
protected |
Definition at line 721 of file MagicView.cpp.
|
protected |
Definition at line 1217 of file MagicView.cpp.
|
protected |
Definition at line 1226 of file MagicView.cpp.
|
protected |
Definition at line 1208 of file MagicView.cpp.
|
protected |
Definition at line 734 of file MagicView.cpp.
|
protected |
Definition at line 1349 of file MagicView.cpp.
|
protected |
Definition at line 1299 of file MagicView.cpp.
|
protected |
Definition at line 747 of file MagicView.cpp.
|
protected |
Definition at line 760 of file MagicView.cpp.
|
protected |
Definition at line 1335 of file MagicView.cpp.
|
protected |
Definition at line 1363 of file MagicView.cpp.
|
protected |
Definition at line 1182 of file MagicView.cpp.
|
protected |
Definition at line 1171 of file MagicView.cpp.
|
protected |
Definition at line 1194 of file MagicView.cpp.
|
virtual |
Definition at line 187 of file MagicView.cpp.
|
virtual |
Definition at line 522 of file MagicView.cpp.
|
protectedvirtual |
Definition at line 429 of file MagicView.cpp.
|
protectedvirtual |
Definition at line 358 of file MagicView.cpp.
|
protected |
Definition at line 104 of file MagicView.h.
|
protected |
Definition at line 90 of file MagicView.h.
|
protected |
Definition at line 81 of file MagicView.h.
|
protected |
Definition at line 98 of file MagicView.h.
|
protected |
Definition at line 99 of file MagicView.h.
|
protected |
Definition at line 100 of file MagicView.h.
|
protected |
Definition at line 87 of file MagicView.h.
|
protected |
Definition at line 84 of file MagicView.h.
|
protected |
Definition at line 83 of file MagicView.h.
|
protected |
Definition at line 85 of file MagicView.h.
|
protected |
Definition at line 89 of file MagicView.h.
|
protected |
Definition at line 91 of file MagicView.h.
|
protected |
Definition at line 93 of file MagicView.h.
|
protected |
Definition at line 88 of file MagicView.h.
|
protected |
Definition at line 80 of file MagicView.h.
|
protected |
Definition at line 95 of file MagicView.h.
|
protected |
Definition at line 94 of file MagicView.h.
|
protected |
Definition at line 78 of file MagicView.h.
|
protected |
Definition at line 79 of file MagicView.h.
|
protected |
Definition at line 102 of file MagicView.h.
|
protected |
Definition at line 97 of file MagicView.h.
|
protected |
Definition at line 96 of file MagicView.h.
|
protected |
Definition at line 103 of file MagicView.h.
|
protected |
Definition at line 92 of file MagicView.h.
|
protected |
Definition at line 82 of file MagicView.h.