Click here to Skip to main content
Click here to Skip to main content
Articles » Multimedia » OpenGL » General » Downloads
 
Add your own
alternative version
Go to top

3D Graph ActiveX Control

, 2 Aug 2003
An ATL/STL ActiveX control based on OpenGL library for 3D data visualization
ntgraph3d_bin.zip
NTGraph3D.dll
ntgraph3d_demo.zip
NTGraph3D_demo
Demo3D
Demo.aps
Demo.clw
Demo.dsp
Demo.dsw
Demo.ncb
Demo.opt
Demo.plg
res
Demo.ico
Demo3D.hta
Torus
res
Torus.ico
Torus.aps
Torus.clw
Torus.dsp
Torus.dsw
Torus.ncb
Torus.opt
Torus.plg
ntgraph3d_src.zip
NTGraph3D_src
graphctl.bmp
GraphCtl.rgs
NTGraph3D.aps
NTGraph3D.def
NTGraph3D.dsp
NTGraph3D.dsw
NTGraph3D.ncb
NTGraph3D.opt
NTGraph3D.plg
NTGraph3D.tlb
NTGraph3Dps.def
NTGraph3Dps.mk
ReleaseMinSize
Test.dsm
ntgraph_bin.zip
NTGraph3D.dll
// TorusDlg.h : header file
//
//{{AFX_INCLUDES()
#include "graph3d.h"
//}}AFX_INCLUDES

#if !defined(AFX_TORUSDLG_H__BE460A4D_CB52_45B0_9CE4_06A553611D19__INCLUDED_)
#define AFX_TORUSDLG_H__BE460A4D_CB52_45B0_9CE4_06A553611D19__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTorusDlg dialog

class CTorusDlg : public CDialog
{
// Construction
public:
	void PlotTorus();
	CTorusDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTorusDlg)
	enum { IDD = IDD_TORUS_DIALOG };
	CComboBox	m_cmbTrackMode;
	BOOL	m_bProjection;
	CGraph3D	m_Graph3D;
	int		m_nDefformation;
	int		m_nAmbient;
	int		m_nAmbMat;
	int		m_nDiffMat;
	int		m_nDiffuse;
	int		m_nEmission;
	int		m_nShine;
	int		m_nSpecMat;
	int		m_nSpecular;
	int		m_nPosX;
	int		m_nPosY;
	int		m_nPosZ;
	CString	m_strAmbient;
	CString	m_strAmbMat;
	CString	m_strDiffMat;
	CString	m_strDiffuse;
	CString	m_strEmission;
	CString	m_strShine;
	CString	m_strSpecMat;
	CString	m_strSpecular;
	CString	m_strPosX;
	CString	m_strPosY;
	CString	m_strPosZ;
	BOOL	m_bFill;
	BOOL	m_bFlat;
	BOOL	m_bLights;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTorusDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTorusDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnCheckProjection();
	afx_msg void OnCloseupComboMode();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnFillSurface();
	afx_msg void OnFlatSurface();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TORUSDLG_H__BE460A4D_CB52_45B0_9CE4_06A553611D19__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Nikolai Teofilov
Researcher
Germany Germany
No Biography provided

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 3 Aug 2003
Article Copyright 2003 by Nikolai Teofilov
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid