77 #ifndef vtkPointDensityFilter_h 78 #define vtkPointDensityFilter_h 80 #include "vtkFiltersPointsModule.h" 83 #define VTK_DENSITY_ESTIMATE_FIXED_RADIUS 0 84 #define VTK_DENSITY_ESTIMATE_RELATIVE_RADIUS 1 86 #define VTK_DENSITY_FORM_VOLUME_NORM 0 87 #define VTK_DENSITY_FORM_NPTS 1 111 void SetSampleDimensions(
int i,
int j,
int k);
112 void SetSampleDimensions(
int dim[3]);
113 vtkGetVectorMacro(SampleDimensions,
int,3);
123 vtkSetVector6Macro(ModelBounds,
double);
124 vtkGetVectorMacro(ModelBounds,
double,6);
134 vtkSetClampMacro(AdjustDistance,
double,-1.0,1.0);
135 vtkGetMacro(AdjustDistance,
double);
146 vtkGetMacro(DensityEstimate,
int);
151 const char *GetDensityEstimateAsString();
162 vtkGetMacro(DensityForm,
int);
167 const char *GetDensityFormAsString();
177 vtkGetMacro(Radius,
double);
189 vtkGetMacro(RelativeRadius,
double);
197 vtkSetMacro(ScalarWeighting,
bool);
198 vtkGetMacro(ScalarWeighting,
bool);
199 vtkBooleanMacro(ScalarWeighting,
bool);
210 vtkSetMacro(ComputeGradient,
bool);
211 vtkGetMacro(ComputeGradient,
bool);
212 vtkBooleanMacro(ComputeGradient,
bool);
241 int SampleDimensions[3];
242 double ModelBounds[6];
244 double Origin[3], Spacing[3];
FunctionClass
This enum is used to classify the behavior of the function gradient.
abstract class to specify dataset behavior
#define VTK_DENSITY_FORM_NPTS
#define VTK_DENSITY_ESTIMATE_RELATIVE_RADIUS
void SetDensityEstimateToRelativeRadius()
Specify the method to estimate point density.
a simple class to control print indentation
abstract class to quickly locate points in 3-space
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetDensityFormToVolumeNormalized()
Specify the form by which the density is expressed.
#define VTK_DENSITY_FORM_VOLUME_NORM
void SetDensityEstimateToFixedRadius()
Specify the method to estimate point density.
void SetDensityFormToNumberOfPoints()
Specify the form by which the density is expressed.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
Generic algorithm superclass for image algs.
#define VTK_DENSITY_ESTIMATE_FIXED_RADIUS
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
produce density field from input point cloud
vtkAbstractPointLocator * Locator