45 #ifndef vtkFastSplatter_h 
   46 #define vtkFastSplatter_h 
   49 #include "vtkImagingHybridModule.h"  
   65   vtkSetVector6Macro(ModelBounds, 
double);
 
   66   vtkGetVectorMacro(ModelBounds, 
double, 6);
 
   73   vtkSetVector3Macro(OutputDimensions, 
int);
 
   74   vtkGetVector3Macro(OutputDimensions, 
int);
 
   92   vtkSetMacro(LimitMode, 
int);
 
   93   vtkGetMacro(LimitMode, 
int);
 
  104   vtkSetMacro(MinValue, 
double);
 
  105   vtkGetMacro(MinValue, 
double);
 
  106   vtkSetMacro(MaxValue, 
double);
 
  107   vtkGetMacro(MaxValue, 
double);
 
  115   vtkGetMacro(NumberOfPointsSplatted, 
int);
 
  129   double ModelBounds[6];
 
  130   int OutputDimensions[3];
 
  168   for (
vtkIdType i = 0; i < arraySize; i++)
 
  170     if (array[i] < minValue)
 
  172     if (array[i] > maxValue)
 
  181   double* dataMinValue, 
double* dataMaxValue)
 
  188   for (
int c = 0; c < numComponents; c++)
 
  194     for (t = 1; t < numTuples; t++, a += numComponents)
 
  205       for (t = 0, a = array + c; t < numTuples; t++, a += numComponents)
 
  214       for (t = 0, a = array + c; t < numTuples; t++, a += numComponents)
 
  216         *a = ((maxValue - minValue) * (*a)) / (
max - min);
 
  223       for (t = 0, a = array + c; t < numTuples; t++, a += numComponents)
 
  240   T* array, 
int numComponents, 
vtkIdType numTuples, T minValue, T maxValue, 
double min, 
double max)
 
  245   for (
int c = 0; c < numComponents; c++)
 
  250       for (t = 0, a = array + c; t < numTuples; t++, a += numComponents)
 
  252         *a -= 
static_cast<T
>(min);
 
  259       for (t = 0, a = array + c; t < numTuples; t++, a += numComponents)
 
  261         *a = 
static_cast<T
>(((maxValue - minValue) * (*a)) / (
max - min));
 
  268       for (t = 0, a = array + c; t < numTuples; t++, a += numComponents)
 
  276 #endif // vtkFastSplatter_h