#include <VisualizeView.h>

Public Member Functions

HVisualizeViewGetSolidView ()
 
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

 CVisualizeView ()
 
virtual void OnActivateView (BOOL bActivate, CView *pActivateView, CView *pDeactiveView)
 
virtual ~CVisualizeView ()
 
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 OnSelectionDeleteselection ()
 
afx_msg void OnUpdateSelectionDeleteselection (CCmdUI *pCmdUI)
 
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 OnCreateSphere ()
 
afx_msg void OnBuildLODS ()
 Create Levels of Detail for the model. More...
 
afx_msg void OnLOD1 ()
 Clamp to LOD level 1. More...
 
afx_msg void OnLOD2 ()
 Clamp to LOD level 2. More...
 
afx_msg void OnLODOriginal ()
 Draw the original, full resolution model. More...
 
afx_msg void OnEnableFramerate ()
 Enable constant framerate logic. More...
 
afx_msg void OnDisableFramerate ()
 Disable constant framerate logic. More...
 
afx_msg void OnUpdateCreateSphere (CCmdUI *pCmdUI)
 
afx_msg void OnCreateCone ()
 
afx_msg void OnCreateCylinder ()
 
afx_msg void OnUpdateCreateCone (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateCreateCylinder (CCmdUI *pCmdUI)
 
afx_msg void OnTimer (UINT nIDEvent)
 
afx_msg void OnWalkOperator ()
 Set the current operator to HOpCameraWalk. More...
 
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 OnLButtonDown (UINT nFlags, CPoint point)
 
virtual afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
virtual afx_msg void OnMouseMove (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 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)
 

Static Protected Member Functions

static void event_checker (HIC_Rendition const *nr)
 
- Static Protected Member Functions inherited from CHoopsView
static bool GetKeyState (unsigned int key, int &flags)
 

Static Protected Attributes

static CVisualizeViewpThisView
 

Additional Inherited Members

- 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

CVisualizeView::CVisualizeView ( )
protected
virtual CVisualizeView::~CVisualizeView ( )
protectedvirtual

Member Function Documentation

static void CVisualizeView::event_checker ( HIC_Rendition const *  nr)
staticprotected
int CVisualizeView::FindMenuItem ( CMenu *  Menu,
LPCTSTR  MenuString 
)
protected
HVisualizeView* CVisualizeView::GetSolidView ( )
inline

References CHoopsView::m_pHView.

void CVisualizeView::load ( const char *  filename)
protected
void CVisualizeView::LoadFile ( LPCTSTR  csFilePathName)
void CVisualizeView::LocalSetOperator ( HBaseOperator NewOperator)
virtual void CVisualizeView::OnActivateView ( BOOL  bActivate,
CView *  pActivateView,
CView *  pDeactiveView 
)
protectedvirtual
afx_msg void CVisualizeView::OnBuildLODS ( )
protected

Create Levels of Detail for the model.

afx_msg void CVisualizeView::OnCreateCone ( )
protected
afx_msg void CVisualizeView::OnCreateCylinder ( )
protected
afx_msg void CVisualizeView::OnCreateSphere ( )
protected
afx_msg void CVisualizeView::OnDisableFramerate ( )
protected

Disable constant framerate logic.

afx_msg void CVisualizeView::OnEnableFramerate ( )
protected

Enable constant framerate logic.

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

Reimplemented from CHoopsView.

afx_msg void CVisualizeView::OnLOD1 ( )
protected

Clamp to LOD level 1.

afx_msg void CVisualizeView::OnLOD2 ( )
protected

Clamp to LOD level 2.

afx_msg void CVisualizeView::OnLODOriginal ( )
protected

Draw the original, full resolution model.

afx_msg void CVisualizeView::OnOrbit ( )
protected
afx_msg void CVisualizeView::OnPan ( )
protected
afx_msg void CVisualizeView::OnSelectionDeleteselection ( )
protected
afx_msg void CVisualizeView::OnTimer ( UINT  nIDEvent)
protectedvirtual

Reimplemented from CHoopsView.

afx_msg void CVisualizeView::OnToolsRendermodeGouraudshaded ( )
protected
afx_msg void CVisualizeView::OnToolsRendermodeHiddenline ( )
protected
afx_msg void CVisualizeView::OnToolsRendermodeWireframe ( )
protected
afx_msg void CVisualizeView::OnUpdateCreateCone ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateCreateCylinder ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateCreateSphere ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateGouraud ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateHiddenLine ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateOrbit ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdatePan ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateSelectionDeleteselection ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateToolsRendermodeGouraudshaded ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateToolsRendermodeHiddenline ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateToolsRendermodeWireframe ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateWindowSelect ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateZoom ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateZoomToExtents ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnUpdateZoomToWindow ( CCmdUI *  pCmdUI)
protected
afx_msg void CVisualizeView::OnWalkOperator ( )
protected

Set the current operator to HOpCameraWalk.

afx_msg void CVisualizeView::OnWindowSelect ( )
protected
afx_msg void CVisualizeView::OnZoom ( )
protected
afx_msg void CVisualizeView::OnZoomToExtents ( )
protected
afx_msg void CVisualizeView::OnZoomToWindow ( )
protected
bool CVisualizeView::SaveFile ( LPCTSTR  csFilePathName)

Member Data Documentation

CVisualizeView* CVisualizeView::pThisView
staticprotected

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