1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0027671: Basic IVtk tools do not allow easy sub-classing

Add missing Standard_EXPORT, change private with protected in shape data source.
This commit is contained in:
ssv
2016-07-11 11:30:09 +03:00
committed by bugmaster
parent c4684140fb
commit a7cc4fdd0d
2 changed files with 3 additions and 3 deletions

View File

@@ -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;