25 #ifndef __ODDBMATERIAL_H__
26 #define __ODDBMATERIAL_H__
145 double& glossFactor)
const;
175 double opacityPercentage,
185 double& opacityPercentage,
209 double refractionIndex,
219 double& refractionIndex,
OdSmartPtr< OdDbMaterial > OdDbMaterialPtr
virtual double translucence() const
virtual OdGiMaterialTraits::LuminanceMode luminanceMode() const
virtual void setTransmittanceScale(double scale)
virtual OdResult setName(const OdString &name)
virtual void setSpecular(const OdGiMaterialColor &specularColor, const OdGiMaterialMap &specularMap, double glossFactor)
virtual OdGiMaterialTraits::Mode mode() const
virtual void reflection(OdGiMaterialMap &reflectionMap) const
virtual double shininess() const
virtual void setOpacity(double opacityPercentage, const OdGiMaterialMap &opacityMap)
virtual void setRefraction(double refractionIndex, const OdGiMaterialMap &refractionMap)
virtual void bump(OdGiMaterialMap &map) const
virtual void ambient(OdGiMaterialColor &ambientColor) const
virtual OdGiMaterialTraits::IlluminationModel illuminationModel() const
virtual void setDiffuse(const OdGiMaterialColor &diffuseColor, const OdGiMaterialMap &diffuseMap)
virtual void specular(OdGiMaterialColor &specularColor, OdGiMaterialMap &specularMap, double &glossFactor) const
virtual void setShininess(double value)
ODDB_DECLARE_MEMBERS(OdDbMaterial)
virtual bool twoSided() const
virtual double selfIllumination() const
virtual void setChannelFlags(OdGiMaterialTraits::ChannelFlags channelFlags)
OdResult subErase(bool erasing)
virtual void setAmbient(const OdGiMaterialColor &ambientColor)
virtual void setReflectivity(double reflectivity)
virtual double reflectanceScale() const
virtual void setNormalMap(const OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod method, double strength)
virtual double luminance() const
virtual void setTwoSided(bool flag)
virtual void setMode(OdGiMaterialTraits::Mode mode)
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
virtual void setIlluminationModel(OdGiMaterialTraits::IlluminationModel illuminationMode)
virtual void setDescription(const OdString &description)
virtual void setTranslucence(double translucence)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void setReflectanceScale(double scale)
virtual bool isAnonymous() const
virtual OdResult subGetClassID(void *pClsid) const
virtual void refraction(double &refractionIndex, OdGiMaterialMap &refractionMap) const
virtual void normalMap(OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod &method, double &strength) const
virtual void setLuminance(double value)
virtual OdGiDrawable * drawable()
virtual void setSelfIllumination(double selfIllumination)
virtual OdString description() const
virtual void setIndirectBumpScale(double scale)
virtual void opacity(double &opacityPercentage, OdGiMaterialMap &opacityMap) const
virtual OdGiMaterialTraits::ChannelFlags channelFlags() const
virtual void setFinalGather(OdGiMaterialTraits::FinalGatherMode mode)
virtual OdGiMaterialTraits::FinalGatherMode finalGather() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void setColorBleedScale(double scale)
virtual void setAnonymous(bool flag)
virtual double reflectivity() const
virtual void setReflection(const OdGiMaterialMap &reflectionMap)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void setGlobalIllumination(OdGiMaterialTraits::GlobalIlluminationMode mode)
virtual double transmittanceScale() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdString name() const
virtual void setBump(const OdGiMaterialMap &bumpMap)
virtual void diffuse(OdGiMaterialColor &diffuseColor, OdGiMaterialMap &diffuseMap) const
virtual double indirectBumpScale() const
virtual double colorBleedScale() const
virtual OdGiMaterialTraits::GlobalIlluminationMode globalIllumination() const
virtual void setLuminanceMode(OdGiMaterialTraits::LuminanceMode mode)
GLuint const GLchar * name
GLsizei const GLfloat * value