diff --git a/src/IVtkOCC/IVtkOCC_Shape.hxx b/src/IVtkOCC/IVtkOCC_Shape.hxx index 3d1971109d..11a4f160ec 100644 --- a/src/IVtkOCC/IVtkOCC_Shape.hxx +++ b/src/IVtkOCC/IVtkOCC_Shape.hxx @@ -38,7 +38,7 @@ public: //! Destructor Standard_EXPORT virtual ~IVtkOCC_Shape(); - IVtk_IdType GetSubShapeId (const IVtk_IShape::Handle&) const; + Standard_EXPORT IVtk_IdType GetSubShapeId (const IVtk_IShape::Handle&) const; DEFINE_STANDARD_RTTIEXT(IVtkOCC_Shape,IVtk_IShape) @@ -56,7 +56,7 @@ public: //! modified by some operation. //! @param [in] subShape sub-shape whose ID is returned //! @return local ID of the sub-shape. - IVtk_IdType GetSubShapeId (const TopoDS_Shape& theSubShape) const; + Standard_EXPORT IVtk_IdType GetSubShapeId (const TopoDS_Shape& theSubShape) const; //! Get ids of sub-shapes composing a sub-shape with the given id Standard_EXPORT IVtk_ShapeIdList GetSubIds (const IVtk_IdType) const Standard_OVERRIDE; diff --git a/src/IVtkTools/IVtkTools_ShapeDataSource.hxx b/src/IVtkTools/IVtkTools_ShapeDataSource.hxx index 81401e3f8d..6aa56688bb 100644 --- a/src/IVtkTools/IVtkTools_ShapeDataSource.hxx +++ b/src/IVtkTools/IVtkTools_ShapeDataSource.hxx @@ -98,7 +98,7 @@ private: IVtkTools_ShapeDataSource (const IVtkTools_ShapeDataSource&); IVtkTools_ShapeDataSource& operator= (const IVtkTools_ShapeDataSource&); -private: +protected: IVtkOCC_Shape::Handle myOccShape; //!< Shape wrapper used as an input. IVtkVTK_ShapeData::Handle myPolyData; //!< Polygonal representation of shape.