ViennaLS
Loading...
Searching...
No Matches
viennals::Expand< T, D > Class Template Reference

Expands the leveleSet to the specified number of layers. The largest value in the levelset is thus width*0.5 Returns the number of added points. More...

#include <lsExpand.hpp>

Public Member Functions

 Expand ()
 
 Expand (SmartPointer< Domain< T, D > > passedlsDomain)
 
 Expand (SmartPointer< Domain< T, D > > passedlsDomain, int passedWidth)
 
void setLevelSet (SmartPointer< Domain< T, D > > passedlsDomain)
 
void setWidth (int passedWidth)
 Set how far the level set should be extended. Points with value width*0.5 will be added by this algorithm.
 
void setUpdatePointData (bool update)
 Set whether to update the point data stored in the LS during this algorithm. Defaults to true.
 
void apply ()
 Apply the expansion to the specified width.
 

Detailed Description

template<class T, int D>
class viennals::Expand< T, D >

Expands the leveleSet to the specified number of layers. The largest value in the levelset is thus width*0.5 Returns the number of added points.

Constructor & Destructor Documentation

◆ Expand() [1/3]

template<class T , int D>
viennals::Expand< T, D >::Expand ( )
inline

◆ Expand() [2/3]

template<class T , int D>
viennals::Expand< T, D >::Expand ( SmartPointer< Domain< T, D > > passedlsDomain)
inline

◆ Expand() [3/3]

template<class T , int D>
viennals::Expand< T, D >::Expand ( SmartPointer< Domain< T, D > > passedlsDomain,
int passedWidth )
inline

Member Function Documentation

◆ apply()

template<class T , int D>
void viennals::Expand< T, D >::apply ( )
inline

Apply the expansion to the specified width.

◆ setLevelSet()

template<class T , int D>
void viennals::Expand< T, D >::setLevelSet ( SmartPointer< Domain< T, D > > passedlsDomain)
inline

◆ setUpdatePointData()

template<class T , int D>
void viennals::Expand< T, D >::setUpdatePointData ( bool update)
inline

Set whether to update the point data stored in the LS during this algorithm. Defaults to true.

◆ setWidth()

template<class T , int D>
void viennals::Expand< T, D >::setWidth ( int passedWidth)
inline

Set how far the level set should be extended. Points with value width*0.5 will be added by this algorithm.


The documentation for this class was generated from the following file: