#include <SpheresView.h>

Public Member Functions

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

 CSpheresView ()
 
virtual void OnActivateView (BOOL bActivate, CView *pActivateView, CView *pDeactiveView)
 
virtual ~CSpheresView ()
 
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 OnAnnotate ()
 Activate the HOpMarkupAnnotate operator. More...
 
afx_msg void OnRotate ()
 Activete the HOpObjectRotate operator. More...
 
afx_msg void OnChangeMaterial ()
 change the material property of the selected objects More...
 
afx_msg void OnWindowSelect ()
 
afx_msg void OnUpdateShaded (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateHiddenLine (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateOrbit (CCmdUI *pCmdUI)
 
afx_msg void OnUpdatePan (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateRotate (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 OnToolsRendermodeShaded ()
 Set the render mode to smooth (gouraud) shading. More...
 
afx_msg void OnToolsRendermodePhongshaded ()
 Set the render mode to phong shading. More...
 
afx_msg void OnToolsRendermodeHiddenline ()
 Set the render mode to hidden line removal. More...
 
afx_msg void OnToolsRendermodeWireframe ()
 Set the render mode to wireframe. More...
 
afx_msg void OnUpdateToolsRendermodeWireframe (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateToolsRendermodeShaded (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateToolsRendermodeHiddenline (CCmdUI *pCmdUI)
 
afx_msg void OnCreateCone ()
 
afx_msg void OnCreateCylinder ()
 
afx_msg void OnCreateSphere ()
 
afx_msg void OnUpdateCreateCone (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateCreateCylinder (CCmdUI *pCmdUI)
 
afx_msg void OnUpdateCreateSphere (CCmdUI *pCmdUI)
 
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 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

CSpheresView::CSpheresView ( )
protected
virtual CSpheresView::~CSpheresView ( )
protectedvirtual

Member Function Documentation

int CSpheresView::FindMenuItem ( CMenu *  Menu,
LPCTSTR  MenuString 
)
protected
HSpheresView* CSpheresView::GetSolidView ( )
inline

References CHoopsView::m_pHView.

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

Activate the HOpMarkupAnnotate operator.

afx_msg void CSpheresView::OnChangeMaterial ( )
protected

change the material property of the selected objects

afx_msg void CSpheresView::OnCreateCone ( )
protected
afx_msg void CSpheresView::OnCreateCylinder ( )
protected
afx_msg void CSpheresView::OnCreateSphere ( )
protected
afx_msg void CSpheresView::OnFileSaveAs ( )
protected
virtual void CSpheresView::OnInitialUpdate ( )
virtual

Reimplemented from CHoopsView.

afx_msg void CSpheresView::OnOrbit ( )
protected
afx_msg void CSpheresView::OnPan ( )
protected
afx_msg void CSpheresView::OnRotate ( )
protected

Activete the HOpObjectRotate operator.

afx_msg void CSpheresView::OnToolsRendermodeHiddenline ( )
protected

Set the render mode to hidden line removal.

afx_msg void CSpheresView::OnToolsRendermodePhongshaded ( )
protected

Set the render mode to phong shading.

afx_msg void CSpheresView::OnToolsRendermodeShaded ( )
protected

Set the render mode to smooth (gouraud) shading.

afx_msg void CSpheresView::OnToolsRendermodeWireframe ( )
protected

Set the render mode to wireframe.

afx_msg void CSpheresView::OnUpdateCreateCone ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateCreateCylinder ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateCreateSphere ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateHiddenLine ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateOrbit ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdatePan ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateRotate ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateShaded ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateToolsRendermodeHiddenline ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateToolsRendermodeShaded ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateToolsRendermodeWireframe ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateWindowSelect ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateZoom ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateZoomToExtents ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnUpdateZoomToWindow ( CCmdUI *  pCmdUI)
protected
afx_msg void CSpheresView::OnWindowSelect ( )
protected
afx_msg void CSpheresView::OnZoom ( )
protected
afx_msg void CSpheresView::OnZoomToExtents ( )
protected
afx_msg void CSpheresView::OnZoomToWindow ( )
protected
bool CSpheresView::SaveFile ( LPCTSTR  csFilePathName)

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