Commit 2feb10fd authored by Marcus D. Hanwell's avatar Marcus D. Hanwell

Removed commented code/classes from the test

Change-Id: I4d31ad229ef6eb9ee247cae5457e388344248a8f
parent 4ee20248
......@@ -18,7 +18,6 @@
#include "vtkActor.h"
#include "vtkCellArray.h"
#include "vtkPointData.h"
#include "vtkPolyDataNormals.h"
#include "vtkVBOPolyDataMapper.h"
#include "vtkPLYReader.h"
#include "vtkNew.h"
......@@ -44,16 +43,12 @@ int TestVBOPLYMapper(int argc, char *argv[])
vtkNew<vtkLightKit> lightKit;
lightKit->AddLightsToRenderer(renderer.Get());
const char* fileName = vtkTestUtilities::ExpandDataFileName(argc, argv,
"Data/dragon.ply");
vtkNew<vtkPLYReader> reader;
reader->SetFileName(fileName);
reader->Update();
//vtkNew<vtkPolyDataNormals> computeNormals;
//computeNormals->SetInputConnection(reader->GetOutputPort());
//computeNormals->Update();
mapper->SetInputConnection(reader->GetOutputPort());
actor->SetMapper(mapper.Get());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment