ViennaLS
Loading...
Searching...
No Matches
lsBooleanOperation.hpp File Reference
#include <lsPreCompileMacros.hpp>
#include <hrleSparseStarIterator.hpp>
#include <hrleVectorType.hpp>
#include <lsDomain.hpp>
#include <lsPrune.hpp>
#include <vcLogger.hpp>
#include <vcSmartPointer.hpp>

Go to the source code of this file.

Classes

class  viennals::BooleanOperation< T, D >
 This class is used to perform boolean operations on two level sets and write the resulting level set into the first passed level set. When the boolean operation is set to CUSTOM, a comparator must be set using setBooleanOperationComparator. This comparator returns one value generated from the level set value supplied by each level set. E.g.: for a union, the comparator will always return the smaller of the two values. The function signature for the comparator is defined in the public ComparatorType. More...
 

Namespaces

namespace  viennals
 

Enumerations

enum struct  viennals::BooleanOperationEnum : unsigned {
  viennals::INTERSECT = 0 , viennals::UNION = 1 , viennals::RELATIVE_COMPLEMENT = 2 , viennals::INVERT = 3 ,
  viennals::CUSTOM = 4
}
 Enumeration for the different types of boolean operations which are supported. When INVERT, only first level set is inverted. When CUSTOM, the user has to supply a valid function pointer of the form const T (*comp)(const T &, const T &). For CUSTOM only the first level set pointer is checked for validity. More...