OpenSceneGraph/doc/doc++/osg/Material.html

431 lines
21 KiB
HTML
Raw Normal View History

2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class SG_EXPORT osg::Material</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::Material</A></H2></H2><BLOCKQUOTE>Material - encapsulates OpenGL glMaterial state</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CStateAttribute,MStateAttribute.html,CMaterial,MMaterial.html">
<param name=before value="M,M,M,M">
<param name=after value="Md_SPSP,Md_SP,Md_,M">
<param name=indent value="0,1,2,3">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.45.1">Material</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.45.2">clone</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.45.3">isSameKindAs</A></B>(const <!1><A HREF="Object.html">Object</A>* obj) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const char* <B><A HREF="#DOC.2.45.4">className</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const <!1><A HREF="StateAttribute.html#DOC.2.73.5">Type</A> <B><A HREF="#DOC.2.45.5">getType</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.45.6">setStateSetModes</A></B>(<!1><A HREF="StateSet.html">StateSet</A>&amp; ds, const <!1><A HREF="StateAttribute.html#DOC.2.73.2">GLModeValue</A> value) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.45.7">apply</A></B>(<!1><A HREF="State.html">State</A>&amp; state) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.45.10">setColorMode</A></B>(const <!1><A HREF="Material.html#DOC.2.45.9">ColorMode</A> mode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Material.html#DOC.2.45.9">ColorMode</A> <B><A HREF="#DOC.2.45.11">getColorMode</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.45.12">setAmbient</A></B>( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; ambient )
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec4.html">Vec4</A>&amp; <B><A HREF="#DOC.2.45.13">getAmbient</A></B>(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.45.14">getAmbientFrontAndBack</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.45.15">setDiffuse</A></B>( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; diffuse )
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec4.html">Vec4</A>&amp; <B><A HREF="#DOC.2.45.16">getDiffuse</A></B>(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.45.17">getDiffuseFrontAndBack</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.45.18">setSpecular</A></B>( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; specular )
<DD><I>Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec4.html">Vec4</A>&amp; <B><A HREF="#DOC.2.45.19">getSpecular</A></B>(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const
<DD><I>Get the specular value for specified face</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.45.20">getSpecularFrontAndBack</A></B>() const
<DD><I>Get the whether specular values are equal for front and back faces</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.45.21">setEmission</A></B>( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; emission )
<DD><I>Set emmision value of specified face(s) of the material, valid emmison[03] range is 00 to 10</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec4.html">Vec4</A>&amp; <B><A HREF="#DOC.2.45.22">getEmission</A></B>(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const
<DD><I>Get the emmsion value for specified face</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.45.23">getEmissionFrontAndBack</A></B>() const
<DD><I>Get the whether emmision values are equal for front and back faces</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.45.24">setShininess</A></B>( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, float shininess )
<DD><I>Set shininess of specified face(s) of the material, valid shininess range is 00 to 10</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.45.25">getShininess</A></B>(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const
<DD><I>Get the shininess value for specified face</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.45.26">getShininessFrontAndBack</A></B>() const
<DD><I>Get the whether shininess values are equal for front and back faces</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.45.27">setTransparency</A></B>(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, float trans)
<DD><I>Set the alpha value of ambient,diffuse,specular and emmission colors, of specified face, to 1-transparancy.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.45.28">setAlpha</A></B>(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, float alpha)
<DD><I>Set the alpha value of ambient,diffuse,specular and emmission colors.</I>
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.45.8">Face</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.45.9">ColorMode</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Material.html#DOC.2.45.9">ColorMode</A> <B><A HREF="#DOC.2.45.30">_colorMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.45.31">_ambientFrontAndBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.32">_ambientFront</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.33">_ambientBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.45.34">_diffuseFrontAndBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.35">_diffuseFront</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.36">_diffuseBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.45.37">_specularFrontAndBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.38">_specularFront</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.39">_specularBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.45.40">_emissionFrontAndBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.41">_emissionFront</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.45.42">_emissionBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.45.43">_shininessFrontAndBack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.45.44">_shininessFront</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.45.45">_shininessBack</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.45.29">~Material</A></B>()
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="StateAttribute.html">StateAttribute</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>virtual void <B>compile</B>(<!1><A HREF="State.html">State</A>&amp;) const
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>typedef GLenum <B>GLMode</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>typedef unsigned int <B>GLModeValue</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>typedef unsigned int <B>OverrideValue</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>Values</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>Type</B>
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
<DL>
</DL>
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Referenced.html">Referenced</A>&amp; <B>operator = </B>(<!1><A HREF="Referenced.html">Referenced</A>&amp;)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline const int <B>referenceCount</B>() const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Material - encapsulates OpenGL glMaterial state</BLOCKQUOTE>
<DL>
<A NAME="Material"></A>
<A NAME="DOC.2.45.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Material()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="clone"></A>
<A NAME="DOC.2.45.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* clone() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.2.45.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(const <!1><A HREF="Object.html">Object</A>* obj) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.2.45.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const char* className() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getType"></A>
<A NAME="DOC.2.45.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const <!1><A HREF="StateAttribute.html#DOC.2.73.5">Type</A> getType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setStateSetModes"></A>
<A NAME="DOC.2.45.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setStateSetModes(<!1><A HREF="StateSet.html">StateSet</A>&amp; ds, const <!1><A HREF="StateAttribute.html#DOC.2.73.2">GLModeValue</A> value) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply"></A>
<A NAME="DOC.2.45.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(<!1><A HREF="State.html">State</A>&amp; state) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="Face"></A>
<A NAME="DOC.2.45.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum Face</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="FRONT"></A>
<A NAME="DOC.2.45.8.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRONT</B></TT>
<DL><DT><DD></DL><P>
<A NAME="BACK"></A>
<A NAME="DOC.2.45.8.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BACK</B></TT>
<DL><DT><DD></DL><P>
<A NAME="FRONT_AND_BACK"></A>
<A NAME="DOC.2.45.8.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRONT_AND_BACK</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="ColorMode"></A>
<A NAME="DOC.2.45.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum ColorMode</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="AMBIENT"></A>
<A NAME="DOC.2.45.9.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> AMBIENT</B></TT>
<DL><DT><DD></DL><P>
<A NAME="DIFFUSE"></A>
<A NAME="DOC.2.45.9.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DIFFUSE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SPECULAR"></A>
<A NAME="DOC.2.45.9.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SPECULAR</B></TT>
<DL><DT><DD></DL><P>
<A NAME="EMISSION"></A>
<A NAME="DOC.2.45.9.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> EMISSION</B></TT>
<DL><DT><DD></DL><P>
<A NAME="AMBIENT_AND_DIFFUSE"></A>
<A NAME="DOC.2.45.9.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> AMBIENT_AND_DIFFUSE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="OFF"></A>
<A NAME="DOC.2.45.9.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OFF</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setColorMode"></A>
<A NAME="DOC.2.45.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setColorMode(const <!1><A HREF="Material.html#DOC.2.45.9">ColorMode</A> mode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getColorMode"></A>
<A NAME="DOC.2.45.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Material.html#DOC.2.45.9">ColorMode</A> getColorMode() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAmbient"></A>
<A NAME="DOC.2.45.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAmbient( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; ambient )</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAmbient"></A>
<A NAME="DOC.2.45.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec4.html">Vec4</A>&amp; getAmbient(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAmbientFrontAndBack"></A>
<A NAME="DOC.2.45.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool getAmbientFrontAndBack() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setDiffuse"></A>
<A NAME="DOC.2.45.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDiffuse( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; diffuse )</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDiffuse"></A>
<A NAME="DOC.2.45.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec4.html">Vec4</A>&amp; getDiffuse(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDiffuseFrontAndBack"></A>
<A NAME="DOC.2.45.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool getDiffuseFrontAndBack() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setSpecular"></A>
<A NAME="DOC.2.45.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSpecular( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; specular )</B></TT>
<DD>Set specular value of specified face(s) of the material,
valid specular[03] range is 00 to 10
<DL><DT><DD></DL><P>
<A NAME="getSpecular"></A>
<A NAME="DOC.2.45.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec4.html">Vec4</A>&amp; getSpecular(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const </B></TT>
<DD>Get the specular value for specified face
<DL><DT><DD></DL><P>
<A NAME="getSpecularFrontAndBack"></A>
<A NAME="DOC.2.45.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool getSpecularFrontAndBack() const </B></TT>
<DD>Get the whether specular values are equal for front and back faces
<DL><DT><DD></DL><P>
<A NAME="setEmission"></A>
<A NAME="DOC.2.45.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setEmission( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, const <!1><A HREF="Vec4.html">Vec4</A>&amp; emission )</B></TT>
<DD>Set emmision value of specified face(s) of the material,
valid emmison[03] range is 00 to 10
<DL><DT><DD></DL><P>
<A NAME="getEmission"></A>
<A NAME="DOC.2.45.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec4.html">Vec4</A>&amp; getEmission(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const </B></TT>
<DD>Get the emmsion value for specified face
<DL><DT><DD></DL><P>
<A NAME="getEmissionFrontAndBack"></A>
<A NAME="DOC.2.45.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool getEmissionFrontAndBack() const </B></TT>
<DD>Get the whether emmision values are equal for front and back faces
<DL><DT><DD></DL><P>
<A NAME="setShininess"></A>
<A NAME="DOC.2.45.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setShininess( const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, float shininess )</B></TT>
<DD>Set shininess of specified face(s) of the material, valid shininess range is 00 to 10
<DL><DT><DD></DL><P>
<A NAME="getShininess"></A>
<A NAME="DOC.2.45.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const float getShininess(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face) const </B></TT>
<DD>Get the shininess value for specified face
<DL><DT><DD></DL><P>
<A NAME="getShininessFrontAndBack"></A>
<A NAME="DOC.2.45.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool getShininessFrontAndBack() const </B></TT>
<DD>Get the whether shininess values are equal for front and back faces
<DL><DT><DD></DL><P>
<A NAME="setTransparency"></A>
<A NAME="DOC.2.45.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTransparency(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, float trans)</B></TT>
<DD>Set the alpha value of ambient,diffuse,specular and emmission colors,
of specified face, to 1-transparancy. Valid transparancy range is 0.0 to 1.0.
<DL><DT><DD></DL><P>
<A NAME="setAlpha"></A>
<A NAME="DOC.2.45.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAlpha(const <!1><A HREF="Material.html#DOC.2.45.8">Face</A> face, float alpha)</B></TT>
<DD>Set the alpha value of ambient,diffuse,specular and emmission colors.
Valid transparancy range is 0.0 to 1.0.
<DL><DT><DD></DL><P>
<A NAME="~Material"></A>
<A NAME="DOC.2.45.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Material()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_colorMode"></A>
<A NAME="DOC.2.45.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Material.html#DOC.2.45.9">ColorMode</A> _colorMode</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_ambientFrontAndBack"></A>
<A NAME="DOC.2.45.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _ambientFrontAndBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_ambientFront"></A>
<A NAME="DOC.2.45.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _ambientFront</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_ambientBack"></A>
<A NAME="DOC.2.45.33"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _ambientBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_diffuseFrontAndBack"></A>
<A NAME="DOC.2.45.34"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _diffuseFrontAndBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_diffuseFront"></A>
<A NAME="DOC.2.45.35"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _diffuseFront</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_diffuseBack"></A>
<A NAME="DOC.2.45.36"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _diffuseBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_specularFrontAndBack"></A>
<A NAME="DOC.2.45.37"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _specularFrontAndBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_specularFront"></A>
<A NAME="DOC.2.45.38"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _specularFront</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_specularBack"></A>
<A NAME="DOC.2.45.39"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _specularBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_emissionFrontAndBack"></A>
<A NAME="DOC.2.45.40"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _emissionFrontAndBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_emissionFront"></A>
<A NAME="DOC.2.45.41"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _emissionFront</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_emissionBack"></A>
<A NAME="DOC.2.45.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _emissionBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_shininessFrontAndBack"></A>
<A NAME="DOC.2.45.43"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _shininessFrontAndBack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_shininessFront"></A>
<A NAME="DOC.2.45.44"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _shininessFront</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_shininessBack"></A>
<A NAME="DOC.2.45.45"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _shininessBack</B></TT>
<DL><DT><DD></DL><P></DL>
<HR><DL><DT><B>This class has no child classes.</B></DL>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>