73 #ifndef __vtkGaussianSplatter_h
74 #define __vtkGaussianSplatter_h
78 #define VTK_ACCUMULATION_MODE_MIN 0
79 #define VTK_ACCUMULATION_MODE_MAX 1
80 #define VTK_ACCUMULATION_MODE_SUM 2
98 void SetSampleDimensions(
int i,
int j,
int k);
99 void SetSampleDimensions(
int dim[3]);
100 vtkGetVectorMacro(SampleDimensions,
int,3);
108 vtkSetVector6Macro(ModelBounds,
double);
109 vtkGetVectorMacro(ModelBounds,
double,6);
116 vtkSetClampMacro(Radius,
double,0.0,1.0);
117 vtkGetMacro(Radius,
double);
125 vtkGetMacro(ScaleFactor,
double);
131 vtkSetMacro(ExponentFactor,
double);
132 vtkGetMacro(ExponentFactor,
double);
139 vtkSetMacro(NormalWarping,
int);
140 vtkGetMacro(NormalWarping,
int);
141 vtkBooleanMacro(NormalWarping,
int);
151 vtkGetMacro(Eccentricity,
double);
156 vtkSetMacro(ScalarWarping,
int);
157 vtkGetMacro(ScalarWarping,
int);
158 vtkBooleanMacro(ScalarWarping,
int);
165 vtkSetMacro(Capping,
int);
166 vtkGetMacro(Capping,
int);
167 vtkBooleanMacro(Capping,
int);
173 vtkSetMacro(CapValue,
double);
174 vtkGetMacro(CapValue,
double);
182 vtkSetClampMacro(AccumulationMode,
int,
184 vtkGetMacro(AccumulationMode,
int);
191 const char *GetAccumulationModeAsString();
198 vtkSetMacro(NullValue,
double);
199 vtkGetMacro(NullValue,
double);
222 int SampleDimensions[3];
225 double ModelBounds[6];
234 double Gaussian(
double x[3]);
235 double EccentricGaussian(
double x[3]);
237 {
return this->ScaleFactor * s;}
239 {
return this->ScaleFactor;}
240 void SetScalar(
int idx,
double dist2,
vtkDoubleArray *newScalars);
248 double Eccentricity2;
254 double SplatDistance[3];
void SetAccumulationModeToMin()
abstract class to specify dataset behavior
#define VTK_ACCUMULATION_MODE_MAX
void SetAccumulationModeToMax()
splat points into a volume with an elliptical, Gaussian distribution
dynamic, self-adjusting array of double
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
double PositionSampling(double)
#define VTK_ACCUMULATION_MODE_SUM
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SetAccumulationModeToSum()
#define VTK_ACCUMULATION_MODE_MIN
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
double ScalarSampling(double s)