| 
    VTK-m
    2.0
    
   | 
 
The Tangle source creates a uniform dataset. More...
#include <Tangle.h>
  
Public Member Functions | |
| VTKM_CONT | Tangle ()=default | 
| VTKM_CONT | ~Tangle ()=default | 
| VTKM_CONT | Tangle (vtkm::Id3 dims) | 
| VTKM_CONT vtkm::Id3 | GetPointDimensions () const | 
| VTKM_CONT void | SetPointDimensions (vtkm::Id3 dims) | 
| VTKM_CONT vtkm::Id3 | GetCellDimensions () const | 
| VTKM_CONT void | SetCellDimensions (vtkm::Id3 dims) | 
  Public Member Functions inherited from vtkm::source::Source | |
| virtual VTKM_CONT | ~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 | 
      
  | 
  overrideprivatevirtual | 
Implements vtkm::source::Source.
      
  | 
  private | 
 1.8.17