|
HDK
|
Hyperbolic advection of narrow-band level sets in an external velocity field. More...
#include <LevelSetAdvect.h>
Public Types | |
| using | GridType = GridT |
| using | TrackerT = LevelSetTracker< GridT, InterruptT > |
| using | LeafRange = typename TrackerT::LeafRange |
| using | LeafType = typename TrackerT::LeafType |
| using | BufferType = typename TrackerT::BufferType |
| using | ValueType = typename TrackerT::ValueType |
| using | VectorType = typename FieldT::VectorType |
Public Member Functions | |
| LevelSetAdvection (GridT &grid, const FieldT &field, InterruptT *interrupt=nullptr) | |
| Main constructor. More... | |
| virtual | ~LevelSetAdvection () |
| math::BiasedGradientScheme | getSpatialScheme () const |
| Return the spatial finite difference scheme. More... | |
| void | setSpatialScheme (math::BiasedGradientScheme scheme) |
| Set the spatial finite difference scheme. More... | |
| math::TemporalIntegrationScheme | getTemporalScheme () const |
| Return the temporal integration scheme. More... | |
| void | setTemporalScheme (math::TemporalIntegrationScheme scheme) |
| Set the spatial finite difference scheme. More... | |
| math::BiasedGradientScheme | getTrackerSpatialScheme () const |
| Return the spatial finite difference scheme. More... | |
| void | setTrackerSpatialScheme (math::BiasedGradientScheme scheme) |
| Set the spatial finite difference scheme. More... | |
| math::TemporalIntegrationScheme | getTrackerTemporalScheme () const |
| Return the temporal integration scheme. More... | |
| void | setTrackerTemporalScheme (math::TemporalIntegrationScheme scheme) |
| Set the spatial finite difference scheme. More... | |
| int | getNormCount () const |
| Return The number of normalizations performed per track or normalize call. More... | |
| void | setNormCount (int n) |
| Set the number of normalizations performed per track or normalize call. More... | |
| int | getGrainSize () const |
| Return the grain-size used for multi-threading. More... | |
| void | setGrainSize (int grainsize) |
| Set the grain-size used for multi-threading. More... | |
| size_t | advect (ValueType time0, ValueType time1) |
Hyperbolic advection of narrow-band level sets in an external velocity field.
The FieldType template argument below refers to any functor with the following interface (see tools/VelocityFields.h for examples):
The InterruptType template argument below refers to any class with the following interface:
Definition at line 74 of file LevelSetAdvect.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::BufferType = typename TrackerT::BufferType |
Definition at line 81 of file LevelSetAdvect.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::GridType = GridT |
Definition at line 77 of file LevelSetAdvect.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::LeafRange = typename TrackerT::LeafRange |
Definition at line 79 of file LevelSetAdvect.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::LeafType = typename TrackerT::LeafType |
Definition at line 80 of file LevelSetAdvect.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::TrackerT = LevelSetTracker<GridT, InterruptT> |
Definition at line 78 of file LevelSetAdvect.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::ValueType = typename TrackerT::ValueType |
Definition at line 82 of file LevelSetAdvect.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::VectorType = typename FieldT::VectorType |
Definition at line 83 of file LevelSetAdvect.h.
|
inline |
Main constructor.
Definition at line 86 of file LevelSetAdvect.h.
|
inlinevirtual |
Definition at line 91 of file LevelSetAdvect.h.
| size_t openvdb::OPENVDB_VERSION_NAME::tools::LevelSetAdvection< GridT, FieldT, InterruptT >::advect | ( | ValueType | time0, |
| ValueType | time1 | ||
| ) |
Advect the level set from its current time, time0, to its final time, time1. If time0>time1 backward advection is performed.
Definition at line 218 of file LevelSetAdvect.h.
|
inline |
Return the grain-size used for multi-threading.
Definition at line 128 of file LevelSetAdvect.h.
|
inline |
Return The number of normalizations performed per track or normalize call.
Definition at line 122 of file LevelSetAdvect.h.
|
inline |
Return the spatial finite difference scheme.
Definition at line 94 of file LevelSetAdvect.h.
|
inline |
Return the temporal integration scheme.
Definition at line 99 of file LevelSetAdvect.h.
|
inline |
Return the spatial finite difference scheme.
Definition at line 104 of file LevelSetAdvect.h.
|
inline |
Return the temporal integration scheme.
Definition at line 112 of file LevelSetAdvect.h.
|
inline |
Set the grain-size used for multi-threading.
Definition at line 131 of file LevelSetAdvect.h.
|
inline |
Set the number of normalizations performed per track or normalize call.
Definition at line 125 of file LevelSetAdvect.h.
|
inline |
Set the spatial finite difference scheme.
Definition at line 96 of file LevelSetAdvect.h.
|
inline |
Set the spatial finite difference scheme.
Definition at line 101 of file LevelSetAdvect.h.
|
inline |
Set the spatial finite difference scheme.
Definition at line 108 of file LevelSetAdvect.h.
|
inline |
Set the spatial finite difference scheme.
Definition at line 116 of file LevelSetAdvect.h.