Commit 849ef992 authored by Sean McBride's avatar Sean McBride
Browse files

Rename #includes to C++ style

Find/replace of:

with C++ counterparts.  Changed only vtk*.cxx files.
Didn’t touch .h or .c or any 3rd party.
parent 4f434639
......@@ -4,7 +4,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <cassert>
#include <stdio.h>
#include <cstdio>
int main( int, char **argv )
{
......
#include <stdio.h>
#include <cstdio>
#include <cstdlib>
#if !defined(_WIN32) || defined(__CYGWIN__)
# include <sys/types.h>
......
#include <stdio.h>
#include <cstdio>
#include <cstdlib>
int main()
......
......@@ -24,7 +24,7 @@
#include "vtkPoints2D.h"
#include <cassert>
#include <math.h>
#include <cmath>
//-----------------------------------------------------------------------------
vtkStandardNewMacro(vtkColorTransferFunctionItem);
......
......@@ -15,7 +15,7 @@
#include "vtkParametricEllipsoid.h"
#include "vtkObjectFactory.h"
#include "vtkMath.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkParametricEllipsoid);
......
......@@ -15,7 +15,7 @@
#include "vtkParametricSuperEllipsoid.h"
#include "vtkObjectFactory.h"
#include "vtkMath.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkParametricSuperEllipsoid);
......
......@@ -15,7 +15,7 @@
#include "vtkParametricSuperToroid.h"
#include "vtkObjectFactory.h"
#include "vtkMath.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkParametricSuperToroid);
......
......@@ -19,8 +19,8 @@
#include "vtkObjectFactory.h"
#include <cassert>
#include <stdlib.h>
#include <math.h>
#include <cstdlib>
#include <cmath>
vtkStandardNewMacro(vtkCollection);
......
......@@ -23,7 +23,7 @@
#include "vtksys/Directory.hxx"
#include <ctype.h>
#include <cctype>
vtkObjectFactoryCollection* vtkObjectFactory::RegisteredFactories = 0;
......
......@@ -17,8 +17,8 @@
#include "vtkSetGet.h"
#include "vtkObject.h"
#include <string.h>
#include <ctype.h>
#include <cstring>
#include <cctype>
//----------------------------------------------------------------
vtkOldStyleCallbackCommand::vtkOldStyleCallbackCommand()
......
......@@ -24,7 +24,7 @@
#include <map>
#include <math.h>
#include <cmath>
// A helper map for quick lookups of annotated values.
class vtkScalarsToColors::vtkInternalAnnotatedValueMap :
......
......@@ -16,7 +16,7 @@
#include "vtkMath.h"
#include "vtkPlane.h"
#include <cassert>
#include <math.h>
#include <cmath>
// ---------------------------------------------------------------------------
namespace
......
......@@ -21,7 +21,7 @@
#include "vtkPolyData.h"
#include "vtkBox.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkCellLocator);
......
......@@ -28,7 +28,7 @@
#include "vtkSmartPointer.h"
#include "vtkStructuredData.h"
#include <math.h>
#include <cmath>
//----------------------------------------------------------------------------
......
......@@ -17,7 +17,7 @@
#include "vtkImplicitFunctionCollection.h"
#include "vtkObjectFactory.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkImplicitBoolean);
......
......@@ -18,7 +18,7 @@
#include "vtkImplicitFunctionCollection.h"
#include "vtkObjectFactory.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkImplicitSum);
......
......@@ -14,7 +14,7 @@
=========================================================================*/
#include "vtkPerlinNoise.h"
#include "vtkObjectFactory.h"
#include <math.h>
#include <cmath>
#include <cassert>
vtkStandardNewMacro(vtkPerlinNoise);
......
......@@ -19,7 +19,7 @@
#include "vtkPlane.h"
#include "vtkPoints.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkPlanes);
vtkCxxSetObjectMacro(vtkPlanes,Points,vtkPoints);
......
......@@ -15,7 +15,7 @@
#include "vtkStructuredPoints.h"
#include "vtkObjectFactory.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkStructuredPoints);
......
......@@ -22,7 +22,7 @@
#include "vtkSuperquadric.h"
#include "vtkObjectFactory.h"
#include <math.h>
#include <cmath>
vtkStandardNewMacro(vtkSuperquadric);
......
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