Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to paraview 5.4
[modules/gui.git]
/
src
/
VTKViewer
/
VTKViewer_ConvexTool.cxx
diff --git
a/src/VTKViewer/VTKViewer_ConvexTool.cxx
b/src/VTKViewer/VTKViewer_ConvexTool.cxx
index 6e2fb20e3040d50bb28647e354ecdca45ce0cfbc..f15527b73d83c9aae6ab574adfecafc8b3c4cf2a 100644
(file)
--- a/
src/VTKViewer/VTKViewer_ConvexTool.cxx
+++ b/
src/VTKViewer/VTKViewer_ConvexTool.cxx
@@
-81,9
+81,9
@@
namespace
VTKViewer_Triangulator
::VTKViewer_Triangulator():
myCellIds(vtkIdList::New()),
VTKViewer_Triangulator
::VTKViewer_Triangulator():
myCellIds(vtkIdList::New()),
+ myPointIds(NULL),
myFaceIds(vtkIdList::New()),
myFaceIds(vtkIdList::New()),
- myPoints(vtkPoints::New()),
- myPointIds(NULL)
+ myPoints(vtkPoints::New())
{}
{}
@@
-200,7
+200,7
@@
VTKViewer_Triangulator
vtkCellData* theOutputCD,
int theStoreMapping,
std::vector<vtkIdType>& theVTK2ObjIds,
vtkCellData* theOutputCD,
int theStoreMapping,
std::vector<vtkIdType>& theVTK2ObjIds,
- std::
map< vtkIdType,
std::vector<vtkIdType> >& theDimension2VTK2ObjIds,
+ std::
vector<
std::vector<vtkIdType> >& theDimension2VTK2ObjIds,
bool theIsCheckConvex)
{
vtkPoints *aPoints = InitPoints(theInput, theCellId);
bool theIsCheckConvex)
{
vtkPoints *aPoints = InitPoints(theInput, theCellId);
@@
-573,7
+573,7
@@
VTKViewer_Triangulator
if(DEBUG_TRIA_EXECUTE) cout << "PoilygonId="<<aPolygonId<<" | ";
TConnectivities& aConnectivities = aPolygon.myConnectivities;
if(DEBUG_TRIA_EXECUTE) {
if(DEBUG_TRIA_EXECUTE) cout << "PoilygonId="<<aPolygonId<<" | ";
TConnectivities& aConnectivities = aPolygon.myConnectivities;
if(DEBUG_TRIA_EXECUTE) {
- for(
in
t i=0;i<aConnectivities.size();i++)
+ for(
size_
t i=0;i<aConnectivities.size();i++)
cout << aConnectivities[i] << ",";
cout << endl;
}
cout << aConnectivities[i] << ",";
cout << endl;
}