www.pudn.com > final_6.rar > CG.h
// CG.h : main header file for the CG application
//
#if !defined(AFX_CG_H__25ABD060_90EF_4DDE_9761_6B22F8DD923F__INCLUDED_)
#define AFX_CG_H__25ABD060_90EF_4DDE_9761_6B22F8DD923F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "Base.h"
extern class CFrontview* g_pFrontView;
extern class CTopView* g_pTopView;
extern class CLeftView* g_pLeftView;
extern class CPerView * g_pPerView;
extern class CCGDoc* g_pDoc;
extern int drawMode;
extern int index;
extern int lightIndex;
extern int selectNo;
extern int selectLight;
extern int opEntityIndex; //旋转体操作 实体序列号
extern int opPointIndex; //旋转体操作 点序列号
extern bool opOn; //旋转体操作
extern bool loftSampleOn; //放样底面绘制
extern bool loftTrackOn; //放样轨迹绘制
extern int commend;
extern double moveMatrix[4][4];
extern double xRotateM[4][4];
extern double yRotateM[4][4];
extern double zRotateM[4][4];
extern double d;
extern CGPoint* Oe;
extern double tt;
extern int xx;
extern int yy;
extern BOOL shadow;
extern CBrush *backBrush;
extern CPen frame;
extern CPen shape;
extern CPen bePointed;
extern double gammaR; // gamma 红参数
extern double gammaG; // gamma 绿参数
extern double gammaB; // gamma 蓝参数
extern bool attenuation; //衰减
/////////////////////////////////////////////////////////////////////////////
// CCGApp:
// See CG.cpp for the implementation of this class
//
class CCGApp : public CWinApp
{
public:
CCGApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCGApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CCGApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CG_H__25ABD060_90EF_4DDE_9761_6B22F8DD923F__INCLUDED_)