home *** CD-ROM | disk | FTP | other *** search
/ The Houseplan Collection / HRCD2005.ISO / data1.cab / Zusatz / 3DS / DATA2.Z / CTorusDlg.h < prev    next >
C/C++ Source or Header  |  1999-06-14  |  2KB  |  64 lines

  1. // CTorusDlg.h : header file
  2. //
  3.  
  4. #if !defined(AFX_CTORUSDLG_H__53E5AC68_F5FD_11D1_9DB3_00A0C9251384__INCLUDED_)
  5. #define AFX_CTORUSDLG_H__53E5AC68_F5FD_11D1_9DB3_00A0C9251384__INCLUDED_
  6.  
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10.  
  11. class ArConEventSink;
  12.  
  13. #include <ArCon.h>
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CTorusDlg dialog
  17.  
  18. class CTorusDlg : public CDialog
  19. {
  20. // Construction
  21. public:
  22.     CTorusDlg(CWnd* pParent = NULL);    // standard constructor
  23.   virtual ~CTorusDlg();
  24.  
  25. // Dialog Data
  26.     //{{AFX_DATA(CTorusDlg)
  27.     enum { IDD = IDD_CTORUS_DIALOG };
  28.         // NOTE: the ClassWizard will add data members here
  29.     //}}AFX_DATA
  30.  
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CTorusDlg)
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. protected:
  39.     HICON m_hIcon;
  40.   IArCon * m_pArCon;
  41.   ArConEventSink * m_events;
  42.   DWORD m_eventCookie;
  43.  
  44.   void GeneratePoints();
  45.   void GenPoly(IObjectConstructor* constr, int a, int t, int ap, int tp);
  46.   void GenHolePoly(IObjectConstructor* constr, int a, int t, int ap, int tp);
  47.   void InstanceIntoWorld(IObjectConstructor* constr);
  48.  
  49.     // Generated message map functions
  50.     //{{AFX_MSG(CTorusDlg)
  51.     virtual BOOL OnInitDialog();
  52.     afx_msg void OnPaint();
  53.     afx_msg HCURSOR OnQueryDragIcon();
  54.     afx_msg void ErzeugeTorusMitLoechern();
  55.     afx_msg void ErzeugeEinfachenTorus();
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58. };
  59.  
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  62.  
  63. #endif // !defined(AFX_CTORUSDLG_H__53E5AC68_F5FD_11D1_9DB3_00A0C9251384__INCLUDED_)
  64.