VTK-m
2.2
|
The Tangle source creates a uniform dataset. More...
#include <Tangle.h>
Public Member Functions | |
Tangle ()=default | |
~Tangle ()=default | |
Tangle (vtkm::Id3 dims) | |
vtkm::Id3 | GetPointDimensions () const |
void | SetPointDimensions (vtkm::Id3 dims) |
vtkm::Id3 | GetCellDimensions () const |
void | SetCellDimensions (vtkm::Id3 dims) |
Public Member Functions inherited from vtkm::source::Source | |
virtual | ~Source ()=default |
vtkm::cont::DataSet | Execute () const |
Private Member Functions | |
vtkm::cont::DataSet | DoExecute () const override |
Private Attributes | |
vtkm::Id3 | PointDimensions = { 16, 16, 16 } |
Additional Inherited Members | |
Protected Attributes inherited from vtkm::source::Source | |
vtkm::cont::Invoker | Invoke |
The Tangle source creates a uniform dataset.
This class generates a predictable uniform grid dataset with an interesting point field, which is useful for testing and benchmarking.
The Execute method creates a complete structured dataset of a resolution specified in the constructor that is bounded by the cube in the range [0,1] in each dimension. The dataset has a point field named 'tangle' computed with the following formula
x^4 - 5x^2 + y^4 - 5y^2 + z^4 - 5z^2
|
default |
|
default |
|
inline |
|
overrideprivatevirtual |
Implements vtkm::source::Source.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |