0024892: AIS_TexturedShape::ShowTriangles overloads mismatch
[occt.git] / src / AIS / AIS_TexturedShape.hxx
index 8bec8f2..e87063f 100644 (file)
 
 class Graphic3d_AspectFillArea3d;
 class Graphic3d_Texture2Dmanual;
-class TopoDS_Shape;
-class TCollection_AsciiString;
-class PrsMgr_PresentationManager3d;
-class Prs3d_Presentation;
 
 //! This class allows to map textures on shapes.
 //! Presentations modes AIS_WireFrame (0) and AIS_Shaded (1) behave in the same manner as in AIS_Shape,
@@ -102,6 +98,9 @@ public: //! @name methods to alter texture mapping properties
   //! @endcode
   Standard_EXPORT void UpdateAttributes();
 
+  //! Sets the color
+  Standard_EXPORT virtual void SetColor (const Quantity_Color& theColor);
+
   //! Enables texture modulation
   Standard_EXPORT void EnableTextureModulate();
 
@@ -159,7 +158,7 @@ public: //! @name methods to alter texture mapping properties
   Standard_Boolean ShowTriangles() const { return myToShowTriangles; }
 
   //! Use this method to show the triangulation of the shape (for debugging etc.).
-  Standard_EXPORT void ShowTriangles (const Standard_Boolean theToShowTriangles = Standard_False);
+  Standard_EXPORT void ShowTriangles (const Standard_Boolean theToShowTriangles);
 
   //! @return true if texture color modulation is turned on
   Standard_Boolean TextureModulate() const { return myModulate; }