Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michael Migliore
VTK
Commits
91cf15d4
Commit
91cf15d4
authored
May 28, 2017
by
Sean McBride
Browse files
Removed commented includes and long-dead code
Checked with blame that deleted code is truely dead.
parent
43b55d81
Changes
14
Hide whitespace changes
Inline
Side-by-side
Common/DataModel/vtkHyperOctree.cxx
View file @
91cf15d4
...
...
@@ -37,7 +37,6 @@
#include
"vtkVoxel.h"
#include
<deque>
//#include <set>
#include
<vector>
#include
<cassert>
...
...
Common/DataModel/vtkTreeIterator.cxx
View file @
91cf15d4
...
...
@@ -15,7 +15,6 @@
#include
"vtkTreeIterator.h"
//#include "vtkObjectFactory.h"
#include
"vtkTree.h"
vtkTreeIterator
::
vtkTreeIterator
()
...
...
Deprecated/TestGraphHierarchicalBundle.cxx
View file @
91cf15d4
...
...
@@ -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++)
// {
...
...
Filters/AMR/vtkAMRResampleFilter.cxx
View file @
91cf15d4
...
...
@@ -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();
// }
Filters/Modeling/Testing/Cxx/TestNamedColorsIntegration.cxx
View file @
91cf15d4
...
...
@@ -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
[])
...
...
Filters/Modeling/vtkSectorSource.cxx
View file @
91cf15d4
...
...
@@ -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"
...
...
IO/LSDyna/private/LSDynaFamily.cxx
View file @
91cf15d4
...
...
@@ -18,7 +18,6 @@
----------------------------------------------------------------------------*/
#include
"LSDynaFamily.h"
//#include "vtksys/SystemTools.hxx"
#include
<errno.h>
#include
<ctype.h>
...
...
Infovis/Core/Testing/Cxx/TestTableToGraph.cxx
View file @
91cf15d4
...
...
@@ -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
);
...
...
Infovis/Core/vtkCollapseGraph.cxx
View file @
91cf15d4
...
...
@@ -30,7 +30,6 @@
#include
"vtkSelection.h"
#include
"vtkSmartPointer.h"
//#include <iterator>
#include
<vector>
/// Defines storage for a collection of edges
...
...
Infovis/Layout/Testing/Cxx/TestGroupLeafVertices.cxx
View file @
91cf15d4
...
...
@@ -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
//
...
...
Interaction/Style/vtkParallelCoordinatesInteractorStyle.cxx
View file @
91cf15d4
...
...
@@ -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
);
//----------------------------------------------------------------------------
...
...
Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget2.cxx
View file @
91cf15d4
...
...
@@ -45,7 +45,6 @@
#include
"vtkResliceCursorWidget.h"
#include
"vtkResliceCursorLineRepresentation.h"
#include
"vtkBiDimensionalWidget.h"
//#include "vtkResliceCursorThickLineRepresentation.h"
#include
"vtkTestUtilities.h"
...
...
Parallel/MPI/vtkMPICommunicator.cxx
View file @
91cf15d4
...
...
@@ -17,7 +17,6 @@
#include
"vtkImageData.h"
#include
"vtkMPIController.h"
//#include "vtkMPIGroup.h"
#include
"vtkProcessGroup.h"
#include
"vtkObjectFactory.h"
#include
"vtkRectilinearGrid.h"
...
...
Rendering/LICOpenGL2/vtkSurfaceLICMapper.cxx
View file @
91cf15d4
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment