Salome HOME
First step for the "21793: [CEA 625] Clipping : from coordinates or from bounding...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_VTKUtils.h
index e571f30bb2aedff2f215cf6b0f879264ef851647..c45edf22f37649f66d19b7710a1eb0e38d4dbde0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013  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
@@ -206,6 +206,14 @@ SMESHGUI_EXPORT
                                        double theDist,
                                        double theBounds[6],
                                        double theOrigin[3] );
+
+  bool ComputeBounds( std::list<vtkActor*> theActorList,
+                      double theBounds[6]);
+
+  void PositionToDistance( double theBounds[6],
+                           double theDirection[3],
+                           double thePos[3],
+                           double& theDist );
  SMESHGUI_EXPORT
    void RemoveVisualObjectWithActors( const char* theEntry, bool fromAllViews = false );
 };