VTK-m
2.2
|
The PerlinNoise source creates a uniform dataset. More...
#include <PerlinNoise.h>
Public Member Functions | |
PerlinNoise ()=default | |
~PerlinNoise ()=default | |
PerlinNoise (const PerlinNoise &)=default | |
PerlinNoise (PerlinNoise &&)=default | |
PerlinNoise & | operator= (const PerlinNoise &)=default |
PerlinNoise & | operator= (PerlinNoise &&)=default |
PerlinNoise (vtkm::Id3 dims) | |
PerlinNoise (vtkm::Id3 dims, vtkm::IdComponent seed) | |
PerlinNoise (vtkm::Id3 dims, vtkm::Vec3f origin) | |
PerlinNoise (vtkm::Id3 dims, vtkm::Vec3f origin, vtkm::IdComponent seed) | |
vtkm::Id3 | GetPointDimensions () const |
void | SetPointDimensions (vtkm::Id3 dims) |
vtkm::Id3 | GetCellDimensions () const |
void | SetCellDimensions (vtkm::Id3 dims) |
vtkm::Vec3f | GetOrigin () const |
void | SetOrigin (const vtkm::Vec3f &origin) |
vtkm::IdComponent | GetSeed () const |
The seed used for the pseudorandom number generation of the noise. More... | |
void | SetSeed (vtkm::IdComponent seed) |
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 } |
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::source::PerlinNoise::PerlinNoise | ( | vtkm::Id3 | dims | ) |
vtkm::source::PerlinNoise::PerlinNoise | ( | vtkm::Id3 | dims, |
vtkm::IdComponent | seed | ||
) |
vtkm::source::PerlinNoise::PerlinNoise | ( | vtkm::Id3 | dims, |
vtkm::Vec3f | origin | ||
) |
vtkm::source::PerlinNoise::PerlinNoise | ( | vtkm::Id3 | dims, |
vtkm::Vec3f | origin, | ||
vtkm::IdComponent | seed | ||
) |
|
overrideprivatevirtual |
Implements vtkm::source::Source.
|
inline |
|
inline |
|
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 |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |