Skip to content

Commit

Permalink
[OCTREE] More coding style review.
Browse files Browse the repository at this point in the history
  • Loading branch information
frozar committed Aug 29, 2017
1 parent d01dbd3 commit e7200f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/octree_viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<vtkCleanPolyData> cleanFilter = vtkSmartPointer<vtkCleanPolyData>::New ();

cleanFilter->SetInputConnection(appendFilter->GetOutputPort ());
cleanFilter->SetInputConnection (appendFilter->GetOutputPort ());
cleanFilter->Update ();

//Create a mapper and actor
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit e7200f9

Please sign in to comment.