Commit Graph

1814 Commits

Author SHA1 Message Date
eap
bcaa0ad2ee 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
SMDS_MeshElement* AddElement(const std::vector<const SMDS_MeshNode*> & nodes,
                                const SMDSAbs_ElementType                 type,
                                const bool                                isPoly,
                                const int                                 ID = -1,
+                               const double                              ballDiameter=0.);

Adjust Transform() and FindElementsByPoint()
2012-07-19 13:17:43 +00:00
eap
baade10114 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  int NbBalls() const throw(SALOME_Exception);
2012-07-19 13:14:54 +00:00
eap
9f74998b92 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  void AllocateDiameters( vtkIdType maxVtkID );
+  void SetBallDiameter( vtkIdType vtkID, double diameter );
+  double GetBallDiameter( vtkIdType vtkID ) const;
2012-07-19 13:14:28 +00:00
eap
f738cc36e8 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
template<typename VALUE,
          typename VALUE_SET_ITERATOR,
          typename ACCESOR=SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>,
+         typename VALUE_FILTER=SMDS::PassAllValueFilter<VALUE> >
 class SMDS_SetIterator : public SMDS_Iterator<VALUE>
2012-07-19 13:14:09 +00:00
eap
ff0bf10f4a 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  int NbBalls()      const { return myNbBalls; }
2012-07-19 13:13:13 +00:00
eap
c353b35085 + some comments 2012-07-19 13:12:54 +00:00
eap
391cd4d010 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+SMDSAbs_ElementType toSmdsType(SMDSAbs_EntityType entityType)
+SMDSAbs_ElementType toSmdsType(SMDSAbs_GeometryType geomType)
2012-07-19 13:12:33 +00:00
eap
09b72334df 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  virtual SMDS_ElemIteratorPtr elementGeomIterator(SMDSAbs_GeometryType type) const;
+  virtual SMDS_ElemIteratorPtr elementEntityIterator(SMDSAbs_EntityType type) const;

+  virtual SMDS_BallElement* AddBallWithID(int n,                   double diameter, int ID);
+  virtual SMDS_BallElement* AddBallWithID(const SMDS_MeshNode * n, double diameter, int ID);
+  virtual SMDS_BallElement* AddBall      (const SMDS_MeshNode * n, double diameter);

+  const SMDS_BallElement* FindBall(int idnode) const;
+  static const SMDS_BallElement* FindBall(const SMDS_MeshNode * n);
+  virtual int NbBalls() const;

