0029902: Data Exchange, XCAF - provide extended Material definition for visualization...
[occt.git] / src / VrmlData / VrmlData_ShapeConvert.hxx
index f7e2eb0..0c3361e 100644 (file)
@@ -28,7 +28,7 @@ class VrmlData_Coordinate;
 class TopoDS_Face;
 class Poly_Polygon3D;
 class Poly_Triangulation;
-class XCAFDoc_ColorTool;
+class XCAFPrs_Style;
 class TDocStd_Document;
 class TDF_Label;
 
@@ -129,9 +129,8 @@ class VrmlData_ShapeConvert
                  const TDF_Label& theLabel,
                  const Handle(TDocStd_Document)& theDoc);
 
-  Handle(VrmlData_Appearance) makeMaterialFromColor(const TDF_Label& theColorL,
-                                                    const Handle(XCAFDoc_ColorTool)& theColorTool) const;
-
+  Handle(VrmlData_Appearance) makeMaterialFromStyle (const XCAFPrs_Style& theStyle,
+                                                     const TDF_Label& theAttribLab) const;
 
  private:
   // ---------- PRIVATE FIELDS ----------