#include <MyMaterialDialog.h>
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 () |