Inherits vtkImageAlgorithm.
|
virtual int | IsA (const char *type) |
|
vtkFastSplatter * | NewInstance () const |
|
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | SetSplatConnection (vtkAlgorithmOutput *) |
|
|
virtual void | SetModelBounds (double, double, double, double, double, double) |
|
virtual void | SetModelBounds (double[6]) |
|
virtual double * | GetModelBounds () |
|
virtual void | GetModelBounds (double data[6]) |
|
|
virtual void | SetOutputDimensions (int, int, int) |
|
virtual void | SetOutputDimensions (int[3]) |
|
virtual int * | GetOutputDimensions () |
|
virtual void | GetOutputDimensions (int &, int &, int &) |
|
virtual void | GetOutputDimensions (int[3]) |
|
|
virtual void | SetLimitMode (int) |
|
virtual int | GetLimitMode () |
|
void | SetLimitModeToNone () |
|
void | SetLimitModeToClamp () |
|
void | SetLimitModeToScale () |
|
void | SetLimitModeToFreezeScale () |
|
|
virtual void | SetMinValue (double) |
|
virtual double | GetMinValue () |
|
virtual void | SetMaxValue (double) |
|
virtual double | GetMaxValue () |
|
|
virtual int | GetNumberOfPointsSplatted () |
|
A splatter optimized for splatting single kernels.
vtkFastSplatter takes any vtkPointSet as input (of which vtkPolyData and vtkUnstructuredGrid inherit). Each point in the data set is considered to be an impulse. These impulses are convolved with a given splat image. In other words, the splat image is added to the final image at every place where there is an input point.
Note that point and cell data are thrown away. If you want a sampling of unstructured points consider vtkGaussianSplatter or vtkShepardMethod.
Use input port 0 for the impulse data (vtkPointSet), and input port 1 for the splat image (vtkImageData)
- Bug:
- Any point outside of the extents of the image is thrown away, even if it is close enough such that it's convolution with the splat image would overlap the extents.
- Tests:
- vtkFastSplatter (Tests)
Definition at line 53 of file vtkFastSplatter.h.
virtual void vtkFastSplatter::SetModelBounds |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set / get the (xmin,xmax, ymin,ymax, zmin,zmax) bounding box in which the sampling is performed. If any of the (min,max) bounds values are min >= max, then the bounds will be computed automatically from the input data. Otherwise, the user-specified bounds will be used.
virtual void vtkFastSplatter::SetModelBounds |
( |
double |
[6] | ) |
|
|
virtual |
Set / get the (xmin,xmax, ymin,ymax, zmin,zmax) bounding box in which the sampling is performed. If any of the (min,max) bounds values are min >= max, then the bounds will be computed automatically from the input data. Otherwise, the user-specified bounds will be used.
virtual double* vtkFastSplatter::GetModelBounds |
( |
| ) |
|
|
virtual |
Set / get the (xmin,xmax, ymin,ymax, zmin,zmax) bounding box in which the sampling is performed. If any of the (min,max) bounds values are min >= max, then the bounds will be computed automatically from the input data. Otherwise, the user-specified bounds will be used.
virtual void vtkFastSplatter::GetModelBounds |
( |
double |
data[6] | ) |
|
|
virtual |
Set / get the (xmin,xmax, ymin,ymax, zmin,zmax) bounding box in which the sampling is performed. If any of the (min,max) bounds values are min >= max, then the bounds will be computed automatically from the input data. Otherwise, the user-specified bounds will be used.
void vtkFastSplatter::SetLimitModeToNone |
( |
| ) |
|
|
inline |
Set/get the way voxel values will be limited. If this is set to None (the default), the output can have arbitrarily large values. If set to clamp, the output will be clamped to [MinValue,MaxValue]. If set to scale, the output will be linearly scaled between MinValue and MaxValue.
Definition at line 87 of file vtkFastSplatter.h.
void vtkFastSplatter::SetLimitModeToClamp |
( |
| ) |
|
|
inline |
Set/get the way voxel values will be limited. If this is set to None (the default), the output can have arbitrarily large values. If set to clamp, the output will be clamped to [MinValue,MaxValue]. If set to scale, the output will be linearly scaled between MinValue and MaxValue.
Definition at line 88 of file vtkFastSplatter.h.
void vtkFastSplatter::SetLimitModeToScale |
( |
| ) |
|
|
inline |
Set/get the way voxel values will be limited. If this is set to None (the default), the output can have arbitrarily large values. If set to clamp, the output will be clamped to [MinValue,MaxValue]. If set to scale, the output will be linearly scaled between MinValue and MaxValue.
Definition at line 89 of file vtkFastSplatter.h.
void vtkFastSplatter::SetLimitModeToFreezeScale |
( |
| ) |
|
|
inline |
Set/get the way voxel values will be limited. If this is set to None (the default), the output can have arbitrarily large values. If set to clamp, the output will be clamped to [MinValue,MaxValue]. If set to scale, the output will be linearly scaled between MinValue and MaxValue.
Definition at line 90 of file vtkFastSplatter.h.