#include <SoccerView.h>
Public Member Functions | |
HSoccerView * | GetSolidView () |
void | LocalSetOperator (HBaseOperator *NewOperator) |
void | LoadFile (LPCTSTR csFilePathName) |
bool | SaveFile (LPCTSTR csFilePathName) |
virtual void | OnInitialUpdate () |
![]() | |
CHoopsDoc * | GetDocument () |
HBaseView * | GetHoopsView (void) |
CPalette * | GetPalette () |
void | InitializePalette () |
bool | GetFastPrint (void) |
void | SetFastPrint (bool fastprint) |
bool | GetMetaPrint (void) |
void | SetMetaPrint (bool metaprint) |
int | GetMetafileType (void) |
void | SetMetafileType (int emf_or_wmf) |
bool | GetFirstUpdate () |
void | SetFirstUpdate (bool firstupdate) |
bool | GetClipboardTruecolor (void) |
void | SetClipboardTruecolor (bool truecolor) |
void | SaveEMF (const char *filename, HOutputHandlerOptions *options=0) |
HC_KEY | GetViewKey () |
HC_KEY | GetSceneKey () |
void | AdjustAxisWindow () |
virtual void | OnDraw (CDC *pDC) |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
virtual BOOL | Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL) |
Protected Member Functions | |
CSoccerView () | |
virtual void | OnActivateView (BOOL bActivate, CView *pActivateView, CView *pDeactiveView) |
virtual | ~CSoccerView () |
int | FindMenuItem (CMenu *Menu, LPCTSTR MenuString) |
afx_msg void | OnFileSaveAs () |
afx_msg void | OnZoom () |
afx_msg void | OnZoomToExtents () |
afx_msg void | OnZoomToWindow () |
afx_msg void | OnOrbit () |
afx_msg void | OnPan () |
afx_msg void | OnWindowSelect () |
afx_msg void | OnApertureSelect () |
afx_msg void | OnUpdateGouraud (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateHiddenLine (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateOrbit (CCmdUI *pCmdUI) |
afx_msg void | OnUpdatePan (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateWindowSelect (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateZoom (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateZoomToWindow (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateZoomToExtents (CCmdUI *pCmdUI) |
afx_msg void | OnToolsRendermodeGouraudshaded () |
afx_msg void | OnToolsRendermodeHiddenline () |
afx_msg void | OnToolsRendermodeWireframe () |
afx_msg void | OnUpdateToolsRendermodeWireframe (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateToolsRendermodeGouraudshaded (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateToolsRendermodeHiddenline (CCmdUI *pCmdUI) |
afx_msg void | OnCreateCone () |
afx_msg void | OnCreateCylinder () |
afx_msg void | OnCreateSphere () |
afx_msg void | OnCreateRectangle () |
afx_msg void | OnUpdateCreateCone (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateCreateCylinder (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateCreateSphere (CCmdUI *pCmdUI) |
afx_msg void | OnDeleteLayers () |
virtual afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
virtual afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
virtual afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
void | load (const char *filename) |
![]() | |
DECLARE_DYNCREATE (CHoopsView) | |
unsigned long | MapFlags (unsigned long state) |
unsigned long | MapKeyFlags (BYTE *virtual_key_state) |
virtual BOOL | OnPreparePrinting (CPrintInfo *pInfo) |
virtual void | OnBeginPrinting (CDC *pDC, CPrintInfo *pInfo) |
virtual void | OnEndPrinting (CDC *pDC, CPrintInfo *pInfo) |
virtual void | OnPrint (CDC *pDC, CPrintInfo *pInfo) |
virtual void | OnDisplayChanged (int xres, int yres, int depth) |
void | GetIntRectangle (HIntRectangle *rectangle) |
void | EditCopy (GDIExportInformation *pInfo) |
virtual afx_msg void | OnPaint () |
virtual afx_msg void | OnEditCopy () |
virtual afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
virtual afx_msg void | OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags) |
virtual afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
virtual afx_msg void | OnRButtonDblClk (UINT nFlags, CPoint point) |
virtual afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
virtual afx_msg void | OnMButtonUp (UINT nFlags, CPoint point) |
virtual afx_msg void | OnMButtonDown (UINT nFlags, CPoint point) |
virtual afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
virtual afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
virtual afx_msg void | OnTimer (UINT nIDEvent) |
virtual afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
virtual afx_msg LRESULT | OnAFXDisplayChange (WPARAM wparam, LPARAM lparam) |
virtual afx_msg BOOL | OnWndMsg (UINT message, WPARAM wParam, LPARAM lParam, LRESULT *pResult) |
Additional Inherited Members | |
![]() | |
static bool | GetKeyState (unsigned int key, int &flags) |
![]() | |
CPalette * | m_pViewPalette |
bool | m_bFastPrint |
bool | m_bUsingDI8Joystick |
bool | m_bMetaPrint |
bool | m_bClipboardTruecolor |
int | m_MetafileType |
HBaseView * | m_pHView |
HC_KEY | m_ViewKey |
HC_KEY | m_SceneKey |
|
protected |
|
protectedvirtual |
|
protected |
|
inline |
return a pointer to the HSoccerView object associated with this MFC view object
References CHoopsView::m_pHView.
|
protected |
utility function for file loading
void CSoccerView::LoadFile | ( | LPCTSTR | csFilePathName | ) |
Loads in a file
void CSoccerView::LocalSetOperator | ( | HBaseOperator * | NewOperator | ) |
Local utlility function to set the current operator
|
protectedvirtual |
|
protected |
Set the current operator to the HOpSelectAperture
|
protected |
Sets the current operator to HOpCreateCone
|
protected |
Sets the current operator to HOpCreateCylinder
|
protected |
Sets the current operator to HOpCreateRectangle
|
protected |
Sets the current operator to HOpCreateSphere
|
protected |
Delete the selected layers
|
protected |
|
virtual |
Reimplemented from CHoopsView.
|
protectedvirtual |
Reimplemented from CHoopsView.
|
protectedvirtual |
Reimplemented from CHoopsView.
|
protectedvirtual |
Reimplemented from CHoopsView.
|
protected |
Set the current operator to the HOpCameraOrbit
|
protected |
Set the current operator to the HOpCameraPan
|
protected |
Set rendermode to gouraud
|
protected |
Set rendermode to hidden line
|
protected |
Set rendermode to wireframe
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Set the current operator to the HOpSelectArea
|
protected |
Set the current operator to the HOpCameraZoom
|
protected |
Reset the camera to view the scene extents
|
protected |
Set the current operator to the HOpCameraZoomBox
bool CSoccerView::SaveFile | ( | LPCTSTR | csFilePathName | ) |
Saves a file