/***************************************************************************** * * Copyright (c) 1999, KL GROUP INC. All Rights Reserved. * http://www.klgroup.com * * This file is provided for demonstration and educational uses only. * Permission to use, copy, modify and distribute this file for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of KL Group not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * KL Group. * * KL GROUP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. KL GROUP SHALL NOT BE LIABLE FOR ANY * DAMAGES SUFFERED BY USERS AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ // scatterView.h : interface of the CScatterView class // ///////////////////////////////////////////////////////////////////////////// #include "ChartGroup.h" #include "Axis.h" #include "Interior.h" //{{AFX_INCLUDES() #include "chart3d.h" //}}AFX_INCLUDES #if !defined(AFX_SCATTERVIEW_H__EC270C1A_5115_11D1_AA18_00A0245E13F3__INCLUDED_) #define AFX_SCATTERVIEW_H__EC270C1A_5115_11D1_AA18_00A0245E13F3__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 class CScatterView : public CFormView { protected: // create from serialization only CScatterView(); DECLARE_DYNCREATE(CScatterView) CChartGroup m_cGroup; BOOL m_IsModifying; BOOL m_View3D; BOOL m_hasDropLines; int m_PickSeries; int m_PickPoint; int m_Region; public: //{{AFX_DATA(CScatterView) enum { IDD = IDD_SCATTER_FORM }; CChart3D m_chart; //}}AFX_DATA // Attributes public: CScatterDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CScatterView) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void OnInitialUpdate(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation public: virtual ~CScatterView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: void CalculateScatterSeries(int nSeries, int nNumPoints); // Generated message map functions protected: //{{AFX_MSG(CScatterView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void Chart_OnMouseDown(short Button, short Shift, long x, long y); afx_msg void Chart_OnMouseMove(short Button, short Shift, long x, long y); afx_msg void Chart_OnMouseUp(short Button, short Shift, long x, long y); afx_msg void Chart_OnModifyEnd(); afx_msg void Chart_OnModifyStart(BOOL FAR* IsOK); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnFontStroke(); afx_msg void OnUpdateFontStroke(CCmdUI* pCmdUI); afx_msg void OnFontTruetype(); afx_msg void OnUpdateFontTruetype(CCmdUI* pCmdUI); afx_msg void OnView2dscatter(); afx_msg void OnUpdateView2dscatter(CCmdUI* pCmdUI); afx_msg void OnView3dscatter(); afx_msg void OnUpdateView3dscatter(CCmdUI* pCmdUI); afx_msg void OnViewDroplines(); afx_msg void OnUpdateViewDroplines(CCmdUI* pCmdUI); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in scatterView.cpp inline CScatterDoc* CScatterView::GetDocument() { return (CScatterDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SCATTERVIEW_H__EC270C1A_5115_11D1_AA18_00A0245E13F3__INCLUDED_)