+  ObjectPool<SMDS_BallElement>* myBallPool;
2012-07-19 13:08:37 +00:00
eap
064c555726 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+        virtual SMDSAbs_GeometryType GetGeomType() const;
2012-07-19 13:06:39 +00:00
eap
2cafa22d7b 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+    SMDSAbs_Ball,
+    SMDSGeom_BALL,
+  SMDSEntity_Ball,
2012-07-19 12:55:55 +00:00
eap
1d17befa34 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+	SMDS_BallElement.hxx
2012-07-19 12:55:29 +00:00
eap
229db9cb6f 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes 2012-07-19 12:50:10 +00:00
eap
20bed398e1 shorten code 2012-07-19 12:49:09 +00:00
eap
61cd810fbe 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+    class SMESHCONTROLS_EXPORT BallDiameter: public virtual NumericalFunctor{
2012-07-19 12:47:14 +00:00
eap
e3fea174fd 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+    <parameter name="ball_elem_color"              value="100, 255,   0"/>
2012-07-19 12:46:41 +00:00
eap
0956ab60fa 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+	mesh_ball.png
2012-07-19 12:46:30 +00:00
eap
59aac15ed1 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  const long Tag_BallElementsGroups     = 16;
2012-07-19 12:45:29 +00:00
eap
f9d3bdb34d 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+    FT_BallDiameter,
2012-07-19 12:45:15 +00:00
eap
4fd207ba70 About "Use Existing Faces" stub algorithm 2012-07-19 12:44:41 +00:00
eap
562103aee9 mistake 2012-07-19 12:43:37 +00:00
eap
c4e4c8b73c fix GetSubMeshNodesId() 2012-07-18 12:41:15 +00:00
eap
171b3e8882 0021723: EDF SMESH: Calculation of Aspect Ratio
Use vtkMeshQuality::QuadAspectRatio()
2012-07-13 07:24:06 +00:00
eap
d51770096b 021720: EDF SMESH: Body Fitting hypothesis dialog - Switching between the definition mode resets the previous values 2012-07-11 16:10:38 +00:00
eap
e24d326fce Improve comments 2012-07-11 08:20:12 +00:00
eap
5ec880d561 + some precisions, references 2012-07-11 08:16:25 +00:00
eap
2ffb9e16df Some wodrs about "Change submesh priority" 2012-07-11 07:27:46 +00:00
eap
3e0fdd9e71 Some precisions, complete list of mesh file formats 2012-07-11 07:14:36 +00:00
gdd
b6a42581b8 Center image in doc 2012-07-10 16:09:01 +00:00
eap
31c3351c50 http://www.salome-platform.org/forum/forum_10/508123838#632325403 : Extrude3D doesn't work
Restore error reporting in the case where existing 1D mesh
  mismatches the projected 2D mesh
2012-07-09 08:35:37 +00:00
eap
187dac541f 0021676: EDF 2283 NETGENPLUGIN: Improve Netgen 1D-2D-3D to generate pyramids in case where input 2D mesh includes quadrangles
+  const TopoDS_Shape& GetShape() const { return myShape; }
2012-07-05 09:40:33 +00:00
eap
85abc582be 0021692: EDF 2314 : Hexaedron failure
Fix for the case where topologically neighboring faces composing a box
side are not neighboring within the list of sub-shapes of a box
2012-07-04 14:55:48 +00:00
gdd
889cfca686 Update translation files for the Reverse Faces dialog. 2012-07-04 12:20:52 +00:00
eap
30241e819e 0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
struct SMESH_TNodeXYZ : public gp_XYZ
 {
+  double               _xyz[3];
2012-07-02 13:26:36 +00:00
eap
2ee680b116 0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
Enable IsQuadraticSubMesh() work with compounds
2012-07-02 13:25:53 +00:00
eap
d34c6e3bd4 0021542: EDF 1699 SMESH: Reorient a group of faces
+	reorient_faces_point.png \
+	reorient_faces_face.png
2012-07-02 08:08:57 +00:00
eap
c210844f50 0021542: EDF 1699 SMESH: Reorient a group of faces 2012-06-29 13:58:07 +00:00
eap
3360cf7521 0021542: EDF 1699 SMESH: Reorient a group of faces
+	reorient_faces_point.png \
+	reorient_faces_face.png
2012-06-29 13:56:49 +00:00
eap
c28b4480af 0021542: EDF 1699 SMESH: Reorient a group of faces
+    def Reorient2D(self, the2DObject, theDirection, theFaceOrPoint ):
2012-06-29 13:56:13 +00:00
eap
8e5a97609f remove commented code 2012-06-29 13:55:31 +00:00
eap
356b0f81d3 0021542: EDF 1699 SMESH: Reorient a group of faces
+	SMESHGUI_ReorientFacesDlg.h \
2012-06-29 13:54:55 +00:00
eap
e42414f211 0021542: EDF 1699 SMESH: Reorient a group of faces
+    long Reorient2D(in SMESH_IDSource the2Dgroup,
+                    in DirStruct      theDirection,
+                    in long           theFace,
+                    in PointStruct    thePoint) raises (SALOME::SALOME_Exception);
2012-06-29 13:53:54 +00:00
eap
dbf098c68f 0021542: EDF 1699 SMESH: Reorient a group of faces
+  // Return height of the tree, full or from this level to topest leaf
+  int                    getHeight(const bool full=true) const;
2012-06-29 13:47:33 +00:00
eap
b998225160 0021542: EDF 1699 SMESH: Reorient a group of faces
namespace SMESHUtils
{
+  template <class TVECTOR>
+  void CompactVector(TVECTOR& vec)
}
2012-06-29 13:47:05 +00:00
eap
4847e994d9 0021542: EDF 1699 SMESH: Reorient a group of faces
a general treatment of sub-meshes passed as arguments not to move
  their creation at script end

+  void _pyGen::PlaceSubmeshAfterItsCreation( Handle(_pyCommand) theCmdUsingSubmesh ) const;
+  static bool _pySubMesh::CanBeArgOfMethod(const _AString& theMethodName);
2012-06-29 13:46:17 +00:00
eap
95a77fcb02 + CORBA::Long Reorient2D(SMESH::SMESH_IDSource_ptr the2Dgroup,
+                         const SMESH::DirStruct&   theDirection,
+                         CORBA::Long               theFace,
+                         const SMESH::PointStruct& thePoint) throw (SALOME::SALOME_Exception);
2012-06-29 13:43:18 +00:00
eap
c6bde687aa struct SMESH_ElementSearcher
{
+  virtual const SMDS_MeshElement* FindClosestTo( const gp_Pnt&       point,
+                                                 SMDSAbs_ElementType type) = 0;
 }
+  int Reorient2D (TIDSortedElemSet &       theFaces,
+                  const gp_Dir&            theDirection,
+                  const SMDS_MeshElement * theFace);

+  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );

+  void ElementBndBoxTree::getElementsInSphere ( const gp_XYZ&     center,
+                                                const double      radius,
+                                                TIDSortedElemSet& foundElems)
2012-06-29 13:41:37 +00:00
eap
6051d0caf8 struct SMESH_ElementSearcher
{
+  virtual const SMDS_MeshElement* FindClosestTo( const gp_Pnt&       point,
+                                                 SMDSAbs_ElementType type) = 0;
 }
+  int Reorient2D (TIDSortedElemSet &       theFaces,
+                  const gp_Dir&            theDirection,
+                  const SMDS_MeshElement * theFace);

+  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );
2012-06-29 13:40:11 +00:00
vsr
2f6ee50dcd 0021669: EDF 2262 SMESH: "Mesh information" takes a long time on small mesh with joint elements 2012-06-20 14:54:14 +00:00
eap
16f4d26534 Avoid synchronization with geom groups when closing a study
+  void setCurrentStudy( SALOMEDS::Study_ptr theStudy,
+                        bool                theStudyIsBeingClosed=false);
2012-06-20 12:25:16 +00:00
eap
aad57bda9f IPAL22856 2D quadrangle mesher of reduced type works wrong
change algorithm as requested by IPAL22856 - care of symmetry
2012-06-08 10:45:42 +00:00