www.pudn.com > fenxingtuxingdeshengchengyuanma.rar > FractalView.h
// FractalView.h : interface of the CFractalView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_FRACTALVIEW_H__17580623_1B62_4BCE_94E0_0DABEE7B89CA__INCLUDED_)
#define AFX_FRACTALVIEW_H__17580623_1B62_4BCE_94E0_0DABEE7B89CA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFractalView : public CView
{
//public:
CString Win_Title;
double Cur_P;
protected: // create from serialization only
CFractalView();
DECLARE_DYNCREATE(CFractalView)
// Attributes
public:
CFractalDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFractalView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void sqrz(double a,double b,double *x,double *y,double *theta);
virtual ~CFractalView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CFractalView)
afx_msg void OnvonKoch();
afx_msg void OnFractalTree1();
afx_msg void OnHillbert();
afx_msg void OnFractalTree2();
afx_msg void OnBarnsley();
afx_msg void OnSierpinskiPad2();
afx_msg void OnFractalTree3();
afx_msg void OnLevy();
afx_msg void OnFlamboyent();
afx_msg void OnSierpinskiTriangele1();
afx_msg void OnSierpinskiTriangele2();
afx_msg void OnFractalTree4();
afx_msg void OnBranch();
afx_msg void OnMandelbrot();
afx_msg void OnJuliaofNewton();
afx_msg void OnJulia1();
afx_msg void OnSierpinskiTriangele3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in FractalView.cpp
inline CFractalDoc* CFractalView::GetDocument()
{ return (CFractalDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FRACTALVIEW_H__17580623_1B62_4BCE_94E0_0DABEE7B89CA__INCLUDED_)