Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MyMaterialDialog Class Reference

Dialog class for specifying streamline material. More...

#include <MyMaterialDialog.h>

List of all members.

Public Types

enum  { IDD = IDD_MATERIALDIALOG }

Public Methods

GLubyte GetOpacity ()
 Returns streamline opacity.

void SetOpacity (GLubyte opacity)
 Sets streamline opacity.

void SetSpecularRGB (GLubyte *specularRGB)
 Sets material specular component.

void SetDiffuseRGB (GLubyte *diffuseRGB)
 Sets material diffuse component.

void SetAmbientRGB (GLubyte *ambientRGB)
 Sets material ambient component.

void GetSpecularRGB (GLubyte *specularRGB)
 Returns material specular component.

void GetDiffuseRGB (GLubyte *diffuseRGB)
 Returns material diffuse component.

void GetAmbientRGB (GLubyte *ambientRGB)
 Returns material ambient component.

void SetMaterial (CStreamlineMaterial material)
 Sets material.

CStreamlineMaterial GetMaterial ()
 Returns material.

 MyMaterialDialog (CWnd *pParent=NULL)
 Standard constructor.


Public Attributes

CColorDialog m_SpecularDialog
 Specular color component dialog.

CColorDialog m_DiffuseDialog
 Diffuse color component dialog.

CColorDialog m_AmbientDialog
 Ambient color component dialog.

int m_Opacity

Protected Methods

virtual void DoDataExchange (CDataExchange *pDX)
afx_msg void OnAmbientbutton ()
afx_msg void OnDiffusebutton ()
afx_msg void OnSpecularbutton ()
virtual BOOL OnInitDialog ()
afx_msg void OnPaint ()


Detailed Description

Dialog class for specifying streamline material.


The documentation for this class was generated from the following files:
Generated on Fri Aug 9 10:12:40 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002