PIPER  1.0.1
anatomydb::FrameFactory Class Reference

This class computes anatomical frames coordinate from landmark positions. More...

Public Member Functions

LandmarkContlandmark ()
 
bool isFrameRegistered (std::string const &name)
 
std::vector< std::string > registeredFrameList () const
 
anatomydb::Frame computeFrame (std::string const &name)
 

Static Public Member Functions

static FrameFactoryinstance ()
 

Detailed Description

This class computes anatomical frames coordinate from landmark positions.

It uses the singleton design pattern, use FrameFactory::instance() to retrieve its unique instance. To use this class you first have to fill the landmarks position.

Member Function Documentation

anatomydb::Frame anatomydb::FrameFactory::computeFrame ( std::string const &  name)
static FrameFactory& anatomydb::FrameFactory::instance ( )
static
bool anatomydb::FrameFactory::isFrameRegistered ( std::string const &  name)
LandmarkCont& anatomydb::FrameFactory::landmark ( )
Returns
the landmarks container
std::vector<std::string> anatomydb::FrameFactory::registeredFrameList ( ) const

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