Commit 474082f0 authored by Andy Cedilnik's avatar Andy Cedilnik

Add and cleanup of missing includes in IO for cleaning of common headers

parent 3d99166d
......@@ -19,10 +19,11 @@
#include "vtkByteSwap.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkLookupTable.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
vtkCxxRevisionMacro(vtkBMPReader, "1.40");
vtkCxxRevisionMacro(vtkBMPReader, "1.41");
vtkStandardNewMacro(vtkBMPReader);
#ifdef read
......
......@@ -19,8 +19,9 @@
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
vtkCxxRevisionMacro(vtkBMPWriter, "1.20");
vtkCxxRevisionMacro(vtkBMPWriter, "1.21");
vtkStandardNewMacro(vtkBMPWriter);
vtkBMPWriter::vtkBMPWriter()
......
......@@ -17,12 +17,16 @@
=========================================================================*/
#include "vtkBYUReader.h"
#include "vtkCell.h"
#include "vtkCellArray.h"
#include "vtkFloatArray.h"
#include "vtkIdList.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPoints.h"
#include "vtkPolyData.h"
vtkCxxRevisionMacro(vtkBYUReader, "1.47");
vtkCxxRevisionMacro(vtkBYUReader, "1.48");
vtkStandardNewMacro(vtkBYUReader);
vtkBYUReader::vtkBYUReader()
......
......@@ -17,10 +17,12 @@
=========================================================================*/
#include "vtkBYUWriter.h"
#include "vtkCellArray.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
vtkCxxRevisionMacro(vtkBYUWriter, "1.45");
vtkCxxRevisionMacro(vtkBYUWriter, "1.46");
vtkStandardNewMacro(vtkBYUWriter);
// Create object so that it writes displacement, scalar, and texture files
......
......@@ -19,8 +19,9 @@
#include "vtkObjectFactory.h"
#include "vtkFieldData.h"
#include "vtkDataObject.h"
vtkCxxRevisionMacro(vtkDataObjectReader, "1.16");
vtkCxxRevisionMacro(vtkDataObjectReader, "1.17");
vtkStandardNewMacro(vtkDataObjectReader);
vtkDataObjectReader::vtkDataObjectReader()
......
......@@ -16,29 +16,32 @@
=========================================================================*/
#include "vtkDataReader.h"
#include "vtkRectilinearGrid.h"
#include "vtkPointSet.h"
#include "vtkFieldData.h"
#include "vtkLookupTable.h"
#include "vtkByteSwap.h"
#include "vtkBitArray.h"
#include "vtkByteSwap.h"
#include "vtkCellData.h"
#include "vtkCharArray.h"
#include "vtkUnsignedCharArray.h"
#include "vtkShortArray.h"
#include "vtkUnsignedShortArray.h"
#include "vtkIntArray.h"
#include "vtkUnsignedIntArray.h"
#include "vtkLongArray.h"
#include "vtkUnsignedLongArray.h"
#include "vtkDoubleArray.h"
#include "vtkErrorCode.h"
#include "vtkFieldData.h"
#include "vtkFloatArray.h"
#include "vtkIntArray.h"
#include "vtkLongArray.h"
#include "vtkLookupTable.h"
#include "vtkObjectFactory.h"
#include "vtkErrorCode.h"
#include "vtkPointData.h"
#include "vtkPointSet.h"
#include "vtkRectilinearGrid.h"
#include "vtkShortArray.h"
#include "vtkUnsignedCharArray.h"
#include "vtkUnsignedIntArray.h"
#include "vtkUnsignedLongArray.h"
#include "vtkUnsignedShortArray.h"
#include <ctype.h>
#include <sys/stat.h>
vtkCxxRevisionMacro(vtkDataReader, "1.127");
vtkCxxRevisionMacro(vtkDataReader, "1.128");
vtkStandardNewMacro(vtkDataReader);
vtkCxxSetObjectMacro(vtkDataReader, InputArray, vtkCharArray);
......
......@@ -38,6 +38,7 @@ class vtkCharArray;
class vtkDataArray;
class vtkDataSet;
class vtkDataSetAttributes;
class vtkFieldData;
class vtkPointSet;
class vtkRectilinearGrid;
......
......@@ -16,25 +16,29 @@
=========================================================================*/
#include "vtkDataWriter.h"
#include "vtkBitArray.h"
#include "vtkByteSwap.h"
#include "vtkCellArray.h"
#include "vtkCellData.h"
#include "vtkCharArray.h"
#include "vtkDataSet.h"
#include "vtkDoubleArray.h"
#include "vtkFieldData.h"
#include "vtkFloatArray.h"
#include "vtkIntArray.h"
#include "vtkLongArray.h"
#include "vtkLookupTable.h"
#include "vtkCellArray.h"
#include "vtkByteSwap.h"
#include "vtkBitArray.h"
#include "vtkCharArray.h"
#include "vtkUnsignedCharArray.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPoints.h"
#include "vtkShortArray.h"
#include "vtkUnsignedShortArray.h"
#include "vtkIntArray.h"
#include "vtkUnsignedCharArray.h"
#include "vtkUnsignedIntArray.h"
#include "vtkLongArray.h"
#include "vtkUnsignedLongArray.h"
#include "vtkDoubleArray.h"
#include "vtkFloatArray.h"
#include "vtkObjectFactory.h"
#include "vtkUnsignedShortArray.h"
vtkCxxRevisionMacro(vtkDataWriter, "1.97");
vtkCxxRevisionMacro(vtkDataWriter, "1.98");
vtkStandardNewMacro(vtkDataWriter);
// this undef is required on the hp. vtkMutexLock ends up including
......
......@@ -16,18 +16,23 @@
=========================================================================*/
#include "vtkEnSight6BinaryReader.h"
#include "vtkByteSwap.h"
#include "vtkCellData.h"
#include "vtkFloatArray.h"
#include "vtkIdList.h"
#include "vtkIdTypeArray.h"
#include "vtkObjectFactory.h"
#include "vtkUnstructuredGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
#include "vtkRectilinearGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkStructuredPoints.h"
#include "vtkPolyData.h"
#include "vtkFloatArray.h"
#include "vtkIdTypeArray.h"
#include "vtkByteSwap.h"
#include "vtkUnstructuredGrid.h"
#include <ctype.h>
vtkCxxRevisionMacro(vtkEnSight6BinaryReader, "1.25");
vtkCxxRevisionMacro(vtkEnSight6BinaryReader, "1.26");
vtkStandardNewMacro(vtkEnSight6BinaryReader);
//----------------------------------------------------------------------------
......
......@@ -16,18 +16,22 @@
=========================================================================*/
#include "vtkEnSight6Reader.h"
#include "vtkCellData.h"
#include "vtkFloatArray.h"
#include "vtkIdList.h"
#include "vtkIdTypeArray.h"
#include "vtkObjectFactory.h"
#include "vtkUnstructuredGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
#include "vtkRectilinearGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkStructuredPoints.h"
#include "vtkPolyData.h"
#include "vtkFloatArray.h"
#include "vtkIdTypeArray.h"
#include "vtkUnstructuredGrid.h"
#include <ctype.h>
vtkCxxRevisionMacro(vtkEnSight6Reader, "1.34");
vtkCxxRevisionMacro(vtkEnSight6Reader, "1.35");
vtkStandardNewMacro(vtkEnSight6Reader);
//----------------------------------------------------------------------------
......
......@@ -16,18 +16,22 @@
=========================================================================*/
#include "vtkEnSightGoldBinaryReader.h"
#include "vtkObjectFactory.h"
#include "vtkUnstructuredGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkRectilinearGrid.h"
#include "vtkByteSwap.h"
#include "vtkCellData.h"
#include "vtkFloatArray.h"
#include "vtkIdList.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
#include "vtkFloatArray.h"
#include "vtkByteSwap.h"
#include "vtkRectilinearGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkUnstructuredGrid.h"
#include <ctype.h>
vtkCxxRevisionMacro(vtkEnSightGoldBinaryReader, "1.28");
vtkCxxRevisionMacro(vtkEnSightGoldBinaryReader, "1.29");
vtkStandardNewMacro(vtkEnSightGoldBinaryReader);
//----------------------------------------------------------------------------
......
......@@ -16,17 +16,21 @@
=========================================================================*/
#include "vtkEnSightGoldReader.h"
#include "vtkObjectFactory.h"
#include "vtkUnstructuredGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkRectilinearGrid.h"
#include "vtkCellData.h"
#include "vtkFloatArray.h"
#include "vtkIdList.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
#include "vtkFloatArray.h"
#include "vtkRectilinearGrid.h"
#include "vtkStructuredGrid.h"
#include "vtkUnstructuredGrid.h"
#include <ctype.h>
vtkCxxRevisionMacro(vtkEnSightGoldReader, "1.33");
vtkCxxRevisionMacro(vtkEnSightGoldReader, "1.34");
vtkStandardNewMacro(vtkEnSightGoldReader);
//----------------------------------------------------------------------------
......
......@@ -20,8 +20,9 @@
#include "vtkByteSwap.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
vtkCxxRevisionMacro(vtkGESignaReader, "1.15");
vtkCxxRevisionMacro(vtkGESignaReader, "1.16");
vtkStandardNewMacro(vtkGESignaReader);
......
......@@ -18,11 +18,12 @@
#include "vtkIVWriter.h"
#include "vtkAbstractMapper.h"
#include "vtkCellArray.h"
#include "vtkLookupTable.h"
#include "vtkObjectFactory.h"
#include "vtkPolyData.h"
vtkCxxRevisionMacro(vtkIVWriter, "1.26");
vtkCxxRevisionMacro(vtkIVWriter, "1.27");
vtkStandardNewMacro(vtkIVWriter);
void vtkIVWriter::WriteData()
......
......@@ -20,9 +20,10 @@
#include "vtkByteSwap.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkTransform.h"
vtkCxxRevisionMacro(vtkImageReader, "1.108");
vtkCxxRevisionMacro(vtkImageReader, "1.109");
vtkStandardNewMacro(vtkImageReader);
vtkCxxSetObjectMacro(vtkImageReader,Transform,vtkTransform);
......
......@@ -20,10 +20,11 @@
#include "vtkByteSwap.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include <sys/stat.h>
vtkCxxRevisionMacro(vtkImageReader2, "1.23");
vtkCxxRevisionMacro(vtkImageReader2, "1.24");
vtkStandardNewMacro(vtkImageReader2);
#ifdef read
......
......@@ -17,10 +17,11 @@
=========================================================================*/
#include "vtkImageWriter.h"
#include "vtkObjectFactory.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
vtkCxxRevisionMacro(vtkImageWriter, "1.44");
vtkCxxRevisionMacro(vtkImageWriter, "1.45");
vtkStandardNewMacro(vtkImageWriter);
#ifdef write
......
......@@ -19,6 +19,7 @@
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
extern "C" {
#include <jpeglib.h>
......@@ -26,7 +27,7 @@ extern "C" {
}
vtkCxxRevisionMacro(vtkJPEGReader, "1.14");
vtkCxxRevisionMacro(vtkJPEGReader, "1.15");
vtkStandardNewMacro(vtkJPEGReader);
......
......@@ -19,12 +19,13 @@
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkUnsignedCharArray.h"
extern "C" {
#include <jpeglib.h>
}
vtkCxxRevisionMacro(vtkJPEGWriter, "1.13");
vtkCxxRevisionMacro(vtkJPEGWriter, "1.14");
vtkStandardNewMacro(vtkJPEGWriter);
vtkCxxSetObjectMacro(vtkJPEGWriter,Result,vtkUnsignedCharArray);
......
......@@ -18,15 +18,17 @@
#include "vtkMCubesReader.h"
#include "vtkByteSwap.h"
#include "vtkCellArray.h"
#include "vtkFloatArray.h"
#include "vtkMergePoints.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
#include <sys/types.h>
#include <sys/stat.h>
vtkCxxRevisionMacro(vtkMCubesReader, "1.59");
vtkCxxRevisionMacro(vtkMCubesReader, "1.60");
vtkStandardNewMacro(vtkMCubesReader);
// Construct object with FlipNormals turned off and Normals set to true.
......
......@@ -18,10 +18,12 @@
#include "vtkMCubesWriter.h"
#include "vtkByteSwap.h"
#include "vtkCellArray.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
vtkCxxRevisionMacro(vtkMCubesWriter, "1.29");
vtkCxxRevisionMacro(vtkMCubesWriter, "1.30");
vtkStandardNewMacro(vtkMCubesWriter);
// Create object.
......
......@@ -17,11 +17,13 @@
=========================================================================*/
#include "vtkOBJReader.h"
#include "vtkCellArray.h"
#include "vtkFloatArray.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
vtkCxxRevisionMacro(vtkOBJReader, "1.21");
vtkCxxRevisionMacro(vtkOBJReader, "1.22");
vtkStandardNewMacro(vtkOBJReader);
// Description:
......
......@@ -19,13 +19,15 @@
#include "vtkByteSwap.h"
#include "vtkErrorCode.h"
#include "vtkFieldData.h"
#include "vtkFloatArray.h"
#include "vtkIntArray.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkStructuredGrid.h"
#include "vtkUnsignedCharArray.h"
vtkCxxRevisionMacro(vtkPLOT3DReader, "1.71");
vtkCxxRevisionMacro(vtkPLOT3DReader, "1.72");
vtkStandardNewMacro(vtkPLOT3DReader);
#define VTK_RHOINF 1.0
......
......@@ -17,6 +17,8 @@
=========================================================================*/
#include "vtkPLYReader.h"
#include "vtkCellArray.h"
#include "vtkCellData.h"
#include "vtkFloatArray.h"
#include "vtkObjectFactory.h"
#include "vtkPLY.h"
......@@ -25,7 +27,7 @@
#include <ctype.h>
#include <stddef.h>
vtkCxxRevisionMacro(vtkPLYReader, "1.13");
vtkCxxRevisionMacro(vtkPLYReader, "1.14");
vtkStandardNewMacro(vtkPLYReader);
#ifndef true
......
......@@ -17,14 +17,17 @@
=========================================================================*/
#include "vtkPLYWriter.h"
#include "vtkCellArray.h"
#include "vtkCellData.h"
#include "vtkObjectFactory.h"
#include "vtkPLY.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
#include "vtkScalarsToColors.h"
#include <stddef.h>
vtkCxxRevisionMacro(vtkPLYWriter, "1.15");
vtkCxxRevisionMacro(vtkPLYWriter, "1.16");
vtkStandardNewMacro(vtkPLYWriter);
vtkCxxSetObjectMacro(vtkPLYWriter,LookupTable,vtkScalarsToColors);
......
......@@ -19,10 +19,11 @@
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include <png.h>
vtkCxxRevisionMacro(vtkPNGReader, "1.15");
vtkCxxRevisionMacro(vtkPNGReader, "1.16");
vtkStandardNewMacro(vtkPNGReader);
void vtkPNGReader::ExecuteInformation()
......
......@@ -17,10 +17,11 @@
=========================================================================*/
#include "vtkPNMWriter.h"
#include "vtkObjectFactory.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
vtkCxxRevisionMacro(vtkPNMWriter, "1.20");
vtkCxxRevisionMacro(vtkPNMWriter, "1.21");
vtkStandardNewMacro(vtkPNMWriter);
#ifdef write
......
......@@ -21,10 +21,11 @@
#include "vtkCellArray.h"
#include "vtkFloatArray.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPoints.h"
#include "vtkPolyData.h"
vtkCxxRevisionMacro(vtkParticleReader, "1.12");
vtkCxxRevisionMacro(vtkParticleReader, "1.13");
vtkStandardNewMacro(vtkParticleReader);
// These are copied right from vtkImageReader.
......
......@@ -17,10 +17,12 @@
=========================================================================*/
#include "vtkPolyDataReader.h"
#include "vtkCellArray.h"
#include "vtkFieldData.h"
#include "vtkObjectFactory.h"
#include "vtkPolyData.h"
vtkCxxRevisionMacro(vtkPolyDataReader, "1.23");
vtkCxxRevisionMacro(vtkPolyDataReader, "1.24");
vtkStandardNewMacro(vtkPolyDataReader);
vtkPolyDataReader::vtkPolyDataReader()
......
......@@ -17,10 +17,11 @@
=========================================================================*/
#include "vtkPostScriptWriter.h"
#include "vtkObjectFactory.h"
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
vtkCxxRevisionMacro(vtkPostScriptWriter, "1.18");
vtkCxxRevisionMacro(vtkPostScriptWriter, "1.19");
vtkStandardNewMacro(vtkPostScriptWriter);
#define VTK_MARGIN 0.95
......
......@@ -17,10 +17,12 @@
=========================================================================*/
#include "vtkRectilinearGridReader.h"
#include "vtkDataArray.h"
#include "vtkFieldData.h"
#include "vtkObjectFactory.h"
#include "vtkRectilinearGrid.h"
vtkCxxRevisionMacro(vtkRectilinearGridReader, "1.28");
vtkCxxRevisionMacro(vtkRectilinearGridReader, "1.29");
vtkStandardNewMacro(vtkRectilinearGridReader);
//----------------------------------------------------------------------------
......
......@@ -19,10 +19,11 @@
#include "vtkImageData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include <ctype.h>
vtkCxxRevisionMacro(vtkSLCReader, "1.44");
vtkCxxRevisionMacro(vtkSLCReader, "1.45");
vtkStandardNewMacro(vtkSLCReader);
// Constructor for a vtkSLCReader.
......
......@@ -18,6 +18,8 @@
#include "vtkSTLReader.h"
#include "vtkByteSwap.h"
#include "vtkCellArray.h"
#include "vtkCellData.h"
#include "vtkFloatArray.h"
#include "vtkMergePoints.h"
#include "vtkObjectFactory.h"
......@@ -25,7 +27,7 @@
#include <ctype.h>
vtkCxxRevisionMacro(vtkSTLReader, "1.65");
vtkCxxRevisionMacro(vtkSTLReader, "1.66");
vtkStandardNewMacro(vtkSTLReader);
#define VTK_ASCII 0
......
......@@ -18,11 +18,12 @@
#include "vtkSTLWriter.h"
#include "vtkByteSwap.h"
#include "vtkCellArray.h"
#include "vtkObjectFactory.h"
#include "vtkPolyData.h"
#include "vtkTriangle.h"
vtkCxxRevisionMacro(vtkSTLWriter, "1.46");
vtkCxxRevisionMacro(vtkSTLWriter, "1.47");
vtkStandardNewMacro(vtkSTLWriter);
vtkSTLWriter::vtkSTLWriter()
......
......@@ -17,10 +17,11 @@
=========================================================================*/
#include "vtkStructuredGridReader.h"
#include "vtkFieldData.h"
#include "vtkObjectFactory.h"
#include "vtkStructuredGrid.h"
vtkCxxRevisionMacro(vtkStructuredGridReader, "1.54");
vtkCxxRevisionMacro(vtkStructuredGridReader, "1.55");
vtkStandardNewMacro(vtkStructuredGridReader);
vtkStructuredGridReader::vtkStructuredGridReader()
......
......@@ -17,11 +17,14 @@
=========================================================================*/
#include "vtkStructuredPointsReader.h"
#include "vtkObjectFactory.h"
#include "vtkDataArray.h"
#include "vtkErrorCode.h"
#include "vtkFieldData.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkStructuredPoints.h"
vtkCxxRevisionMacro(vtkStructuredPointsReader, "1.53");
vtkCxxRevisionMacro(vtkStructuredPointsReader, "1.54");