}
//=========================================================================
-
-
-
//=========================================================================
IOStatus BlackBox::bbUpdateInputs()
vtkactor->GetProperty()->SetDiffuse(1);
vtkactor->GetProperty()->SetSpecular(0);
}
- vtkactor->GetProperty()->SetLineWidth( bbGetInputLineWidth() );
- vtkactor->GetProperty()->SetColor( bbGetInputColour()[0],
- bbGetInputColour()[1],
- bbGetInputColour()[2] );
- vtkactor->GetProperty()->SetOpacity( bbGetInputOpacity() );
+ vtkactor->GetProperty()->SetLineWidth( bbGetInputLineWidth() );
+ vtkactor->GetProperty()->SetColor( bbGetInputColour()[0], bbGetInputColour()[1], bbGetInputColour()[2] );
+ vtkactor->GetProperty()->SetOpacity( bbGetInputOpacity() );
+
+ vtkProperty *backfaceproperty = vtkProperty::New();
+ backfaceproperty->SetColor(0.5, 0.5, 1);
+ backfaceproperty->SetOpacity( bbGetInputOpacity() );
+ vtkactor->SetBackfaceProperty( backfaceproperty );
+
if ( bbGetInputTransform()!=NULL )
{
vtkactor->SetUserTransform( bbGetInputTransform() );