Commit Graph

1785 Commits

Author SHA1 Message Date
eap
257a9fdff2 Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  COMPERR_CANCELED       = -11  //!< compute canceled
2012-07-20 16:12:39 +00:00
eap
6d10682edc Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+        <source>COMPERR_CANCELED</source>
+        <translation>Computation canceled</translation>
2012-07-20 16:12:27 +00:00
eap
c553d12402 Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+      CASE2TEXT( COMPERR_CANCELED      );
2012-07-20 16:12:16 +00:00
eap
1d6e1db451 -#ifdef WITH_SMESH_CANCEL_COMPUTE 2012-07-20 16:11:59 +00:00
eap
a08c336e83 remove commented obsolete code 2012-07-20 16:11:41 +00:00
eap
7c5dc4f006 Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  volatile bool _computeCanceled; //!< is set to True while computing to stop it
2012-07-20 16:11:12 +00:00
eap
0a45cd504a Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+    COMPERR_CANCELED         // compute canceled
2012-07-20 16:10:45 +00:00
eap
d86ab55200 0021723: EDF SMESH: Calculation of Aspect Ratio
Verdict Geometric Quality Library is not used for triangles
2012-07-20 11:45:37 +00:00
inv
f2e7ef1458 Fix compilation on Debian
-  typedef SMDS_SetIterator< const _QuadFaceGrid&, TChildren::const_iterator > TChildIterator;
+  typedef SMDS_SetIterator< const _QuadFaceGrid&,
+                            TChildren::const_iterator,
+                            SMDS::SimpleAccessor<const _QuadFaceGrid&,TChildren::const_iterator>,
+                            SMDS::PassAllValueFilter<_QuadFaceGrid> >
+    TChildIterator;
2012-07-20 10:14:08 +00:00
eap
be115771d7 0021723: EDF SMESH: Calculation of Aspect Ratio
Formula from The Verdict Geometric Quality Library available within
VTK is used
2012-07-20 09:17:17 +00:00
eap
1d17e561d7 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes 2012-07-19 13:26:17 +00:00
eap
392aa8c6a1 +#include <TopoDS_Vertex.hxx> 2012-07-19 13:26:01 +00:00
eap
664466f716 +#include <TopoDS_Face.hxx> 2012-07-19 13:25:51 +00:00
eap
7f92b57200 fix creation of polyhedrons 2012-07-19 13:25:39 +00:00
eap
84f887e8f5 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  CORBA::Long AddBall(CORBA::Long IDOfNodem, CORBA::Double diameter)

-  SMESH::long_array_var myLastCreatedElems;
-  SMESH::long_array_var myLastCreatedNodes;
+  ::SMESH_MeshEditor myEditor;
2012-07-19 13:23:51 +00:00
eap
b6c4d708d5 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  GROUP_BALL,
2012-07-19 13:20:15 +00:00
eap
e519caf020 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+        void AddBall(int NewBallID, int node, double diameter);
2012-07-19 13:19:53 +00:00
eap
71fffb2772 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  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);
2012-07-19 13:19:31 +00:00
eap
9f32eead4d 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  SMESHDS_AddBall
2012-07-19 13:19:03 +00:00
eap
232eb75e76 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  inline void AddBallsWithID(SMDS_Mesh*            theMesh,
2012-07-19 13:18:27 +00:00
eap
06abe76e03 + * Creates LINEAR!!!!!!!!! octahedron 2012-07-19 13:18:07 +00:00
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