Public Types | Public Member Functions

OpenTissue::geometry::BaseShape< math_types > Class Template Reference

#include <geometry_base_shape.h>

Inheritance diagram for OpenTissue::geometry::BaseShape< math_types >:
OpenTissue::collision::GeometryInterface< math_types > OpenTissue::utility::ClassIDInterface OpenTissue::geometry::VolumeShape< math_types >

List of all members.

Public Types

typedef math_types::real_type real_type
typedef math_types::vector3_type vector3_type
typedef math_types::matrix3x3_type matrix3x3_type

Public Member Functions

virtual ~BaseShape ()
virtual void compute_surface_points (std::vector< vector3_type > &points) const =0
virtual vector3_type get_support_point (vector3_type const &v) const =0
virtual void translate (vector3_type const &T)=0
virtual void rotate (matrix3x3_type const &R)=0
virtual void scale (real_type const &s)=0

Detailed Description

template<typename math_types>
class OpenTissue::geometry::BaseShape< math_types >

BaseShape Template Class If you implement a new geometry type then you should derive your geometry class from the BaseShape class

Template Parameters:
math_types standard math types containing at least the real, vector3 and matrix3x3 types.

Member Typedef Documentation


Constructor & Destructor Documentation

template<typename math_types>
virtual OpenTissue::geometry::BaseShape< math_types >::~BaseShape (  )  [inline, virtual]

Member Function Documentation

template<typename math_types>
virtual void OpenTissue::geometry::BaseShape< math_types >::compute_surface_points ( std::vector< vector3_type > &  points  )  const [pure virtual]
template<typename math_types>
virtual vector3_type OpenTissue::geometry::BaseShape< math_types >::get_support_point ( vector3_type const &  v  )  const [pure virtual]
template<typename math_types>
virtual void OpenTissue::geometry::BaseShape< math_types >::rotate ( matrix3x3_type const &  R  )  [pure virtual]
template<typename math_types>
virtual void OpenTissue::geometry::BaseShape< math_types >::scale ( real_type const &  s  )  [pure virtual]
template<typename math_types>
virtual void OpenTissue::geometry::BaseShape< math_types >::translate ( vector3_type const &  T  )  [pure virtual]

The documentation for this class was generated from the following file: