Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkGaussianSplatter Class Reference

splat points with Gaussian distribution. More...

#include <vtkGaussianSplatter.h>

Inheritance diagram for vtkGaussianSplatter:

Inheritance graph
[legend]
Collaboration diagram for vtkGaussianSplatter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void ComputeModelBounds ()
void SetSampleDimensions (int i, int j, int k)
void SetSampleDimensions (int dim[3])
virtual int * GetSampleDimensions ()
virtual void GetSampleDimensions (int data[3])
virtual void SetRadius (float)
virtual float GetRadius ()
virtual void SetScaleFactor (float)
virtual float GetScaleFactor ()
virtual void SetExponentFactor (float)
virtual float GetExponentFactor ()
virtual void SetEccentricity (float)
virtual float GetEccentricity ()
virtual void SetModelBounds (float, float, float, float, float, float)
virtual void SetModelBounds (float[6])
virtual float * GetModelBounds ()
virtual void GetModelBounds (float data[6])
virtual void SetNormalWarping (int)
virtual int GetNormalWarping ()
virtual void NormalWarpingOn ()
virtual void NormalWarpingOff ()
virtual void SetScalarWarping (int)
virtual int GetScalarWarping ()
virtual void ScalarWarpingOn ()
virtual void ScalarWarpingOff ()
virtual void SetCapping (int)
virtual int GetCapping ()
virtual void CappingOn ()
virtual void CappingOff ()
virtual void SetCapValue (float)
virtual float GetCapValue ()
virtual void SetAccumulationMode (int)
virtual int GetAccumulationMode ()
void SetAccumulationModeToMin ()
void SetAccumulationModeToMax ()
void SetAccumulationModeToSum ()
const char * GetAccumulationModeAsString ()

Static Public Methods

int IsTypeOf (const char *type)
vtkGaussianSplatter * SafeDownCast (vtkObject *o)
vtkGaussianSplatter * New ()

Protected Methods

 vtkGaussianSplatter ()
 ~vtkGaussianSplatter ()
 vtkGaussianSplatter (const vtkGaussianSplatter &)
void operator= (const vtkGaussianSplatter &)
void Execute ()
void Cap (vtkScalars *s)
void SplitIJK (int i, int idir, int j, int jdir, int k, int kdir)
void SplitIJ (int i, int idir, int j, int jdir, int k)
void SplitIK (int i, int idir, int j, int k, int kdir)
void SplitJK (int i, int j, int jdir, int k, int kdir)
void SplitI (int i, int idir, int j, int k)
void SplitJ (int i, int j, int jdir, int k)
void SplitK (int i, int j, int k, int kdir)
float Gaussian (float x[3])
float EccentricGaussian (float x[3])
float ScalarSampling (float s)
float PositionSampling (float)
void SetScalar (int idx, float dist2)

Protected Attributes

int SampleDimensions [3]
float Radius
float ExponentFactor
float ModelBounds [6]
int NormalWarping
float Eccentricity
int ScalarWarping
float ScaleFactor
int Capping
float CapValue
int AccumulationMode

Detailed Description

splat points with Gaussian distribution.

Date:
2000/12/10 20:08:38
Revision:
1.36

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).

Examples:
vtkGaussianSplatter (examples)


Member Function Documentation

void vtkGaussianSplatter::ComputeModelBounds  
 

Compute the size of the sample bounding box automatically from the input data.

virtual const char* vtkGaussianSplatter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToStructuredPointsFilter.

virtual int vtkGaussianSplatter::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToStructuredPointsFilter.

int vtkGaussianSplatter::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToStructuredPointsFilter.

vtkGaussianSplatter* vtkGaussianSplatter::New   [static]
 

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.

Reimplemented from vtkStructuredPointsSource.

void vtkGaussianSplatter::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkSource.

vtkGaussianSplatter* vtkGaussianSplatter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToStructuredPointsFilter.

virtual void vtkGaussianSplatter::SetAccumulationMode int    [virtual]
 

Specify the scalar accumulation mode. This mode expresses how scalar values are combined when splats are overlapped.

virtual void vtkGaussianSplatter::SetCapping int    [virtual]
 

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

virtual void vtkGaussianSplatter::SetCapValue float    [virtual]
 

Specify the cap value to use.

virtual void vtkGaussianSplatter::SetEccentricity float    [virtual]
 

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.

virtual void vtkGaussianSplatter::SetExponentFactor float    [virtual]
 

Set / get the sharpness of decay of the splats

virtual void vtkGaussianSplatter::SetModelBounds float   ,
float   ,
float   ,
float   ,
float   ,
float   
[virtual]
 

Set / get the (xmin,xmax, ymin,ymax, zmin,zmax) bounding box in which the sampling is performed.

virtual void vtkGaussianSplatter::SetNormalWarping int    [virtual]
 

Turn on/off the generation of elliptical splats.

virtual void vtkGaussianSplatter::SetRadius float    [virtual]
 

Set / get 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 vtkGaussianSplatter::SetSampleDimensions int    i,
int    j,
int    k
 

Set / get the dimensions of the sampling structured point set.

virtual void vtkGaussianSplatter::SetScalarWarping int    [virtual]
 

Turn on/off the scaling of splats by scalar value.

virtual void vtkGaussianSplatter::SetScaleFactor float    [virtual]
 

Multiply Gaussian splat distribution by this value.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:25:30 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002