|
| TreeTaper (TreeNode *, const Vector &, const Vector &, const Cubic &) |
| Creates a tapering node. More...
|
|
virtual | ~TreeTaper () |
| Destroys a tapering node in the tree. More...
|
|
double | Intensity (const Vector &) const |
| Computes the intensity. More...
|
|
Vector | Gradient (const Vector &) const |
| Computes the gradient of the field function. More...
|
|
virtual TreeNode * | Copy () const |
| Deep copy.
|
|
int | Memory () const |
| Compute the size of a node.
|
|
double | K () const |
| Computes the Lipschitz constant of the sub-tree.
|
|
double | K (const Box &) const |
| Computes the Lipschitz constant of the sub-tree. More...
|
|
double | K (const Ray &) const |
| Returns a local Lipschitz constant along a ray. More...
|
|
double | K (const Sphere &) const |
| Computes the Lipschitz constant of the sub-tree. More...
|
|
double | K (const Segment &) const |
| Computes the Lipschitz constant of the sub-tree. More...
|
|
double | K (const RayStep &) const |
| Computes the Lipschitz constant of the sub-tree. More...
|
|
Color | GetMaterial (const Vector &, const Vector &=Vector::Null) const |
| Compute the surface parameters at a given point of space. More...
|
|
TreeNode * | Cut (const Box &) const |
| Cuts the node to simplify its structure inside a box. More...
|
|
| TreeWarp (TreeNode *=nullptr) |
| Create a warping node. More...
|
|
virtual | ~TreeWarp () |
| Recursively destroys the structure. More...
|
|
| TreeUnary (TreeNode *) |
| Create a generic warping node. More...
|
|
virtual | ~TreeUnary () |
| Recursively destroys the structure.
|
|
virtual int | Nodes () const |
| Compute the number of nodes of the sub-tree. More...
|
|
virtual int | Depth () const |
| Compute the dpeth of the sub-tree. More...
|
|
virtual void | SetThreshold (const double &) |
| Recursively setup the threshold value. More...
|
|
| TreeOperator () |
| Creates an operator node.
|
|
virtual | ~TreeOperator () |
| Destroys an operator.
|
|
| TreeNode () |
| Create a virtual node of the Blob-Tree structure.
|
|
virtual | ~TreeNode () |
| Destroys a node.
|
|
virtual void | IntensityGradient (const Vector &, double &, Vector &) const |
| Computes the field value and the gradient at a given point in space. More...
|
|
virtual TreeNode * | Blend (TreeNode *) |
| Insert a blending node that blends the old and the new sub-tree together. More...
|
|
virtual TreeNode * | Union (TreeNode *) |
| Insert a union node that unions the old and the new sub-tree together. More...
|
|
virtual TreeNode * | Difference (TreeNode *) |
| Insert a difference node. More...
|
|
virtual TreeNode * | Translate (const Vector &) |
| Insert a translation node. More...
|
|
virtual TreeNode * | Rotate (const Matrix &) |
| Insert a rotation node. More...
|
|
virtual TreeNode * | Scale (const Vector &) |
| Insert a scaling node. More...
|
|
Box | GetBox () const |
| Return the bounding box of the node.
|
|
virtual Vector | Dichotomy (Vector, Vector, double, double, double, const double &=1.0e-4) |
| Compute the intersection between the implicit surface and a segment. More...
|
|
A tapering node in the BlobTree.
Tapering is performed along an axis. Within the corresponding cylinder, the tapering coefficient is defined by a cubic spline curve. Outside the cylinder, tapering is kept constant.
,
Example of how to code a taper:
TreeNode* taper=
new TreeTaper(edge,
Vector(0.0,0.0,-2.0),
Vector(0.0,0.0,2.0),1.0,2.0,0.0,0.0);
Normalized blending functions (1-r2)3.
Definition: blend.h:114
Segment skeletal primitive.
Definition: blobtree.h:658
The generic nodes with some pure virtual functions.
Definition: blobtree.h:27
TreeTaper(TreeNode *, const Vector &, const Vector &, const Cubic &)
Creates a tapering node.
Definition: treetaper.cpp:28