X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Filter_i.hxx;h=fa04ccbadc7063f8ba7152a92a905222c1a655b2;hb=a274ade365bd0f0e19d56c577acc4a13aa1972a7;hp=3643bd743d4f132dbdd8887f95363f4aabfeda31;hpb=f816f204d33b5250ee211247a798a1af42c528ea;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_Filter_i.hxx b/src/SMESH_I/SMESH_Filter_i.hxx index 3643bd743..fa04ccbad 100644 --- a/src/SMESH_I/SMESH_Filter_i.hxx +++ b/src/SMESH_I/SMESH_Filter_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -55,7 +55,7 @@ namespace SMESH */ struct NotifyerAndWaiter { - virtual void OnBaseObjModified(NotifyerAndWaiter* obj, bool removed) {}; + virtual void OnBaseObjModified(NotifyerAndWaiter* /*obj*/, bool /*removed*/) {}; // specific reaction on modification of a base object void Modified( bool removed=false, NotifyerAndWaiter* who = 0); @@ -99,6 +99,7 @@ namespace SMESH { public: CORBA::Double GetValue( CORBA::Long theElementId ); + CORBA::Boolean IsApplicable( CORBA::Long theElementId ); SMESH::Histogram* GetHistogram(CORBA::Short nbIntervals, CORBA::Boolean isLogarithmic); SMESH::Histogram* GetLocalHistogram(CORBA::Short nbIntervals, @@ -271,6 +272,22 @@ namespace SMESH Controls::Length2DPtr myLength2DPtr; }; + /* + Class : Length3D_i + Description : Functor for calculating length of edge + */ + class SMESH_I_EXPORT Length3D_i: public virtual POA_SMESH::Length3D, + public virtual NumericalFunctor_i + { + public: + Length3D_i(); + //SMESH::Length2D::Values* GetValues(); + FunctorType GetFunctorType(); + + protected: + Controls::Length3DPtr myLength3DPtr; + }; + /* Class : Deflection2D_i Description : Functor for calculating distance between a face and geometry @@ -805,13 +822,10 @@ namespace SMESH void SetElementType( ElementType theType ); void SetPoint( CORBA::Double x, CORBA::Double y, CORBA::Double z ); - void SetVertex( GEOM::GEOM_Object_ptr vertex ) - throw (SALOME::SALOME_Exception); - void SetNode ( CORBA::Long nodeID ) - throw (SALOME::SALOME_Exception); + void SetVertex( GEOM::GEOM_Object_ptr vertex ); + void SetNode ( CORBA::Long nodeID ); void SetThreshold ( const char* threshold, - SMESH::ConnectedElements::ThresholdType type ) - throw (SALOME::SALOME_Exception); + SMESH::ConnectedElements::ThresholdType type ); char* GetThreshold ( SMESH::ConnectedElements::ThresholdType& type ); private: @@ -996,7 +1010,11 @@ namespace SMESH GetElementsId( SMESH_Mesh_ptr ); virtual - ElementType + long_array* + GetElementsIdFromParts( const ListOfIDSources& theParts ); + + virtual + ElementType GetElementType(); virtual @@ -1099,6 +1117,7 @@ namespace SMESH MaxElementLength3D_ptr CreateMaxElementLength3D(); Length_ptr CreateLength(); Length2D_ptr CreateLength2D(); + Length3D_ptr CreateLength3D(); Deflection2D_ptr CreateDeflection2D(); NodeConnectivityNumber_ptr CreateNodeConnectivityNumber(); MultiConnection_ptr CreateMultiConnection();