]> Creatis software - creaMaracasVisu.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 13:44:22 +0000 (14:44 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 13:44:22 +0000 (14:44 +0100)
bbtk/src/bbcreaMaracasVisuSetPosition.cxx

index 2bf174a72df2e8c5f766076a12751923782833a3..89bb7b7c64d5a504ee135a4b5242634a1af62b1a 100644 (file)
@@ -35,9 +35,9 @@ void SetPosition::Process()
                        if (bbGetInputPoint().size()==3)
                        {
 auto start1 = std::chrono::high_resolution_clock::now();
-                               vtkmprbasedata->SetX( bbGetInputPoint()[0] );
-                               vtkmprbasedata->SetY( bbGetInputPoint()[1] );
-                               vtkmprbasedata->SetZ( bbGetInputPoint()[2] );
+                               vtkmprbasedata->SetX( bbGetInputPoint()[0],false );
+                               vtkmprbasedata->SetY( bbGetInputPoint()[1],false );
+                               vtkmprbasedata->SetZ( bbGetInputPoint()[2],false );
 auto stop1       = std::chrono::high_resolution_clock::now();
 auto duration1   = std::chrono::duration_cast<std::chrono::microseconds>(stop1 - start1);
 printf("EED SetPosition::Process time= %ld  \n", duration1.count() , this->bbGetFullName().c_str() );