www.pudn.com > 3DEDITOR.rar > 3DEDITORDOC.H


// 3DEditorDoc.h : interface of the CMy3DEditorDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_3DEDITORDOC_H__75E91AE7_5A68_4FA0_BF43_5452B4472A3B__INCLUDED_) 
#define AFX_3DEDITORDOC_H__75E91AE7_5A68_4FA0_BF43_5452B4472A3B__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#define MAGIC_NUMBER 2604 
#include "ImageCapture.h" 
class CImageCapture; 
class CMy3DEditorDoc : public CDocument, public scene 
{ 
protected: // create from serialization only 
	CMy3DEditorDoc(); 
	DECLARE_DYNCREATE(CMy3DEditorDoc) 
 
// Attributes 
public: 
	CDialog *dlgprop,*dlgmat,*dlgmap; 
	object *selobj; 
	int selface; 
	CImageCapture m_imagecapture; 
// Operations 
public: 
	int CheckMapping(); 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMy3DEditorDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	virtual void OnCloseDocument(); 
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); 
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CMy3DEditorDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMy3DEditorDoc) 
	afx_msg void OnFileImport(); 
	afx_msg void OnProperties(); 
	afx_msg void OnUpdateProperties(CCmdUI* pCmdUI); 
	afx_msg void OnMapping(); 
	afx_msg void OnUpdateMapping(CCmdUI* pCmdUI); 
	afx_msg void OnEditBackgroundBlack(); 
	afx_msg void OnUpdateEditBackgroundBlack(CCmdUI* pCmdUI); 
	afx_msg void OnEditBackgroundCustom(); 
	afx_msg void OnUpdateEditBackgroundCustom(CCmdUI* pCmdUI); 
	afx_msg void OnEditBackgroundWhite(); 
	afx_msg void OnUpdateEditBackgroundWhite(CCmdUI* pCmdUI); 
	afx_msg void OnEditLightsConstant(); 
	afx_msg void OnUpdateEditLightsConstant(CCmdUI* pCmdUI); 
	afx_msg void OnEditLightsHeadlight(); 
	afx_msg void OnUpdateEditLightsHeadlight(CCmdUI* pCmdUI); 
	afx_msg void OnEditLightsScene(); 
	afx_msg void OnUpdateEditLightsScene(CCmdUI* pCmdUI); 
	afx_msg void OnEditAmbientlight(); 
	afx_msg void OnTextinterp(); 
	afx_msg void OnUpdateTextinterp(CCmdUI* pCmdUI); 
	afx_msg void OnBackcull(); 
	afx_msg void OnUpdateBackcull(CCmdUI* pCmdUI); 
	afx_msg void OnFileExport(); 
	afx_msg void OnInvertnormals(); 
	afx_msg void OnUpdateInvertnormals(CCmdUI* pCmdUI); 
	afx_msg void OnMateriais(); 
	afx_msg void OnUpdateMateriais(CCmdUI* pCmdUI); 
	afx_msg void OnEditMaterials(); 
	afx_msg void OnUpdateEditMaterials(CCmdUI* pCmdUI); 
	afx_msg void OnMaterials(); 
	afx_msg void OnUpdateMaterials(CCmdUI* pCmdUI); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_3DEDITORDOC_H__75E91AE7_5A68_4FA0_BF43_5452B4472A3B__INCLUDED_)