#include <SoccerView.h>

Public Member Functions

HSoccerViewGetSolidView ()
 
void LocalSetOperator (HBaseOperator *NewOperator)
 
void LoadFile (LPCTSTR csFilePathName)
 
bool SaveFile (LPCTSTR csFilePathName)
 
virtual void OnInitialUpdate ()
 
- Public Member Functions inherited from CHoopsView
CHoopsDocGetDocument ()
 
HBaseViewGetHoopsView (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)
 
- Protected Member Functions inherited from CHoopsView
 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 Protected Member Functions inherited from CHoopsView
static bool GetKeyState (unsigned int key, int &flags)
 
- Protected Attributes inherited from CHoopsView
CPalette * m_pViewPalette
 
bool m_bFastPrint
 
bool m_bUsingDI8Joystick
 
bool m_bMetaPrint
 
bool m_bClipboardTruecolor
 
int m_MetafileType
 
HBaseViewm_pHView
 
HC_KEY m_ViewKey
 
HC_KEY m_SceneKey
 

Constructor & Destructor Documentation

CSoccerView::CSoccerView ( )
protected
virtual CSoccerView::~CSoccerView ( )
protectedvirtual

Member Function Documentation

int CSoccerView::FindMenuItem ( CMenu *  Menu,
LPCTSTR  MenuString 
)
protected
HSoccerView* CSoccerView::GetSolidView ( )
inline

return a pointer to the HSoccerView object associated with this MFC view object

References CHoopsView::m_pHView.

void CSoccerView::load ( const char *  filename)
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

virtual void CSoccerView::OnActivateView ( BOOL  bActivate,
CView *  pActivateView,
CView *  pDeactiveView 
)
protectedvirtual
afx_msg void CSoccerView::OnApertureSelect ( )
protected

Set the current operator to the HOpSelectAperture

afx_msg void CSoccerView::OnCreateCone ( )
protected

Sets the current operator to HOpCreateCone

afx_msg void CSoccerView::OnCreateCylinder ( )
protected

Sets the current operator to HOpCreateCylinder

afx_msg void CSoccerView::OnCreateRectangle ( )
protected

Sets the current operator to HOpCreateRectangle

afx_msg void CSoccerView::OnCreateSphere ( )
protected

Sets the current operator to HOpCreateSphere

afx_msg void CSoccerView::OnDeleteLayers ( )
protected

Delete the selected layers

afx_msg void CSoccerView::OnFileSaveAs ( )
protected
virtual void CSoccerView::OnInitialUpdate ( )
virtual

Reimplemented from CHoopsView.

virtual afx_msg void CSoccerView::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)
protectedvirtual

Reimplemented from CHoopsView.

virtual afx_msg void CSoccerView::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)
protectedvirtual

Reimplemented from CHoopsView.

virtual afx_msg void CSoccerView::OnMouseMove ( UINT  nFlags,
CPoint  point 
)
protectedvirtual

Reimplemented from CHoopsView.

afx_msg void CSoccerView::OnOrbit ( )
protected

Set the current operator to the HOpCameraOrbit

afx_msg void CSoccerView::OnPan ( )
protected

Set the current operator to the HOpCameraPan

afx_msg void CSoccerView::OnToolsRendermodeGouraudshaded ( )
protected

Set rendermode to gouraud

afx_msg void CSoccerView::OnToolsRendermodeHiddenline ( )
protected

Set rendermode to hidden line

afx_msg void CSoccerView::OnToolsRendermodeWireframe ( )
protected

Set rendermode to wireframe

afx_msg void CSoccerView::OnUpdateCreateCone ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateCreateCylinder ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateCreateSphere ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateGouraud ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateHiddenLine ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateOrbit ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdatePan ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateToolsRendermodeGouraudshaded ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateToolsRendermodeHiddenline ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateToolsRendermodeWireframe ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateWindowSelect ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateZoom ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateZoomToExtents ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnUpdateZoomToWindow ( CCmdUI *  pCmdUI)
protected
afx_msg void CSoccerView::OnWindowSelect ( )
protected

Set the current operator to the HOpSelectArea

afx_msg void CSoccerView::OnZoom ( )
protected

Set the current operator to the HOpCameraZoom

afx_msg void CSoccerView::OnZoomToExtents ( )
protected

Reset the camera to view the scene extents

afx_msg void CSoccerView::OnZoomToWindow ( )
protected

Set the current operator to the HOpCameraZoomBox

bool CSoccerView::SaveFile ( LPCTSTR  csFilePathName)

Saves a file


The documentation for this class was generated from the following file: