75#ifndef vtkPointDensityFilter_h
76#define vtkPointDensityFilter_h
78#include "vtkFiltersPointsModule.h"
81#define VTK_DENSITY_ESTIMATE_FIXED_RADIUS 0
82#define VTK_DENSITY_ESTIMATE_RELATIVE_RADIUS 1
84#define VTK_DENSITY_FORM_VOLUME_NORM 0
85#define VTK_DENSITY_FORM_NPTS 1
111 vtkGetVectorMacro(SampleDimensions,
int,3);
121 vtkSetVector6Macro(ModelBounds,
double);
122 vtkGetVectorMacro(ModelBounds,
double,6);
132 vtkSetClampMacro(AdjustDistance,
double,-1.0,1.0);
133 vtkGetMacro(AdjustDistance,
double);
144 vtkGetMacro(DensityEstimate,
int);
160 vtkGetMacro(DensityForm,
int);
175 vtkGetMacro(Radius,
double);
187 vtkGetMacro(RelativeRadius,
double);
196 vtkGetMacro(ScalarWeighting,
bool);
214 int SampleDimensions[3];
215 double ModelBounds[6];
217 double Origin[3], Spacing[3];
abstract class to quickly locate points in 3-space
abstract class to specify dataset behavior
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
a simple class to control print indentation
produce density field from input point cloud
void ComputeModelBounds(vtkDataSet *input, vtkImageData *output, vtkInformation *outInfo)
void SetDensityEstimateToFixedRadius()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called in response to a REQUEST_DATA request from the executive.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetSampleDimensions(int dim[3])
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
void SetSampleDimensions(int i, int j, int k)
Set / get the dimensions of the sampling volume.
vtkAbstractPointLocator * Locator
void SetDensityFormToVolumeNormalized()
static vtkPointDensityFilter * New()
Standard methods for instantiating, obtaining type information, and printing information.
void SetDensityFormToNumberOfPoints()
void SetDensityEstimateToRelativeRadius()
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
const char * GetDensityFormAsString()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
const char * GetDensityEstimateAsString()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_DENSITY_ESTIMATE_RELATIVE_RADIUS
#define VTK_DENSITY_FORM_VOLUME_NORM
#define VTK_DENSITY_FORM_NPTS
#define VTK_DENSITY_ESTIMATE_FIXED_RADIUS