|
| TreeScale (TreeNode *, const Vector &) |
| Creates a scaling node in the tree structure.
|
|
| TreeScale (TreeNode *, const double &) |
| Creates a scaling node in the tree structure.
|
|
virtual | ~TreeScale () |
| Destroy a scaling node in the tree.
|
|
double | Intensity (const Vector &) const |
| Returns the intensity computed by the child node after transforming the point into local space.
|
|
Vector | Gradient (const Vector &) const |
| Returns the transformed gradient computed by the child node after scaling the point into local space.
|
|
virtual TreeNode * | Copy () const |
| Creates a deep copy of the scale node.
|
|
int | Memory () const |
| Compute the size of a node.
|
|
virtual double | K () const |
| Returns the Lipschitz constant of a scale node.
|
|
virtual double | K (const Box &) const |
| Computes the Lipschitz constant within an argument box.
|
|
virtual double | K (const Ray &) const |
| Computes the Lipschitz constant of the scale node if intersecting a ray.
|
|
virtual double | K (const Segment &) const |
| Computes the Lipschitz constant of the scale node over a segment.
|
|
virtual double | K (const RayStep &) const |
| Computes the Lipschitz constant of the scale node over a segment.
|
|
virtual double | K (const Sphere &) const |
| Computes the Lipschitz constant of the scale node in a sphere.
|
|
Color | GetMaterial (const Vector &, const Vector &=Vector::Null) const |
| Compute the surface parameters at a given point of space.
|
|
TreeNode * | Cut (const Box &) const |
| Cuts the node to simplify its structure inside a box.
|
|
virtual TreeNode * | Scale (const Vector &) |
| Scales the node in the BlobTree.
|
|
| TreeWarp (TreeNode *=nullptr) |
| Create a warping node.
|
|
virtual | ~TreeWarp () |
| Recursively destroys the structure.
|
|
| TreeUnary (TreeNode *) |
| Create a generic warping node.
|
|
virtual | ~TreeUnary () |
| Recursively destroys the structure.
|
|
virtual int | Nodes () const |
| Compute the number of nodes of the sub-tree.
|
|
virtual int | Depth () const |
| Compute the dpeth of the sub-tree.
|
|
virtual void | SetThreshold (const double &) |
| Recursively setup the threshold value.
|
|
| 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 double | Omega (const Vector &) const |
| Return the squared distance to the compact support of the node.
|
|
virtual void | IntensityGradient (const Vector &, double &, Vector &) const |
| Computes the field value and the gradient at a given point in space.
|
|
virtual TreeNode * | Blend (TreeNode *) |
| Insert a blending node that blends the old and the new sub-tree together.
|
|
virtual TreeNode * | Union (TreeNode *) |
| Insert a union node that unions the old and the new sub-tree together.
|
|
virtual TreeNode * | Difference (TreeNode *) |
| Insert a difference node.
|
|
virtual TreeNode * | Translate (const Vector &) |
| Insert a translation node.
|
|
virtual TreeNode * | Rotate (const Matrix &) |
| Insert a rotation node.
|
|
Box | GetBox () const |
| Return the bounding box of the node.
|
|
virtual QString | Show (int=0) const |
| Show the tree hierarchy.
|
|
virtual Vector | Dichotomy (Vector, Vector, double, double, double, const double &=1.0e-4) |
| Compute the intersection between the implicit surface and a segment.
|
|
Scaling nodes in the BlobTree.
Scaling nodes are very specific affine transformations with very simple and efficient code.
Example of how to code a scaling node:
Normalized blending functions (1-r2)3.
Definition blend.h:91
The generic nodes with some pure virtual functions.
Definition blobtree.h:28
TreeScale(TreeNode *, const Vector &)
Creates a scaling node in the tree structure.
Definition treescale.cpp:26
,