sample unstructured points onto structured points using the method of Shepard
More...
#include <vtkShepardMethod.h>
Inherits vtkImageAlgorithm.
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.
- Warning
- The input to this filter is any dataset type. This filter can be used to resample any form of data, i.e., the input data need not be unstructured.
-
The bounds of the data (i.e., the sample space) is automatically computed if not set by the user.
-
If you use a maximum distance less than 1.0, some output points may never receive a contribution. The final value of these points can be specified with the "NullValue" instance variable.
- Tests:
- vtkShepardMethod (Tests)
Definition at line 48 of file vtkShepardMethod.h.
vtkShepardMethod::vtkShepardMethod |
( |
| ) |
|
|
protected |
vtkShepardMethod::~vtkShepardMethod |
( |
| ) |
|
|
inlineprotected |
static int vtkShepardMethod::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkShepardMethod::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkShepardMethod::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkShepardMethod::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
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.
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 * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkShepardMethod::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
virtual int vtkShepardMethod::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
int vtkShepardMethod::SampleDimensions[3] |
|
protected |
double vtkShepardMethod::MaximumDistance |
|
protected |
double vtkShepardMethod::ModelBounds[6] |
|
protected |
double vtkShepardMethod::NullValue |
|
protected |
The documentation for this class was generated from the following file: