80 #ifndef vtkPointDensityFilter_h
81 #define vtkPointDensityFilter_h
83 #include "vtkFiltersPointsModule.h"
86 #define VTK_DENSITY_ESTIMATE_FIXED_RADIUS 0
87 #define VTK_DENSITY_ESTIMATE_RELATIVE_RADIUS 1
89 #define VTK_DENSITY_FORM_VOLUME_NORM 0
90 #define VTK_DENSITY_FORM_NPTS 1
114 void SetSampleDimensions(
int i,
int j,
int k);
115 void SetSampleDimensions(
int dim[3]);
116 vtkGetVectorMacro(SampleDimensions,
int,3);
126 vtkSetVector6Macro(ModelBounds,
double);
127 vtkGetVectorMacro(ModelBounds,
double,6);
137 vtkSetClampMacro(AdjustDistance,
double,-1.0,1.0);
138 vtkGetMacro(AdjustDistance,
double);
149 vtkGetMacro(DensityEstimate,
int);
154 const char *GetDensityEstimateAsString();
165 vtkGetMacro(DensityForm,
int);
170 const char *GetDensityFormAsString();
180 vtkGetMacro(Radius,
double);
192 vtkGetMacro(RelativeRadius,
double);
200 vtkSetMacro(ScalarWeighting,
bool);
201 vtkGetMacro(ScalarWeighting,
bool);
202 vtkBooleanMacro(ScalarWeighting,
bool);
213 vtkSetMacro(ComputeGradient,
bool);
214 vtkGetMacro(ComputeGradient,
bool);
215 vtkBooleanMacro(ComputeGradient,
bool);
244 int SampleDimensions[3];
245 double ModelBounds[6];
247 double Origin[3], Spacing[3];