Commit 7b5f4209 authored by Boris Yamrom's avatar Boris Yamrom
Browse files

ENH: static is added to template definition

parent 4967ed9a
......@@ -65,7 +65,7 @@ vtkImageData::vtkImageData()
// A templated function to print different types of pointData.
template <class T>
void vtkImageDataPrintScalars(vtkImageData *self, T *ptr,
static void vtkImageDataPrintScalars(vtkImageData *self, T *ptr,
ostream& os, vtkIndent indent)
int precisionSave = os.precision();
......@@ -760,7 +760,7 @@ float *vtkImageData::GetVectorPointer()
// This should be a recursive call to avoid many nested loops, and
// make the code independant of VTK_IMAGE_DIMENSIONS.
template <class IT, class OT>
void vtkImageDataCopyData2(vtkImageData *outData, OT *outPtr,
static void vtkImageDataCopyData2(vtkImageData *outData, OT *outPtr,
vtkImageData *inData, IT *inPtr, int *b)
IT *inPtr0, *inPtr1, *inPtr2, *inPtr3, *inPtr4;
......@@ -822,7 +822,7 @@ void vtkImageDataCopyData2(vtkImageData *outData, OT *outPtr,
// First templated function for copying.
template <class T>
void vtkImageDataCopyData(vtkImageData *self, void *outPtr,
static void vtkImageDataCopyData(vtkImageData *self, void *outPtr,
vtkImageData *inData, T *inPtr, int *extent)
switch (self->GetScalarType())
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