<parameter name="display_mode" value="0" />
<parameter name="shading_color" value="255, 255, 0" />
<parameter name="wireframe_color" value="255, 255, 0" />
- <parameter name="face_color" value="0, 255, 0" />
- <parameter name="edge_wire_color" value="255, 0, 0" />
+ <parameter name="free_bound_color" value="0, 255, 0" />
+ <parameter name="line_color" value="255, 0, 0" />
<parameter name="point_color" value="255, 255, 0" />
- <parameter name="isos_color" value="127, 127, 127" />
+ <parameter name="isos_color" value="200, 200, 200" />
</section>
</document>
msgid "PREF_WIREFRAME_COLOR"
msgstr "Default wireframe color"
-msgid "PREF_FACE_COLOR"
-msgstr "Color of faces"
+msgid "PREF_FREE_BOUND_COLOR"
+msgstr "Color of free boundaries"
-msgid "PREF_EDGE_WIRE_COLOR"
-msgstr "Color of edges and wires"
+msgid "PREF_LINE_COLOR"
+msgstr "Color of edges, vectors, wires"
msgid "PREF_POINT_COLOR"
msgstr "Color of points"
EdgeSProp->SetSpecularColor(red, green, blue);
// Wireframe for free edge
- aColor = aResMgr->colorValue( "Geometry", "face_color", QColor( 0, 255, 0 ) );
+ aColor = aResMgr->colorValue( "Geometry", "free_bound_color", QColor( 0, 255, 0 ) );
red = aColor.red()/255.0;
green = aColor.green()/255.0;
blue = aColor.blue()/255.0;
EdgeFProp->SetSpecularColor(red, green, blue);
// Wireframe for isolated edge
- aColor = aResMgr->colorValue( "Geometry", "edge_wire_color", QColor( 255, 0, 0 ) );
+ aColor = aResMgr->colorValue( "Geometry", "line_color", QColor( 255, 0, 0 ) );
red = aColor.red()/255.0;
green = aColor.green()/255.0;
blue = aColor.blue()/255.0;
continue;
}
- /* PAL12858: we should to unify colors with OCC
// compute the number of faces
Standard_Integer nbf = edgemap.FindFromKey(ex2.Current()).Extent();
GEOM_Actor* EdgeActor = GEOM_Actor::New();
EdgeActor->SetWireframeProperty(EdgeSProp);
}
}
- */
- GEOM_Actor* EdgeActor = GEOM_Actor::New();
- EdgeActor->SubShapeOn();
- EdgeActor->setInputShape(ex2.Current(),deflection,mode);
-
- if ( myShape.ShapeType() == 4 )
- {
- EdgeActor->SetShadingProperty(EdgeFProp);
- EdgeActor->SetWireframeProperty(EdgeFProp);
- }
- else
- {
- EdgeActor->SetShadingProperty(EdgeSProp);
- EdgeActor->SetWireframeProperty(EdgeSProp);
- }
EdgeActor->SetPreviewProperty(EdgePVProp);
AISActors->AddItem(EdgeActor);