VISU_ScalarMapAct::VISU_ScalarMapAct(){
myScalarBar = VISU_ScalarBarActor::New();
- GetProperty()->FrontfaceCullingOff();
- GetProperty()->BackfaceCullingOff();
+
+ vtkProperty* aProperty = GetProperty();
+ aProperty->SetAmbient(0.5);
+ aProperty->SetDiffuse(0.2);
+ aProperty->SetSpecular(0.2);
+ //aProperty->SetAmbient(1.0);
+ //aProperty->SetDiffuse(0.0);
+ //aProperty->SetSpecular(0.0);
+
+ myProperty->DeepCopy(aProperty);
}
VISU_ScalarMapAct::~VISU_ScalarMapAct(){