Load tags in MeshGmshLoader with hexa meshes

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@10783 b7f1a160-662a-0410-a6d8-bea165342f16
push 89e4f43..29264e3

* commit 29264e3877a8f20ab575e14d6f6211ade73992f2
CHANGE: Patch test with assembled solver.

   4 files changed, 9 insertions(+), 16 deletions(-)



git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@10784 b7f1a160-662a-0410-a6d8-bea165342f16
Merge git branch 'master', which contains a bunch of commits from InSimo

- FIX : Compilation Error
- FIX : Compilation error
- ADD : Scale & Translation transformations applied on SphereLoader.
- ADD: colors parameters for rendering in TetrahedralCorotationalFEMForceField
- Add: ForceFeedback::isEnabled()
- Recorder GUI is not used (broken in most scenes)
- ADD : Virtualize collision detection step based on canCollide() methods.
- FIX : CanCollide method called on each CollisionModel (FIX Bug of NarrowPhase tests called on CM in different Zones)
- ADD : Group info in the Collision stat widget.
- ADD : New option in LCPForceFeedback. If derivRotation is activated, the violation in rotation is computed.. false by default keep the current behavior.
- Small fixes :
  - Sixense SDK search paths (matching paths searched by H3D)
  - check for NaN in ForceFeedbackEffect
  - reset constraints stats when LCP is empty in GenericConstraintSolver
- FIX: compilation gcc
- WARNING: ADD checks in Base::processStream() to detect overflow log outputs and clear buffers after showing an error message (instead of leaking memory and eventually crashing)
- WARNING: ADD checks in Base::processStream() to detect overflow log outputs and clear buffers after showing an error message (instead of leaking memory and eventually crashing)
- GUI: read-only Data widgets are no longer disabled but flagged as read-only when possible (so it is possible to copy text values, use sliders to scroll, ...)
  This requires implementing a new setDataReadOnly(bool) method in all classes deriving from DataWidget.
- ADD : Improve addDForce performances in BendingSprings
- ADD: Visitor::childOrderReversed() method to indicate that child nodes should be traversed in reversed order.
- ADD: flag in GenericConstraintSolver to use it when accumulating constraints.
- FIX: copy constructor of map_ptr_stable_compare
- FIX: TriangleModel FLAG_E12/FLAG_E23/FLAG_E31 semantic was incorrect
  ADD: TriangleModel flags for edges on boundaries of the topology
  ADD: LineModel points flags
  FIX: baryCoords computation and RigidDistance/Triangle test in RigidDistanceGridDiscreteIntersection
- RuleBasedContactManager: set Data group of variables to the name prefix if '_' is used
- FIX : problem selecting the point in and out of the layered zones
- CHANGE : add a new flag in SubsetTopology to compute local indices of a given set of global tetrahedra
- ADD: lines/edges rendering in addition to triangles and quads in VisualModelImpl and OglModel.
- Small visual-related changes to better handle Tag-based filtering :
  - DefaultVisualManagerLoop and OglViewport now copy their tags to the executed VisualDrawVisitor(s)
  - OglViewport(s) can optionally be disabled if the "Advanced Rendering" flag is not active
- WARNING: extend the Tag / TagSet classes to be able to send visitors that select objects with the following conditions :
  - a set of required tags (as previously)
  - a set of forbidden tags, using the syntax "!MyTag"
  - if the "0" Tag is specified in the set, any objects without any tags will also be selected
- BUGFIX: BaseObject::updateLinks() is no longer called when detaching from the scene graph, as it can lead to crashes
- BUGFIX: SetDataValuePython() was incorrectly using the read-only BaseData::getValueVoidPtr() method to write values instead of BaseData::beginEditVoidPtr() / BaseData::endEditVoidPtr().
  This is necessary so that when python scripts change Data values, any Data or engines linked to them are correctly updated.
- BUGFIX: Base::parse(BaseObjectDescription*) will no longer set the value of any Data named "type" as it is already used to define the type of object to instantiate
  Even if the XML syntax <Object type="MyType" ...> is deprecated since many years, the special "type" attribute is still used internally in many places in the code...
  This was the source of an error message in any XML file with a BaseCamera-derived component.
- FIX : getObject method returns NULL if the path is empty
- FIX: namespace pollution in Mesh2PointTopologicalMapping
- FIX: map_ptr_stable_compare. Make sure the stable_id_map is persistent across instances of the compare object by storing it at the container level. It is quite likely this inconsistency only happened on windows debug builds.
- UPDATE: FindSixense.cmake paths.
- SubsetMapping: replace definedSubsetSize Data with ignoreNotFound flag to implement support for partial mapping (points that are not found in the input model are treated as fixed particles)
- ADD: stats output informations in GenericConstraintSolver
- WARNING: declare Data<helper::vector<std::string> > as exported from SofaCore (otherwise other dll using such Data have duplicate definition errors on windows)
- CHANGE: CircularQueue now allows to pop multiple values at once, to be used for efficiently to transmit values from a high-frequency thread (haptic) to a slower one (display)
- CHANGE : add interpX method for flat triangles to endure compatibility between curve and flat triangles
- FIX: update of bending spring supports topological change (problems: point destruction & multiple triangle destructions)
- UPDATE: topological modification updates taken into account for TetrahedralTensorMassForceField
- FIX: topology changes update components QuadularBendingSpring TriangularBendingSprings TriangularTensorMassForceField MeshMatrixMass
  UPDATE: MeshSpringForceField handles springs with elongation constraints only
- UPDATE: temporary commit to solve problem with topology changes with bending springs
- FIX: update masses on vertices when topology changes
- CHANGE : topological changes are now taken into account (because a trip Strasbourg-Bayonne let a lot of time to work ;-) Need to be tested more precisely...


git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@10785 b7f1a160-662a-0410-a6d8-bea165342f16
push 13600bd..d1f73d1

* commit d1f73d1d51d87c7cc0d456050553fa11f1bb6769
Fix duplicated code in DiagonalMass

(Looks like a screwed up merge.)

   2 files changed, 0 insertions(+), 44 deletions(-)



git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@10786 b7f1a160-662a-0410-a6d8-bea165342f16
push d1f73d1..15c8d15

* commit 15c8d15fb32ba4a0b75be113cc32211d2a06f629
Fix compilation of tutorial objectCreator

   1 files changed, 1 insertions(+), 1 deletions(-)



git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@10787 b7f1a160-662a-0410-a6d8-bea165342f16
Add native support for python packages inside plugins

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@10788 b7f1a160-662a-0410-a6d8-bea165342f16
add a dummy python package to the PluginExample

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@10789 b7f1a160-662a-0410-a6d8-bea165342f16