FEM Mesh Analysis & Visualization in Model Module

I found source code inqMRMLModelDisplayNodeWidget.cxx.
in this source code. i can calcuate and set the color on each mesh from the input of Value in Model Display Widget UI ex. Threshold(Scalors section)