SDFObject combining two elements.
More...
#include <models3.h>
|
std::pair< double, double > | getSoloDist (const Eigen::Vector3d &p) const |
|
SDFObject combining two elements.
◆ SDFOperation
Available SDFObject combination.
Enumerator |
---|
UNION | Creates object behaving as union of two SDFObject
|
INTERSECTION | Creates object behaving as intersection of two SDFObject
|
DIFFERENCE | Creates difference _left / _right of two SDFObject
|
◆ SDFCombination()
Creates new combination
- Parameters
-
left | unique pointer to the SDFObject |
right | unique pointer to the SDFObject |
op | type of SDFOperation |
◆ ~SDFCombination()
RayMarching::SDFCombination::~SDFCombination |
( |
| ) |
|
|
overridedefault |
◆ getColor()
color_t RayMarching::SDFCombination::getColor |
( |
const Eigen::Vector3d & |
p | ) |
const |
|
overridevirtual |
◆ getDist()
double RayMarching::SDFCombination::getDist |
( |
const Eigen::Vector3d & |
p | ) |
const |
|
overridevirtual |
◆ getSoloDist()
std::pair< double, double > RayMarching::SDFCombination::getSoloDist |
( |
const Eigen::Vector3d & |
p | ) |
const |
|
protected |
Returns pair of distances from objects
- Parameters
-
- Returns
- pair of distances
The documentation for this class was generated from the following files: