Salome HOME
Remove unnecessary dependency on VTK from GEOM engine
[modules/geom.git] / src / VTKPlugin / VTKPlugin_ExportDriver.cxx
index 1242f4468c471dd9c5bbba97eb0eb47121c35d10..e6cc92780b77c2541813318f53347e4bf79b5e82 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  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
@@ -94,7 +94,7 @@ Standard_Integer VTKPlugin_ExportDriver::Execute( TFunction_Logbook& log ) const
     // Set "C" numeric locale to save numbers correctly
     Kernel_Utils::Localizer loc;
 
-    vtkPolyData* pd = GEOM::GetData( aShape, aDeflection );
+    vtkPolyData* pd = GEOM::GetVTKData( aShape, aDeflection );
     vtkPolyDataWriter* aWriter = vtkPolyDataWriter::New();    
     aWriter->SetInputData( pd );
     aWriter->SetFileName( aFileName.ToCString() );