+ Standard_EXPORT virtual bool IsNodeFilter() const;
+
+public:
+ DEFINE_STANDARD_RTTIEXT(SMESHGUI_VolumesFilter,SMESHGUI_Filter)
+};
+
+/*
+ Class : SMESHGUI_VolumeShapeFilter
+ Description : Verify whether selected cell is a volume of a certain shape
+*/
+
+DEFINE_STANDARD_HANDLE(SMESHGUI_VolumeShapeFilter, SMESHGUI_Filter)
+
+class SMESHGUI_VolumeShapeFilter : public SMESHGUI_Filter
+{
+ SMDSAbs_GeometryType myGeometryType;
+public:
+ Standard_EXPORT SMESHGUI_VolumeShapeFilter(const SMDSAbs_GeometryType shape);
+
+ Standard_EXPORT virtual bool IsValid( const int ) const;
+ Standard_EXPORT virtual bool IsObjValid( const int ) const;
+ Standard_EXPORT virtual int GetId() const;
+ Standard_EXPORT virtual bool IsNodeFilter() const;
+
+ Standard_EXPORT static int GetId( SMDSAbs_GeometryType geom );