VTK
|
sample unstructured points onto structured points using the method of Shepard More...
#include <vtkShepardMethod.h>
sample unstructured points onto structured points using the method of Shepard
vtkShepardMethod is a filter used to visualize unstructured point data using Shepard's method. The method works by resampling the unstructured points onto a structured points set. The influence functions are described as "inverse distance weighted". Once the structured points are computed, the usual visualization techniques (e.g., iso-contouring or volume rendering) can be used visualize the structured points.
Definition at line 48 of file vtkShepardMethod.h.
Reimplemented from vtkImageAlgorithm.
Definition at line 51 of file vtkShepardMethod.h.
vtkShepardMethod::vtkShepardMethod | ( | ) | [protected] |
vtkShepardMethod::~vtkShepardMethod | ( | ) | [inline, protected] |
Definition at line 98 of file vtkShepardMethod.h.
static int vtkShepardMethod::IsTypeOf | ( | const char * | name | ) | [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 vtkImageAlgorithm.
virtual int vtkShepardMethod::IsA | ( | const char * | name | ) | [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 vtkImageAlgorithm.
static vtkShepardMethod* vtkShepardMethod::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageAlgorithm.
virtual vtkObjectBase* vtkShepardMethod::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
vtkShepardMethod* vtkShepardMethod::NewInstance | ( | ) | const |
Reimplemented from vtkImageAlgorithm.
void vtkShepardMethod::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 vtkImageAlgorithm.
static vtkShepardMethod* vtkShepardMethod::New | ( | ) | [static] |
Construct with sample dimensions=(50,50,50) and so that model bounds are automatically computed from input. Null value for each unvisited output point is 0.0. Maximum distance is 0.25.
Reimplemented from vtkAlgorithm.
double vtkShepardMethod::ComputeModelBounds | ( | double | origin[3], |
double | ar[3] | ||
) |
Compute ModelBounds from input geometry.
virtual int* vtkShepardMethod::GetSampleDimensions | ( | ) | [virtual] |
Specify i-j-k dimensions on which to sample input points.
virtual void vtkShepardMethod::GetSampleDimensions | ( | int | data[3] | ) | [virtual] |
Specify i-j-k dimensions on which to sample input points.
void vtkShepardMethod::SetSampleDimensions | ( | int | i, |
int | j, | ||
int | k | ||
) |
Set the i-j-k dimensions on which to sample the distance function.
void vtkShepardMethod::SetSampleDimensions | ( | int | dim[3] | ) |
Set the i-j-k dimensions on which to sample the distance function.
virtual void vtkShepardMethod::SetMaximumDistance | ( | double | ) | [virtual] |
Specify influence distance of each input point. This distance is a fraction of the length of the diagonal of the sample space. Thus, values of 1.0 will cause each input point to influence all points in the structured point dataset. Values less than 1.0 can improve performance significantly.
virtual double vtkShepardMethod::GetMaximumDistance | ( | ) | [virtual] |
Specify influence distance of each input point. This distance is a fraction of the length of the diagonal of the sample space. Thus, values of 1.0 will cause each input point to influence all points in the structured point dataset. Values less than 1.0 can improve performance significantly.
virtual void vtkShepardMethod::SetModelBounds | ( | double | , |
double | , | ||
double | , | ||
double | , | ||
double | , | ||
double | |||
) | [virtual] |
Specify the position in space to perform the sampling.
virtual void vtkShepardMethod::SetModelBounds | ( | double | [6] | ) | [virtual] |
Specify the position in space to perform the sampling.
virtual double* vtkShepardMethod::GetModelBounds | ( | ) | [virtual] |
Specify the position in space to perform the sampling.
virtual void vtkShepardMethod::GetModelBounds | ( | double | data[6] | ) | [virtual] |
Specify the position in space to perform the sampling.
virtual void vtkShepardMethod::SetNullValue | ( | double | ) | [virtual] |
Set the Null value for output points not receiving a contribution from the input points.
virtual double vtkShepardMethod::GetNullValue | ( | ) | [virtual] |
Set the Null value for output points not receiving a contribution from the input points.
virtual int vtkShepardMethod::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
virtual int vtkShepardMethod::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.
Reimplemented from vtkImageAlgorithm.
virtual int vtkShepardMethod::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
These method should be reimplemented by subclasses that have more than a single input or single output. See vtkAlgorithm for more information.
Reimplemented from vtkImageAlgorithm.
int vtkShepardMethod::SampleDimensions[3] [protected] |
Definition at line 112 of file vtkShepardMethod.h.
double vtkShepardMethod::MaximumDistance [protected] |
Definition at line 113 of file vtkShepardMethod.h.
double vtkShepardMethod::ModelBounds[6] [protected] |
Definition at line 114 of file vtkShepardMethod.h.
double vtkShepardMethod::NullValue [protected] |
Definition at line 115 of file vtkShepardMethod.h.