VolumeGridEmitter3.hpp
Go to the documentation of this file.
37 std::function<Vector3D(double, const Vector3D&, const Vector3D&)>;
bool GetIsOneShot() const
Returns true if this emits only once.
Front-end to create VolumeGridEmitter3 objects step by step.
Definition: VolumeGridEmitter3.hpp:142
std::shared_ptr< ImplicitSurface3 > ImplicitSurface3Ptr
Shared pointer type for the ImplicitSurface3.
Definition: ImplicitSurface.hpp:70
std::shared_ptr< ScalarGrid3 > ScalarGrid3Ptr
Shared pointer for the ScalarGrid3 type.
Definition: ScalarGrid.hpp:269
VolumeGridEmitter3(ImplicitSurface3Ptr sourceRegion, bool isOneShot=true)
Constructs an emitter with a source and is-one-shot flag.
static Builder GetBuilder()
Returns builder fox VolumeGridEmitter3.
std::function< Vector3D(double, const Vector3D &, const Vector3D &)> VectorMapper
Maps to a vector value for given signed-dist, location, and old value.
Definition: VolumeGridEmitter3.hpp:37
Definition: pybind11Utils.hpp:20
std::shared_ptr< Surface3 > Surface3Ptr
Shared pointer for the Surface3 type.
Definition: Surface.hpp:147
std::function< double(double, const Vector3D &, double)> ScalarMapper
Maps to a scalar value for given signed-dist, location, and old value.
Definition: VolumeGridEmitter3.hpp:33
void AddStepFunctionTarget(const ScalarGrid3Ptr &scalarGridTarget, double minValue, double maxValue)
Adds step function target to the scalar grid.
const ImplicitSurface3Ptr & GetSourceRegion() const
Returns implicit surface which defines the source region.
3-D grid-based volumetric emitter.
Definition: VolumeGridEmitter3.hpp:27
std::shared_ptr< VectorGrid3 > VectorGrid3Ptr
Shared pointer for the VectorGrid3 type.
Definition: VectorGrid.hpp:113
Abstract base class for 3-D grid-based emitters.
Definition: GridEmitter3.hpp:22
void AddSignedDistanceTarget(const ScalarGrid3Ptr &scalarGridTarget)
Adds signed-distance target to the scalar grid.
void AddTarget(const ScalarGrid3Ptr &scalarGridTarget, const ScalarMapper &customMapper)
Adds a scalar grid target.
std::shared_ptr< VolumeGridEmitter3 > VolumeGridEmitter3Ptr
Shared pointer type for the VolumeGridEmitter3.
Definition: VolumeGridEmitter3.hpp:137