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

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
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// German (Germany) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 7, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\Torus.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""l.deu\\afxres.rc""          // Standard components\r\n"
    "#endif\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\Torus.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_TORUS_DIALOG DIALOGEX 0, 0, 412, 231
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "Torus Demo"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,329,210,76,14
    CONTROL         "Slider1",IDC_DEFFORMATION,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,290,162,115,11
    CONTROL         "Projection",IDC_CHECK_PROJ,"Button",BS_AUTOCHECKBOX | 
                    BS_PUSHLIKE | WS_TABSTOP,328,193,76,14
    COMBOBOX        IDC_COMBO_MODE,327,176,76,60,CBS_DROPDOWN | WS_VSCROLL | 
                    WS_TABSTOP
    LTEXT           "Defformation:",IDC_STATIC,237,163,43,8
    LTEXT           "Ambient",IDC_STATIC,248,17,26,8
    LTEXT           "X",IDC_STATIC,346,17,8,8
    LTEXT           "Y",IDC_STATIC,346,38,8,8
    LTEXT           "Diffuse",IDC_STATIC,248,36,23,8
    LTEXT           "Specular",IDC_STATIC,248,55,29,8
    LTEXT           "Z",IDC_STATIC,346,57,8,8
    GROUPBOX        "Lighting",IDC_STATIC,232,7,83,71
    GROUPBOX        "Light Coordinates",IDC_STATIC,321,7,83,71
    LTEXT           "Shininess",IDC_STATIC,334,99,31,8
    CTEXT           "",IDC_AMB_TEXT,290,26,19,8,SS_CENTERIMAGE
    CTEXT           "",IDC_DIFFUSE_TEXT,290,44,19,8,SS_CENTERIMAGE
    CTEXT           "",IDC_SPECULAR_TEXT,290,63,19,8,SS_CENTERIMAGE
    CTEXT           "",IDC_XPOS_TEXT,378,26,19,8,SS_CENTERIMAGE
    CTEXT           "",IDC_YPOS_TEXT,378,46,19,8,SS_CENTERIMAGE
    CTEXT           "",IDC_ZPOS_TEXT,378,65,19,8,SS_CENTERIMAGE
    CONTROL         "Slider1",IDC_AMBIENT,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,234,25,56,11
    CONTROL         "Slider1",IDC_DIFFUSE,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,234,44,56,11
    CONTROL         "Slider1",IDC_SPECULAR,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,234,65,56,11
    CONTROL         "Slider1",IDC_SHINE,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,324,107,56,11
    CONTROL         "Slider1",IDC_XPOS,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,322,25,56,11
    CONTROL         "Slider1",IDC_YPOS,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,322,44,56,11
    CONTROL         "Slider1",IDC_ZPOS,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,322,65,56,11
    LTEXT           "Ambient",IDC_STATIC,258,94,26,8
    LTEXT           "Diffuse",IDC_STATIC,258,113,23,8
    LTEXT           "Specular",IDC_STATIC,258,134,29,8
    GROUPBOX        "Material",IDC_STATIC,232,82,172,76
    CTEXT           "",IDC_AMBMAT_TEXT,300,103,19,8,SS_CENTERIMAGE
    CTEXT           "",IDC_DIFFMAT_TEXT,300,124,19,8,SS_CENTERIMAGE
    CTEXT           "",IDC_SPECMAT_TEXT,300,143,19,8,SS_CENTERIMAGE
    CONTROL         "Slider1",IDC_AMBMAT,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,244,103,56,11
    CONTROL         "Slider1",IDC_DIFFMAT,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,244,122,56,11
    CONTROL         "Slider1",IDC_SPECMAT,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,244,143,56,11
    CTEXT           "",IDC_SHINE_TEXT,378,108,19,8,SS_CENTERIMAGE
    LTEXT           "Emission",IDC_STATIC,334,124,28,8
    CONTROL         "Slider1",IDC_EMISSION,"msctls_trackbar32",TBS_BOTH | 
                    TBS_NOTICKS | WS_TABSTOP,324,132,56,11
    CTEXT           "",IDC_EMISSION_TEXT,378,135,19,8,SS_CENTERIMAGE
    CONTROL         "Surface Fill",IDC_FILL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,235,178,59,14
    CONTROL         "Surface Flat",IDC_FLAT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,236,192,59,14
    CONTROL         "Lights",IDC_LIGHTS,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,236,207,59,14
    CONTROL         "",IDC_NTGRAPH3D1,"{DF3EB502-551C-4A90-B564-6681A6962F58}",
                    WS_TABSTOP,7,7,220,217
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,1
 PRODUCTVERSION 1,0,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040704B0"
        BEGIN
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "MFC-Anwendung Torus\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "Torus\0"
            VALUE "LegalCopyright", "Copyright (C) 2003\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "Torus.EXE\0"
            VALUE "ProductName", "Anwendung Torus\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x407, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_TORUS_DIALOG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 405
        TOPMARGIN, 7
        BOTTOMMARGIN, 224
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//

IDD_TORUS_DIALOG DLGINIT
BEGIN
    IDC_COMBO_MODE, 0x403, 5, 0
0x6f4e, 0x656e, "\000" 
    IDC_COMBO_MODE, 0x403, 5, 0
0x6f5a, 0x6d6f, "\000" 
    IDC_COMBO_MODE, 0x403, 7, 0
0x6f52, 0x6174, 0x6574, "\000" 
    IDC_COMBO_MODE, 0x403, 4, 0
0x6150, 0x006e, 
    IDC_NTGRAPH3D1, 0x376, 80, 0
0x0000, 0x0000, 0x0300, 0x0000, 0x221b, 0x0000, 0x247c, 0x0000, 0x0002, 
0x0000, 0x0013, 0x0000, 0x0000, 0x0003, 0x0001, 0x0000, 0x000b, 0xffff, 
0x0008, 0x0014, 0x0000, 0x004e, 0x0054, 0x0047, 0x0072, 0x0061, 0x0070, 
0x0068, 0x0033, 0x0044, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 
    0
END

#endif    // German (Germany) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE 7, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\Torus.rc2"  // non-Microsoft Visual C++ edited resources
#include "l.deu\afxres.rc"          // Standard components
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

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 | Terms of Use | Mobile
Web01 | 2.8.1411022.1 | Last Updated 3 Aug 2003
Article Copyright 2003 by Nikolai Teofilov
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid