List of all members.
Detailed Description
template<typename math_types_>
class OpenTissue::geometry::Torus< math_types_ >
Standard single-holed torus.
- In Cartesian coordinates this torus is azimuthally symmetric about the z-axis.
Member Typedef Documentation
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
Constructor & Destructor Documentation
template<typename math_types_ >
template<typename math_types_ >
Torus constructor
- Parameters:
-
| center | The cventer of the torus |
| radius | The radius from the center to the middle of the torus tube |
| tube | The radius of the torus tube |
- Note:
- if radius > tube a ring torus (doughnut) is constructed.
-
if radius = tube a horn torus is constructed which is tangent to itself at the center.
-
if radius < tube a self-intersecting spindle torus is constructed.
template<typename math_types_ >
Member Function Documentation
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
Compute Bounding Box. This method computes an axis aligned bounding box (AABB) that encloses the geometry.
- Parameters:
-
| r | The position of the model frame (i.e the coordinate frame the geometry lives in). |
| R | The orientation of the model frame (i.e the coordinate frame the geometry lives in). |
| min_coord | Upon return holds the minimum corner of the box. |
| max_coord | Upon return holds the maximum corner of the box. |
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
implicit function of a torus: f(x,y,z) = (c-sqrt(x^2+y^2))^2+z^2-a^2
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
Set Torus (constructs the torus)
- Parameters:
-
| center | The cventer of the torus |
| radius | The radius from the center to the middle of the torus tube |
| tube | The radius of the torus tube |
- Note:
- if radius > tube a ring torus (doughnut) is constructed.
-
if radius = tube a horn torus is constructed which is tangent to itself at the center.
-
if radius < tube a self-intersecting spindle torus is constructed.
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
template<typename math_types_ >
Member Data Documentation
template<typename math_types_ >
the center of the torus hole
template<typename math_types_ >
the radius from the center to the tube center
template<typename math_types_ >
the radius of the torus tube
The documentation for this class was generated from the following file:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/core/geometry/geometry_torus.h