From e7200f9e576c5eaf5ad7c3235023567cb881001c Mon Sep 17 00:00:00 2001 From: frozar Date: Tue, 29 Aug 2017 17:37:04 +0200 Subject: [PATCH] [OCTREE] More coding style review. --- tools/octree_viewer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/octree_viewer.cpp b/tools/octree_viewer.cpp index 4e6a9e97f5c..0aea165b68f 100644 --- a/tools/octree_viewer.cpp +++ b/tools/octree_viewer.cpp @@ -287,16 +287,16 @@ class OctreeViewer wk_cubeSource->Update (); #if VTK_MAJOR_VERSION < 6 - appendFilter->AddInput(wk_cubeSource->GetOutput ()); + appendFilter->AddInput (wk_cubeSource->GetOutput ()); #else - appendFilter->AddInputData(wk_cubeSource->GetOutput ()); + appendFilter->AddInputData (wk_cubeSource->GetOutput ()); #endif } // Remove any duplicate points vtkSmartPointer cleanFilter = vtkSmartPointer::New (); - cleanFilter->SetInputConnection(appendFilter->GetOutputPort ()); + cleanFilter->SetInputConnection (appendFilter->GetOutputPort ()); cleanFilter->Update (); //Create a mapper and actor @@ -346,7 +346,7 @@ class OctreeViewer for (tree_it = octree.begin(depth); tree_it!=tree_it_end; ++tree_it) { if (tree_it.getCurrentOctreeDepth () != depth) - continue ; + continue; Eigen::Vector3f voxel_min, voxel_max; octree.getVoxelBounds(tree_it, voxel_min, voxel_max);