Commit 91cf15d4 authored by Sean McBride's avatar Sean McBride

Removed commented includes and long-dead code

Checked with blame that deleted code is truely dead.
parent 43b55d81
......@@ -37,7 +37,6 @@
#include "vtkVoxel.h"
#include <deque>
//#include <set>
#include <vector>
#include <cassert>
......
......@@ -15,7 +15,6 @@
#include "vtkTreeIterator.h"
//#include "vtkObjectFactory.h"
#include "vtkTree.h"
vtkTreeIterator::vtkTreeIterator()
......
......@@ -45,7 +45,6 @@
#include "vtkTree.h"
#include "vtkTreeLayoutStrategy.h"
#include "vtkVariant.h"
//#include "vtkXMLTreeReader.h"
#define VTK_CREATE(type, name) \
vtkSmartPointer<type> name = vtkSmartPointer<type>::New()
......@@ -198,16 +197,6 @@ int TestGraphHierarchicalBundle(int argc, char* argv[])
}
graph = g;
}
#if 0
else
{
VTK_CREATE(vtkXMLTreeReader, reader);
reader->SetFileName(file);
reader->Update();
graph = reader->GetOutput();
graph->Register(0);
}
#endif
//for (vtkIdType a = 0; a < graph->GetNumberOfEdges(); a++)
// {
......
......@@ -32,7 +32,6 @@
#include "vtkCellData.h"
#include "vtkPointData.h"
#include "vtkCell.h"
//#include "vtkXMLImageDataWriter.h"
#include "vtkExtentRCBPartitioner.h"
#include "vtkUniformGridPartitioner.h"
#include "vtkDataArray.h"
......@@ -1317,34 +1316,3 @@ vtkUniformGrid* vtkAMRResampleFilter::GetReferenceGrid(
// This process has no grids
return NULL;
}
// //-----------------------------------------------------------------------------
// void vtkAMRResampleFilter::WriteUniformGrid(
// double origin[3], int dims[3], double h[3],
// std::string prefix )
// {
// vtkUniformGrid *grd = vtkUniformGrid::New();
// grd->SetOrigin( origin );
// grd->SetSpacing( h );
// grd->SetDimensions( dims );
// this->WriteUniformGrid( grd, prefix );
// grd->Delete();
// }
// //-----------------------------------------------------------------------------
// void vtkAMRResampleFilter::WriteUniformGrid(
// vtkUniformGrid *g, std::string prefix )
// {
// assert( "pre: Uniform grid (g) is NULL!" && (g != NULL) );
// vtkXMLImageDataWriter *imgWriter = vtkXMLImageDataWriter::New();
// std::ostringstream oss;
// oss << prefix << "." << imgWriter->GetDefaultFileExtension();
// imgWriter->SetFileName( oss.str().c_str() );
// imgWriter->SetInputData( g );
// imgWriter->Write();
// imgWriter->Delete();
// }
......@@ -31,8 +31,6 @@
#include <vtkRenderWindowInteractor.h>
#include "vtkRegressionTestImage.h"
//#include <iostream>
// Create a cone, contour it using the banded contour filter and
// color it with the primary additive and subtractive colors.
int TestNamedColorsIntegration(int argc, char* argv[])
......
......@@ -18,7 +18,6 @@
#include "vtkInformationVector.h"
#include "vtkObjectFactory.h"
#include "vtkPolyData.h"
//#include "vtkDiskSource.h"
#include "vtkLineSource.h"
#include "vtkRotationalExtrusionFilter.h"
#include "vtkMath.h"
......
......@@ -18,7 +18,6 @@
----------------------------------------------------------------------------*/
#include "LSDynaFamily.h"
//#include "vtksys/SystemTools.hxx"
#include <errno.h>
#include <ctype.h>
......
......@@ -42,7 +42,6 @@
#include "vtkRenderWindowInteractor.h"
#include "vtkSimple2DLayoutStrategy.h"
#include "vtkSmartPointer.h"
//#include "vtkBoostSplitTableField.h"
#include "vtkStringArray.h"
#include "vtkStringToCategory.h"
#include "vtkTable.h"
......@@ -176,10 +175,6 @@ int TestTableToGraph(int argc, char* argv[])
delete[] file;
reader->SetHaveHeaders(true);
//VTK_CREATE(vtkBoostSplitTableField, split);
//split->SetInputConnection(reader->GetOutputPort());
//split->AddField("Categories", ";");
// Create a simple person table.
VTK_CREATE(vtkTable, personTable);
VTK_CREATE(vtkStringArray, nameArr);
......
......@@ -30,7 +30,6 @@
#include "vtkSelection.h"
#include "vtkSmartPointer.h"
//#include <iterator>
#include <vector>
/// Defines storage for a collection of edges
......
......@@ -20,7 +20,6 @@
#include "vtkActor.h"
#include "vtkActor2D.h"
//#include "vtkDynamic2DLabelMapper.h"
#include "vtkGlyph3D.h"
#include "vtkGraphLayout.h"
#include "vtkGraphToPolyData.h"
......@@ -163,21 +162,6 @@ int TestGroupLeafVertices(int argc, char* argv[])
polyActor->SetMapper(polyMapper);
polyActor->GetProperty()->SetColor(0.3, 0.3, 1.0);
//
// Make some labels
//
#if 0
VTK_CREATE(vtkDynamic2DLabelMapper, labelMapper);
labelMapper->SetInputConnection(graphToPoly->GetOutputPort());
labelMapper->SetLabelFormat("%s");
labelMapper->SetLabelModeToLabelFieldData();
labelMapper->SetFieldDataName("name");
VTK_CREATE(vtkActor2D, labelActor);
labelActor->SetMapper(labelMapper);
#endif
//
// Make some glyphs
//
......
......@@ -27,8 +27,6 @@ PURPOSE. See the above copyright notice for more information.
#include "vtkRenderWindowInteractor.h"
#include "vtkViewport.h"
//#include <wx/wx.h>
vtkStandardNewMacro(vtkParallelCoordinatesInteractorStyle);
//----------------------------------------------------------------------------
......
......@@ -45,7 +45,6 @@
#include "vtkResliceCursorWidget.h"
#include "vtkResliceCursorLineRepresentation.h"
#include "vtkBiDimensionalWidget.h"
//#include "vtkResliceCursorThickLineRepresentation.h"
#include "vtkTestUtilities.h"
......
......@@ -17,7 +17,6 @@
#include "vtkImageData.h"
#include "vtkMPIController.h"
//#include "vtkMPIGroup.h"
#include "vtkProcessGroup.h"
#include "vtkObjectFactory.h"
#include "vtkRectilinearGrid.h"
......
......@@ -20,7 +20,6 @@
#include "vtkObjectFactory.h"
#include "vtkOpenGLError.h"
#include "vtkOpenGLFramebufferObject.h"
//#include "vtkOpenGLIndexBufferObject.h"
#include "vtkOpenGLRenderWindow.h"
#include "vtkOpenGLVertexBufferObject.h"
#include "vtkOpenGLVertexBufferObjectGroup.h"
......
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