Hello all,

We removed the legacy mitkMaterialProperty and replaced its functionality with 
standard properties attached to the datanode.

Surfaces can now have a variable number of properties (depending on bound 
shaders), and mitkMaterialProperty would have to manage a propertylist, but the 
mitkMaterialProperty was already itself a member of such a list.
The new properties (standard color and float properties) are:

 *   material.ambientColor
 *   material.diffuseColor (not a defined default property when creating a MITK 
surface)
 *   material.specularColor
 *   material.wireframeLineWidth
 *   material.ambientCoefficient
 *   material.diffuseCoefficient
 *   material.specularCoefficient
 *   material.specularPower
 *   material.representation
 *   material.interpolation
if material.diffuseColor is not defined, the surface mapper will take this 
color from the standard "color" property.
This is to stay backwards compatible with the old usage of MITK surfaces.

mitkMaterialProperty is used in the old QT3 
MaterialEditor<http://mitk.org/wiki/MaterialEditior>, which also became 
obsolete and has been removed. It has already an QT4-equivalent with shader 
support (though not with the complete functionality)

mitkMaterialProperty was also used in the vesseltreelookup classes, in a map 
from vessel type/label to a material, however only as a material definition 
container and it didn't use any of the property features. The vesseltree lookup 
tables now use a stripped form of the mitkMaterialProperty called mitkMaterial 
which has its inheritance of mitkBaseProperty removed.

Best regards,

Markus
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to