#include <geometry_cylinder.h>
List of all members.
Public Types |
typedef math_types_ | math_types |
typedef math_types::value_traits | value_traits |
typedef math_types::real_type | real_type |
typedef math_types::vector3_type | vector3_type |
typedef math_types::matrix3x3_type | matrix3x3_type |
typedef math_types::quaternion_type | quaternion_type |
Public Member Functions |
size_t const | class_id () const |
virtual | ~Cylinder () |
vector3_type | center () const |
real_type const & | radius () const |
real_type const & | height () const |
vector3_type const & | axis () const |
| Cylinder () |
| Cylinder (vector3_type const &new_center, vector3_type const &new_axis, real_type const &new_height, real_type const &new_radius) |
| Cylinder (Cylinder const ©) |
void | set (Cylinder const &other_cylinder) |
void | set (vector3_type const &new_center, vector3_type const &new_axis, real_type const &new_height, real_type const &new_radius) |
void | place (vector3_type const &new_center, vector3_type const &new_axis) |
void | xform (vector3_type const &T, matrix3x3_type const &R) |
real_type | diameter () const |
real_type | area () const |
real_type | volume () const |
void | compute_surface_points (std::vector< vector3_type > &points) const |
void | translate (vector3_type const &T) |
void | rotate (matrix3x3_type const &R) |
void | scale (real_type const &s) |
vector3_type | get_support_point (vector3_type const &v) const |
real_type | evaluate (vector3_type const &x) const |
vector3_type | gradient (vector3_type const &x) const |
vector3_type | normal (vector3_type const &x) const |
real_type | signed_distance (vector3_type const &x) const |
void | compute_collision_aabb (vector3_type const &, matrix3x3_type const &, vector3_type &min_coord, vector3_type &max_coord) const |
Protected Attributes |
vector3_type | m_axis |
vector3_type | m_center |
real_type | m_radius |
real_type | m_height |
Detailed Description
template<typename math_types_>
class OpenTissue::geometry::Cylinder< math_types_ >
An Oriented Cylinder.
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_>
template<typename math_types_>
template<typename math_types_>
Member Function Documentation
template<typename math_types_>
Get Surface Area
- Returns:
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_>
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_>
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_>
Member Data Documentation
template<typename math_types_>
template<typename math_types_>
template<typename math_types_>
template<typename math_types_>
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_cylinder.h