Extract a 2D slice from a 3D level set domain at a fixed position along one axis. The resulting 2D domain contains points where the 3D domain intersects the slice plane and is always inserted into the x-y plane. Use with caution, as the result might be an empty domain if the slice does not intersect any defined points in the source domain.
More...
|
| Slice ()=default |
|
| Slice (SmartPointer< Domain< T, 3 > > passedDomain, SmartPointer< Domain< T, 2 > > passedSliceDomain, int passedSliceDimension=0, T passedSlicePosition=0) |
|
| Slice (SmartPointer< Domain< T, 3 > > passedDomain, int passedSliceDimension=0, T passedSlicePosition=0) |
|
void | setSourceLevelSet (SmartPointer< Domain< T, 3 > > passedDomain) |
|
void | setSliceLevelSet (SmartPointer< Domain< T, 2 > > passedDomain) |
|
void | setWritePath (const std::string &path, bool writeSliceSurfaceMesh=false) |
|
SmartPointer< Domain< T, 2 > > | getSliceLevelSet () |
|
void | setSliceDimension (const int dimension) |
|
void | setSlicePosition (T position) |
|
void | setReflectX (bool reflect) |
|
void | apply () |
|
template<class
T>
class viennals::Slice< T >
Extract a 2D slice from a 3D level set domain at a fixed position along one axis. The resulting 2D domain contains points where the 3D domain intersects the slice plane and is always inserted into the x-y plane. Use with caution, as the result might be an empty domain if the slice does not intersect any defined points in the source domain.