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

vtkGaussianSplatter Class Reference

splat points with Gaussian distribution. More...

#include <vtkGaussianSplatter.h>

Inheritance diagram for vtkGaussianSplatter:

Inheritance graph
Collaboration diagram for vtkGaussianSplatter:

Collaboration graph
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.

2000/12/10 20:08:38

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

vtkGaussianSplatter (examples)

Definition at line 66 of file vtkGaussianSplatter.h.

Constructor & Destructor Documentation

vtkGaussianSplatter::vtkGaussianSplatter   [protected]

vtkGaussianSplatter::~vtkGaussianSplatter   [inline, protected]

Definition at line 146 of file vtkGaussianSplatter.h.

vtkGaussianSplatter::vtkGaussianSplatter const vtkGaussianSplatter &    [inline, protected]

Definition at line 147 of file vtkGaussianSplatter.h.

Member Function Documentation

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.

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.

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.

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.

void vtkGaussianSplatter::PrintSelf ostream &    os,
vtkIndent    indent

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::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::ComputeModelBounds  

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

void vtkGaussianSplatter::SetSampleDimensions int    i,
int    j,
int    k

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

void vtkGaussianSplatter::SetSampleDimensions int    dim[3]

virtual int* vtkGaussianSplatter::GetSampleDimensions   [virtual]

virtual void vtkGaussianSplatter::GetSampleDimensions int    data[3] [virtual]

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.

virtual float vtkGaussianSplatter::GetRadius   [virtual]

virtual void vtkGaussianSplatter::SetScaleFactor float    [virtual]

Multiply Gaussian splat distribution by this value.

virtual float vtkGaussianSplatter::GetScaleFactor   [virtual]

virtual void vtkGaussianSplatter::SetExponentFactor float    [virtual]

Set / get the sharpness of decay of the splats

virtual float vtkGaussianSplatter::GetExponentFactor   [virtual]

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 float vtkGaussianSplatter::GetEccentricity   [virtual]

virtual void vtkGaussianSplatter::SetModelBounds float   ,
float   ,
float   ,
float   ,
float   ,

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

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

virtual float* vtkGaussianSplatter::GetModelBounds   [virtual]

virtual void vtkGaussianSplatter::GetModelBounds float    data[6] [virtual]

virtual void vtkGaussianSplatter::SetNormalWarping int    [virtual]

Turn on/off the generation of elliptical splats.

virtual int vtkGaussianSplatter::GetNormalWarping   [virtual]

virtual void vtkGaussianSplatter::NormalWarpingOn   [virtual]

virtual void vtkGaussianSplatter::NormalWarpingOff   [virtual]

virtual void vtkGaussianSplatter::SetScalarWarping int    [virtual]

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

virtual int vtkGaussianSplatter::GetScalarWarping   [virtual]

virtual void vtkGaussianSplatter::ScalarWarpingOn   [virtual]

virtual void vtkGaussianSplatter::ScalarWarpingOff   [virtual]

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 int vtkGaussianSplatter::GetCapping   [virtual]

virtual void vtkGaussianSplatter::CappingOn   [virtual]

virtual void vtkGaussianSplatter::CappingOff   [virtual]

virtual void vtkGaussianSplatter::SetCapValue float    [virtual]

Specify the cap value to use.

virtual float vtkGaussianSplatter::GetCapValue   [virtual]

virtual void vtkGaussianSplatter::SetAccumulationMode int    [virtual]

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

virtual int vtkGaussianSplatter::GetAccumulationMode   [virtual]

void vtkGaussianSplatter::SetAccumulationModeToMin   [inline]

Definition at line 136 of file vtkGaussianSplatter.h.

void vtkGaussianSplatter::SetAccumulationModeToMax   [inline]

Definition at line 138 of file vtkGaussianSplatter.h.

void vtkGaussianSplatter::SetAccumulationModeToSum   [inline]

Definition at line 140 of file vtkGaussianSplatter.h.

const char* vtkGaussianSplatter::GetAccumulationModeAsString  

void vtkGaussianSplatter::operator= const vtkGaussianSplatter &    [inline, protected]

Definition at line 148 of file vtkGaussianSplatter.h.

void vtkGaussianSplatter::Execute   [protected, virtual]

Reimplemented from vtkSource.

void vtkGaussianSplatter::Cap vtkScalars   s [protected]

void vtkGaussianSplatter::SplitIJK int    i,
int    idir,
int    j,
int    jdir,
int    k,
int    kdir

void vtkGaussianSplatter::SplitIJ int    i,
int    idir,
int    j,
int    jdir,
int    k

void vtkGaussianSplatter::SplitIK int    i,
int    idir,
int    j,
int    k,
int    kdir

void vtkGaussianSplatter::SplitJK int    i,
int    j,
int    jdir,
int    k,
int    kdir

void vtkGaussianSplatter::SplitI int    i,
int    idir,
int    j,
int    k

void vtkGaussianSplatter::SplitJ int    i,
int    j,
int    jdir,
int    k

void vtkGaussianSplatter::SplitK int    i,
int    j,
int    k,
int    kdir

float vtkGaussianSplatter::Gaussian float    x[3] [protected]

float vtkGaussianSplatter::EccentricGaussian float    x[3] [protected]

float vtkGaussianSplatter::ScalarSampling float    s [inline, protected]

Definition at line 176 of file vtkGaussianSplatter.h.

float vtkGaussianSplatter::PositionSampling float    [inline, protected]

Definition at line 177 of file vtkGaussianSplatter.h.

void vtkGaussianSplatter::SetScalar int    idx,
float    dist2

Member Data Documentation

int vtkGaussianSplatter::SampleDimensions[3] [protected]

Definition at line 153 of file vtkGaussianSplatter.h.

float vtkGaussianSplatter::Radius [protected]

Definition at line 154 of file vtkGaussianSplatter.h.

float vtkGaussianSplatter::ExponentFactor [protected]

Definition at line 155 of file vtkGaussianSplatter.h.

float vtkGaussianSplatter::ModelBounds[6] [protected]

Definition at line 156 of file vtkGaussianSplatter.h.

int vtkGaussianSplatter::NormalWarping [protected]

Definition at line 157 of file vtkGaussianSplatter.h.

float vtkGaussianSplatter::Eccentricity [protected]

Definition at line 158 of file vtkGaussianSplatter.h.

int vtkGaussianSplatter::ScalarWarping [protected]

Definition at line 159 of file vtkGaussianSplatter.h.

float vtkGaussianSplatter::ScaleFactor [protected]

Definition at line 160 of file vtkGaussianSplatter.h.

int vtkGaussianSplatter::Capping [protected]

Definition at line 161 of file vtkGaussianSplatter.h.

float vtkGaussianSplatter::CapValue [protected]

Definition at line 162 of file vtkGaussianSplatter.h.

int vtkGaussianSplatter::AccumulationMode [protected]

Definition at line 163 of file vtkGaussianSplatter.h.

The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:02 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001