1) VTK viewer: change edges color for wireframe mode after change the color of the shape.
myOneFaceEdgeActor->GetProperty()->SetColor(r,g,b); // standalone face edge color (Wireframe)
mySharedEdgeActor->GetProperty()->SetColor(r,g,b); // share edge color (Wireframe)
}
+
+ StoreBoundaryColors();
}
void GEOM_Actor::GetColor(vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointType& b)
void GEOM_Actor::StoreBoundaryColors()
{
- mySharedEdgeActor->GetProperty()->GetColor(myEdgesInWireframeColor);
+ myShadingFaceProp->GetColor(myEdgesInWireframeColor);
+
}
void GEOM_Actor::RestoreBoundaryColors()