Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
54353: Mesh group is not updated in VTK
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_VTKUtils.h
diff --git
a/src/SMESHGUI/SMESHGUI_VTKUtils.h
b/src/SMESHGUI/SMESHGUI_VTKUtils.h
index e571f30bb2aedff2f215cf6b0f879264ef851647..0f47edb71a08bb88c5c8bf3d255415205083333c 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_VTKUtils.h
+++ b/
src/SMESHGUI/SMESHGUI_VTKUtils.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-40,7
+40,8
@@
#include <SALOME_InteractiveObject.hxx>
#include <VTKViewer_Filter.h>
#include <SALOME_InteractiveObject.hxx>
#include <VTKViewer_Filter.h>
-class TColStd_IndexedMapOfInteger;
+// OCCT includes
+#include <TColStd_IndexedMapOfInteger.hxx>
class SALOMEDSClient_Study;
class SALOMEDSClient_Study;
@@
-119,7
+120,7
@@
SMESHGUI_EXPORT
bool UpdateView( EDisplaing, const char* = "" );
SMESHGUI_EXPORT
bool UpdateView( EDisplaing, const char* = "" );
SMESHGUI_EXPORT
- void UpdateView();
+ void UpdateView(
bool withChildrenOfSelected = false
);
SMESHGUI_EXPORT
bool UpdateNulData( const Handle(SALOME_InteractiveObject)& theIO, bool theDisplay);
SMESHGUI_EXPORT
bool UpdateNulData( const Handle(SALOME_InteractiveObject)& theIO, bool theDisplay);
@@
-206,6
+207,14
@@
SMESHGUI_EXPORT
double theDist,
double theBounds[6],
double theOrigin[3] );
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 );
};
SMESHGUI_EXPORT
void RemoveVisualObjectWithActors( const char* theEntry, bool fromAllViews = false );
};