VTK-m
2.0
|
The PerlinNoise source creates a uniform dataset. More...
#include <PerlinNoise.h>
Private Member Functions | |
vtkm::cont::DataSet | DoExecute () const override |
Private Attributes | |
vtkm::Id3 | PointDimensions = { 16, 16, 16 } |
vtkm::Vec3f | Origin = { 0, 0, 0 } |
vtkm::IdComponent | Seed = 0 |
bool | SeedSet = false |
Additional Inherited Members | |
Protected Attributes inherited from vtkm::source::Source | |
vtkm::cont::Invoker | Invoke |
The PerlinNoise source creates a uniform dataset.
This class generates a uniform grid dataset with a tileable perlin noise scalar point field.
The Execute method creates a complete structured dataset that have a scalar point field named 'perlinnoise'.
|
default |
|
default |
|
default |
|
default |
VTKM_CONT vtkm::source::PerlinNoise::PerlinNoise | ( | vtkm::Id3 | dims, |
vtkm::IdComponent | seed | ||
) |
VTKM_CONT vtkm::source::PerlinNoise::PerlinNoise | ( | vtkm::Id3 | dims, |
vtkm::Vec3f | origin | ||
) |
VTKM_CONT vtkm::source::PerlinNoise::PerlinNoise | ( | vtkm::Id3 | dims, |
vtkm::Vec3f | origin, | ||
vtkm::IdComponent | seed | ||
) |
|
overrideprivatevirtual |
Implements vtkm::source::Source.
|
inline |
|
inline |
The seed used for the pseudorandom number generation of the noise.
If the seed is not set, then a new, unique seed is picked each time Execute
is run.
|
default |
|
default |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |