DzDefaultMaterial Class Reference
[Object and Geometry Objects]

Standard implementation of DzMaterial. More...

Inheritance diagram for DzDefaultMaterial:

DzMaterial DzElement DzRefCountedItem DzBase QObject Object List of all members.

Constructors

 DzDefaultMaterial ()

Methods

Color getAmbientColor ()
DzColorProperty getAmbientColorControl ()
DzTexture getAmbientColorMap ()
Number getAmbientStrength ()
DzFloatProperty getAmbientStrengthControl ()
DzTexture getAmbientValueMap ()
DzFloatProperty getBumpControl ()
DzTexture getBumpMap ()
Number getBumpMax ()
DzFloatProperty getBumpMaxControl ()
Number getBumpMin ()
DzFloatProperty getBumpMinControl ()
Number getBumpStrength ()
DzColorProperty getDiffuseColorControl ()
Number getDiffuseStrength ()
DzFloatProperty getDiffuseStrengthControl ()
DzTexture getDiffuseValueMap ()
DzFloatProperty getDisplacementControl ()
DzTexture getDisplacementMap ()
Number getDisplacementMax ()
DzFloatProperty getDisplacementMaxControl ()
Number getDisplacementMin ()
DzFloatProperty getDisplacementMinControl ()
Number getDisplacementStrength ()
DzFloatProperty getGlossinessControl ()
Number getGlossinessStrength ()
DzTexture getGlossinessValueMap ()
Number getHorizontalOffset ()
DzFloatPropertygetHorizontalOffsetControl ()
Number getHorizontalTiles ()
DzFloatPropertygetHorizontalTilesControl ()
Number getIndexOfRefraction ()
DzFloatProperty getIndexOfRefractionControl ()
DzBoolProperty getMultThroughOpacityControl ()
DzTexture getNormalValueMap ()
DzImageProperty getNormalValueMapControl ()
DzFloatProperty getOpacityControl ()
Color getReflectionColor ()
DzColorProperty getReflectionColorControl ()
DzTexture getReflectionMap ()
Number getReflectionStrength ()
DzFloatProperty getReflectionStrengthControl ()
DzTexture getReflectionValueMap ()
Color getRefractionColor ()
DzColorProperty getRefractionColorControl ()
DzTexture getRefractionColorMap ()
Number getRefractionStrength ()
DzFloatProperty getRefractionStrengthControl ()
DzTexture getRefractionValueMap ()
Color getSpecularColor ()
DzColorProperty getSpecularColorControl ()
DzTexture getSpecularColorMap ()
Number getSpecularStrength ()
DzFloatProperty getSpecularStrengthControl ()
DzTexture getSpecularValueMap ()
Number getSurfaceType ()
DzEnumProperty getSurfaceTypeControl ()
Number getVerticalOffset ()
DzFloatPropertygetVerticalOffsetControl ()
Number getVerticalTiles ()
DzFloatPropertygetVerticalTilesControl ()
Boolean isMultThroughOpacity ()
Boolean needsTangentSpaceParams ()
void setAmbientColor (Color color)
void setAmbientColorMap (DzTexture img)
void setAmbientStrength (Number val)
void setAmbientValueMap (DzTexture img)
void setBumpMap (DzTexture img)
void setBumpMax (Number val)
void setBumpMin (Number val)
void setBumpStrength (Number val)
void setDiffuseStrength (Number val)
void setDiffuseValueMap (DzTexture img)
void setDisplacementMap (DzTexture img)
void setDisplacementMax (Number val)
void setDisplacementMin (Number val)
void setDisplacementStrength (Number val)
void setGlossinessStrength (Number size)
void setGlossinessValueMap (DzTexture img)
void setHorizontalOffset (Number offset)
void setHorizontalTiles (Number tiles)
void setIndexOfRefraction (Number val)
void setMultThroughOpacity (Boolean onOff)
void setNormalValueMap (DzTexture img)
void setReflectionColor (Color color)
void setReflectionMap (DzTexture img)
void setReflectionStrength (Number val)
void setReflectionValueMap (DzTexture img)
void setRefractionColor (Color color)
void setRefractionColorMap (DzTexture img)
void setRefractionStrength (Number val)
void setRefractionValueMap (DzTexture img)
void setSpecularColor (Color color)
void setSpecularColorMap (DzTexture img)
void setSpecularStrength (Number size)
void setSpecularValueMap (DzTexture img)
void setSurfaceType (Number val)
void setVerticalOffset (Number offset)
void setVerticalTiles (Number tiles)

Detailed Description

Standard implementation of DzMaterial.


Constructor & Destructor Documentation

DzDefaultMaterial::DzDefaultMaterial (  ) 

Default Constructor.


Member Function Documentation

Color DzDefaultMaterial::getAmbientColor (  ) 

Returns:
The ambient color for this material.
See also:
setAmbientColor()

DzFloatProperty DzDefaultMaterial::getAmbientColorControl (  ) 

Returns:
The property that controls ambient color.

DzTexture DzDefaultMaterial::getAmbientColorMap (  ) 

Returns:
The ambient color map for this material.
See also:
setAmbientColorMap()

Number DzDefaultMaterial::getAmbientStrength (  ) 

Returns:
The ambient strength for this material.
See also:
setAmbientStrength()

DzFloatProperty DzDefaultMaterial::getAmbientStrengthControl (  ) 

Returns:
The property that controls ambient strength.

DzTexture DzDefaultMaterial::getAmbientValueMap (  ) 

Returns:
The ambient strength map for this material.
See also:
setAmbientValueMap()

DzFloatProperty DzDefaultMaterial::getBumpControl (  ) 

Returns:
The property that controls bump mapping.

DzTexture DzDefaultMaterial::getBumpMap (  ) 

Returns:
The bump map for this material.
See also:
setBumpMap()

Number DzDefaultMaterial::getBumpMax (  ) 

Returns:
The maximum bump for this material.
See also:
setBumpMax()

DzFloatProperty DzDefaultMaterial::getBumpMaxControl (  ) 

Returns:
The property that controls the bump mapping maximum.

Number DzDefaultMaterial::getBumpMin (  ) 

Returns:
The minimum bump for this material.
See also:
setBumpMin()

DzFloatProperty DzDefaultMaterial::getBumpMinControl (  ) 

Returns:
The property that controls the bump mapping minimum.

Number DzDefaultMaterial::getBumpStrength (  ) 

Returns:
The bump strength for this material.
See also:
setBumpStrength()

DzFloatProperty DzDefaultMaterial::getDiffuseColorControl (  ) 

Returns:
The property that controls diffuse color.

Number DzDefaultMaterial::getDiffuseStrength (  ) 

Returns:
The diffuse strength for this material.
See also:
setDiffuseStrength()

DzFloatProperty DzDefaultMaterial::getDiffuseStrengthControl (  ) 

Returns:
The property that controls diffuse strength.

DzTexture DzDefaultMaterial::getDiffuseValueMap (  ) 

Returns:
The diffuse strength map for this material.
See also:
setDiffuseValueMap()

DzFloatProperty DzDefaultMaterial::getDisplacementControl (  ) 

Returns:
The property that controls displacement mapping.

DzTexture DzDefaultMaterial::getDisplacementMap (  ) 

Returns:
The displacement map for this material.
See also:
setDisplacementMap()

Number DzDefaultMaterial::getDisplacementMax (  ) 

Returns:
The maximum displacement (displacement that white maps to) for this material.
See also:
setDisplacementMax()

DzFloatProperty DzDefaultMaterial::getDisplacementMaxControl (  ) 

Returns:
The property that controls the displacement mapping maximum.

Number DzDefaultMaterial::getDisplacementMin (  ) 

Returns:
The minimum displacement for this material.
See also:
setDisplacementMin()

DzFloatProperty DzDefaultMaterial::getDisplacementMinControl (  ) 

Returns:
The property that controls the displacement mapping minimum.

Number DzDefaultMaterial::getDisplacementStrength (  ) 

Returns:
The displacement strength for this material.
See also:
setDisplacementStrength()

DzFloatProperty DzDefaultMaterial::getGlossinessControl (  ) 

Returns:
The property that controls glossiness.

Number DzDefaultMaterial::getGlossinessStrength (  ) 

Returns:
The glossines strength for this material.
See also:
setGlossinessStrength()

DzTexture DzDefaultMaterial::getGlossinessValueMap (  ) 

Returns:
The glossines strength map for this material.
See also:
setGlossinessValueMap()

Number DzDefaultMaterial::getHorizontalOffset (  ) 

Returns:
The horizontal offset value.
See also:
setHorizontalOffset()

DzFloatProperty DzDefaultMaterial::getHorizontalOffsetControl (  ) 

Returns:
The property that controls the horizontal offset of an image.

Number DzDefaultMaterial::getHorizontalTiles (  ) 

Returns:
The number of horizontal tiles
See also:
setHorizontalTiles()

DzFloatProperty DzDefaultMaterial::getHorizontalTilesControl (  ) 

Returns:
The property that controls the horizontal tiling of an image.

Number DzDefaultMaterial::getIndexOfRefraction (  ) 

Returns:
The index of refraction for this material.
See also:
setIndexOfRefraction()

DzFloatProperty DzDefaultMaterial::getIndexOfRefractionControl (  ) 

Returns:
The property that controls the index of refraction.

DzBoolProperty DzDefaultMaterial::getMultThroughOpacityControl (  ) 

Returns:
The property that controls whether multiplication through opacity is enabled.

DzTexture DzDefaultMaterial::getNormalValueMap (  ) 

Returns:
Image for the nomal map.

DzImageProperty DzDefaultMaterial::getNormalValueMapControl (  ) 

Returns:
The property that controls the normal value map.

DzFloatProperty DzDefaultMaterial::getOpacityControl (  ) 

Returns:
The property that controls opacity.

Color DzDefaultMaterial::getReflectionColor (  ) 

Returns:
The reflection color for this material.
See also:
setReflectionColor()

DzFloatProperty DzDefaultMaterial::getReflectionColorControl (  ) 

Returns:
The property that controls reflection color.

DzTexture DzDefaultMaterial::getReflectionMap (  ) 

Returns:
The reflection map for this material.
See also:
setReflectionMap()

Number DzDefaultMaterial::getReflectionStrength (  ) 

Returns:
The reflection strength for this material.
See also:
setReflectionStrength()

DzFloatProperty DzDefaultMaterial::getReflectionStrengthControl (  ) 

Returns:
The property that controls reflection strength.

DzTexture DzDefaultMaterial::getReflectionValueMap (  ) 

Returns:
The reflection strength map for this material.
See also:
setReflectionValueMap()

Color DzDefaultMaterial::getRefractionColor (  ) 

Returns:
The refraction color for this material.
See also:
setRefractionColor()

DzFloatProperty DzDefaultMaterial::getRefractionColorControl (  ) 

Returns:
The property that controls refraction color.

DzTexture DzDefaultMaterial::getRefractionColorMap (  ) 

Returns:
The refraction map for this material.
See also:
setRefractionColorMap()

Number DzDefaultMaterial::getRefractionStrength (  ) 

Returns:
The refraction strength for this material.
See also:
setRefractionStrength()

DzFloatProperty DzDefaultMaterial::getRefractionStrengthControl (  ) 

Returns:
The property that controls refraction strength.

DzTexture DzDefaultMaterial::getRefractionValueMap (  ) 

Returns:
The refraction strength map for this material.
See also:
setRefractionValueMap()

Color DzDefaultMaterial::getSpecularColor (  ) 

Returns:
The specular color for this material.
See also:
setSpecularColor()

DzFloatProperty DzDefaultMaterial::getSpecularColorControl (  ) 

Returns:
The property that controls specular color.

DzTexture DzDefaultMaterial::getSpecularColorMap (  ) 

Returns:
The specular color map for this material.
See also:
setSpecularColorMap()

Number DzDefaultMaterial::getSpecularStrength (  ) 

Returns:
The specular strength for this material.
See also:
setSpecularStrength()

DzFloatProperty DzDefaultMaterial::getSpecularStrengthControl (  ) 

Returns:
The property that controls specular strength.

DzTexture DzDefaultMaterial::getSpecularValueMap (  ) 

Returns:
The specular strength map for this material.
See also:
setSpecularValueMap()

Number DzDefaultMaterial::getSurfaceType (  ) 

Returns:
The surface type for this material.
See also:
setSurfaceType()

DzFloatProperty DzDefaultMaterial::getSurfaceTypeControl (  ) 

Returns:
The property that controls surface type.

Number DzDefaultMaterial::getVerticalOffset (  ) 

Returns:
The vertical offset value.
See also:
setVerticalOffset()

DzFloatProperty DzDefaultMaterial::getVerticalOffsetControl (  ) 

Returns:
The property that controls the vertical offset of an image.

Number DzDefaultMaterial::getVerticalTiles (  ) 

Returns:
The number of vertical tiles.
See also:
setVerticalTiles()

DzFloatProperty DzDefaultMaterial::getVerticalTilesControl (  ) 

Returns:
The property that controls the vertical tiling of an image.

Boolean DzDefaultMaterial::isMultThroughOpacity (  ) 

Returns:
The value of the multiply through opacity parameter.
See also:
setMultThroughOpacity()

Boolean DzDefaultMaterial::needsTangentSpaceParams (  ) 

Returns:
Whether the renderman geometry needs the additional dPds adm dPdsM parameters,used for some shaders
See also:
needsTangentSpaceParams()
Overriden by derived classes to indicate if they needs the additional dPds and dPdsM parameters

void DzDefaultMaterial::setAmbientColor ( Color  color  ) 

Set the ambient color for this material.

Parameters:
color The new ambient color for the material.
See also:
getAmbientColor()

void DzDefaultMaterial::setAmbientColorMap ( DzTexture  img  ) 

Set the ambient color map for this material.

Parameters:
img The new ambient color map for the material.
See also:
getAmbientColorMap()

void DzDefaultMaterial::setAmbientStrength ( Number  val  ) 

Set the ambient strength for this material.

Parameters:
val The new ambient strength for the material.
See also:
getAmbientStrength()

void DzDefaultMaterial::setAmbientValueMap ( DzTexture  img  ) 

Set the ambient strength map for this material.

Parameters:
img The new ambient strength map for this material.
See also:
getAmbientValueMap()

void DzDefaultMaterial::setBumpMap ( DzTexture  img  ) 

Set the map for the bump strength channel.

Parameters:
img The new bump map for this material.
See also:
getBumpMap()

void DzDefaultMaterial::setBumpMax ( Number  val  ) 

Set the maximum bump for this material.

Parameters:
val The new bump maximum
See also:
getBumpMax()

void DzDefaultMaterial::setBumpMin ( Number  val  ) 

Set the minimum bump for this material.

Parameters:
val The new bump minimum.
See also:
getBumpMin()

void DzDefaultMaterial::setBumpStrength ( Number  val  ) 

Set the bump strength for this material.

Parameters:
val The new bump strength for this material.
See also:
getBumpStrength()

void DzDefaultMaterial::setDiffuseStrength ( Number  val  ) 

Set the diffuse strength for this material.

Parameters:
val The new diffuse strength for the material.
See also:
getDiffuseStrength()

void DzDefaultMaterial::setDiffuseValueMap ( DzTexture  img  ) 

Set the diffuse strength map for this material.

Parameters:
img The new diffuse strength map for the material.
See also:
getDiffuseValueMap()

void DzDefaultMaterial::setDisplacementMap ( DzTexture  img  ) 

Set the displacement map for this material.

Parameters:
img The new displacement map for the material.
See also:
getDisplacementMap()

void DzDefaultMaterial::setDisplacementMax ( Number  val  ) 

Set the maximum displacement for this material.

Parameters:
val The new maximum displacement for this material.
See also:
getDisplacementMax()

void DzDefaultMaterial::setDisplacementMin ( Number  val  ) 

Set the minimum displacement for this material.

Parameters:
val The new minimum displacement for this material.
See also:
getDisplacementMin()

void DzDefaultMaterial::setDisplacementStrength ( Number  val  ) 

Set the displacement strength for this material.

Parameters:
val The new displacement strength for this material
See also:
getDisplacementStrength()

void DzDefaultMaterial::setGlossinessStrength ( Number  size  ) 

Set glossiness for this material.

Parameters:
size The new highlight size (glossiness) for the material.
See also:
getGlossinessStrength()

void DzDefaultMaterial::setGlossinessValueMap ( DzTexture  img  ) 

Set glossiness value map for this material.

Parameters:
img A pointer to the new glossiness value map for the material. NULL to clear the map.
See also:
getGlossinessValueMap()

void DzDefaultMaterial::setHorizontalTiles ( Number  tiles  ) 

Set the horizontal tiling for the material

Parameters:
tiles The number of horizontal tiles for the material
See also:
getHorizontalTiles()

void DzDefaultMaterial::setIndexOfRefraction ( Number  val  ) 

Set the index of refraction for this material.

Parameters:
val The new index of refraction for the material.
See also:
getIndexOfRefraction()

void DzDefaultMaterial::setMultThroughOpacity ( Boolean  onOff  ) 

Set the multiply through opacity parameter. If true, Specular highlights are multiplied through the opacity of the material (i.e. a transparent material will not show specular highlights). If false, specular highlights can contribute to the local opacity of the material (i.e. transparent objects show highlights)

Parameters:
onOff Whether or not specularity is multiplied through opacity.
See also:
isMultThroughOpacity()

void DzDefaultMaterial::setNormalValueMap ( DzTexture  img  ) 

Set the normal map for this material.

Parameters:
img A pointer to the new map map for the material. NULL to clear the map.
See also:
getNormalValueMap()

void DzDefaultMaterial::setReflectionColor ( Color  color  ) 

Set the reflection color for this material.

Parameters:
color The new reflection color for the material.
See also:
getReflectionColor()

void DzDefaultMaterial::setReflectionMap ( DzTexture  img  ) 

Set the reflection map for this material.

Parameters:
img The new reflection map for the material.
See also:
getReflectionMap()

void DzDefaultMaterial::setReflectionStrength ( Number  val  ) 

Set the reflection strength for this material.

Parameters:
val The new reflection strength for the material.
See also:
getReflectionStrength()

void DzDefaultMaterial::setReflectionValueMap ( DzTexture  img  ) 

Set reflection strength map for this material.

Parameters:
The new reflection strength map for the material.
See also:
getReflectionValueMap()

void DzDefaultMaterial::setRefractionColor ( Color  color  ) 

Set the refraction color for this material.

Parameters:
color The new refraction color for the material.
See also:
getRefractionColor()

void DzDefaultMaterial::setRefractionColorMap ( DzTexture  img  ) 

Set the refraction color map for this material.

Parameters:
img The new refraction color map for the material.
See also:
getRefractionColorMap()

void DzDefaultMaterial::setRefractionStrength ( Number  val  ) 

Set the refraction strength for this material.

Parameters:
val The new refraction strength for the material.
See also:
getRefractionStrength()

void DzDefaultMaterial::setRefractionValueMap ( DzTexture  img  ) 

Set the refraction strength map for this material.

Parameters:
img A pointer to the new refraction strength map for the material. NULL to clear the map.
See also:
getRefractionValueMap()

void DzDefaultMaterial::setSpecularColor ( Color  color  ) 

Set base specular color for this material.

Parameters:
color The new specular color for the material
See also:
getSpecularColor()

void DzDefaultMaterial::setSpecularColorMap ( DzTexture  img  ) 

Set the specular color map for this material.

Parameters:
img A pointer to the new specular color map for the material. NULL to clear the map.
See also:
getSpecularColorMap()

void DzDefaultMaterial::setSpecularStrength ( Number  size  ) 

Set base specular strength for this material.

Parameters:
size The new specular strength for the material.
See also:
getSpecularStrength()

void DzDefaultMaterial::setSpecularValueMap ( DzTexture  img  ) 

Set specular strength map for this material.

Parameters:
img A pointer to the new specular strength map for the material. NULL to clear the map.
See also:
getSpecularValueMap()

void DzDefaultMaterial::setSurfaceType ( Number  val  ) 

Set the surface type for this material.

Parameters:
val The index of the surface type for the material.
See also:
getSurfaceType()

void DzDefaultMaterial::setVerticalOffset ( Number  offset  ) 

Set the vertical offset for the material

Parameters:
tiles The value of the vertical offset in each tile for the material
See also:
setVerticalOffset()

void DzDefaultMaterial::setVerticalTiles ( Number  tiles  ) 

Set the vertical tiling for the material

Parameters:
tiles The number of vertical tiles for the material.
See also:
getVerticalTiles()


Generated on Thu Sep 24 12:21:11 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.