-// Copyright (C) 2010-2019 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2010-2020 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
void SMDS_BallElement::init(const SMDS_MeshNode * node, double diameter )
{
- int nodeVtkID = node->GetVtkID();
+ vtkIdType nodeVtkID = node->GetVtkID();
int vtkID = getGrid()->InsertNextLinkedCell( toVtkType( SMDSEntity_Ball ), 1, &nodeVtkID );
setVtkID( vtkID );
getGrid()->SetBallDiameter( GetVtkID(), diameter );