Man Page for vtkGaussianSplatter
Table of Contents

NAME

vtkGaussianSplatter - splat points with Gaussian distribution

SYNOPSIS


#include "/opt/vtk-c++/graphics/vtkGaussianSplatter.h"

class VTK_EXPORT vtkGaussianSplatter : public vtkDataSetToStructuredPointsFilter

vtkGaussianSplatter();
static vtkGaussianSplatter *New() {return new vtkGaussianSplatter;};
const char *GetClassName() {return "vtkGaussianSplatter";};
void PrintSelf(ostream& os, vtkIndent indent);
void ComputeModelBounds();
void SetSampleDimensions(int i, int j, int k);
void SetSampleDimensions(int dim[3]);
int *GetSampleDimensions();
void GetSampleDimensions(int data[3]);
void SetRadius(float);
float GetRadius();
void SetScaleFactor(float);
float GetScaleFactor();
void SetExponentFactor(float);
float GetExponentFactor();
void SetEccentricity(float);
float GetEccentricity();
void SetModelBounds(float data[6]);
void SetModelBounds(float *);
float *GetModelBounds();
void GetModelBounds(float data[6]);
void SetModelBounds(float xmin, float xmax, float ymin, float ymax,
float zmin, float zmax);
void SetNormalWarping(int);
int GetNormalWarping();
void NormalWarpingOn();
void NormalWarpingOff();
void SetScalarWarping(int);
int GetScalarWarping();
void ScalarWarpingOn();
void ScalarWarpingOff();
void SetCapping(int);
int GetCapping();
void CappingOn();
void CappingOff();
void SetCapValue(float);
float GetCapValue();

DESCRIPTION

vtkGaussianSplatter is a filter that injects input points into a structured points dataset. As each point is injected, it "splats" or distributes values to neighboring voxels in the structured points dataset. Data is distributed using a

Gaussian distribution function. The distribution function is modified using scalar values (expands distribution) or normals/vectors (creates ellipsoidal distribution rather than spherical).

SUMMARY

void SetRadius(float)
Specify the radius of propagation of the splat. This value is expressed as a percentage of the sampling structured point set. Smaller numbers greatly reduce execution time.

void SetScaleFactor(float)
Multiply Gaussian splat distribution by this value.

void SetExponentFactor(float)
Specify sharpness of decay of splat

void SetEccentricity(float)
Control the shape of elliptical splatting. Eccentricity is the ratio of the major axis (aligned along normal) to the minor (axes) aligned along other two axes.

void SetModelBounds(float data[6])
void SetModelBounds(float *)
Set the (xmin,xmax, ymin,ymax, zmin,zmax) bounding box in which the sampling is performed.

void SetNormalWarping(int)
Turn on/off the generation of elliptical splats.

void SetScalarWarping(int)
Turn on/off the scaling of splats by scalar value.

void SetCapping(int)
Turn on/off the capping of the outside parts of the structured point set by setting to a specified cap value.

void SetCapValue(float)
Specify the cap value to use.

vtkGaussianSplatter()
Construct object with dimensions=(50,50,50); automatic computation of bounds; a splat radius of 0.1; an exponent factor of -5; and normal and scalar warping turned on.

void ComputeModelBounds()
Compute the size of the sample bounding box automatically from the input data.

void SetSampleDimensions(int i, int j, int k)
Set the dimensions of the sampling structured point set.


Table of Contents