NorMIT-nav  22.09
An IGT application
cx::SpaceProviderImpl Class Reference

#include <cxSpaceProviderImpl.h>

Inheritance diagram for cx::SpaceProviderImpl:
cx::SpaceProvider

Public Member Functions

 SpaceProviderImpl (TrackingServicePtr trackingService, PatientModelServicePtr dataManager)
 
virtual ~SpaceProviderImpl ()
 
virtual Transform3D get_toMfrom (CoordinateSystem from, CoordinateSystem to)
 to_M_from More...
 
virtual std::vector< CoordinateSystemgetSpacesToPresentInGUI ()
 
virtual std::map< QString, QString > getDisplayNamesForCoordRefObjects ()
 
virtual SpaceListenerPtr createListener ()
 
virtual Vector3D getActiveToolTipPoint (CoordinateSystem to, bool useOffset=false)
 P_to, active tools current point in coord. More...
 
virtual Transform3D getActiveToolTipTransform (CoordinateSystem to, bool useOffset=false)
 Get toMt, where t is active tool. More...
 
virtual Transform3D get_rMpr ()
 
virtual CoordinateSystem getS (ToolPtr tool)
 tools sensor coordinate system More...
 
virtual CoordinateSystem getT (ToolPtr tool)
 tools coordinate system More...
 
virtual CoordinateSystem getTO (ToolPtr tool)
 tool offset coordinate system More...
 
virtual CoordinateSystem getD (DataPtr data)
 datas coordinate system static CoordinateSystem getPr(); ///<patient references coordinate system More...
 
virtual CoordinateSystem getPr ()
 
virtual CoordinateSystem getR ()
 data references coordinate system More...
 
virtual CoordinateSystem convertToSpecific (CoordinateSystem space)
 convert "active" references to specific tool/data instances More...
 
- Public Member Functions inherited from cx::SpaceProvider
virtual ~SpaceProvider ()
 

Additional Inherited Members

- Signals inherited from cx::SpaceProvider
void spaceAddedOrRemoved ()
 
- Static Public Member Functions inherited from cx::SpaceProvider
static SpaceProviderPtr getNullObject ()
 

Detailed Description

Provides information about all the coordinate systems in the application.

Date
2014-02-21
Author
christiana

Definition at line 29 of file cxSpaceProviderImpl.h.

Constructor & Destructor Documentation

◆ SpaceProviderImpl()

cx::SpaceProviderImpl::SpaceProviderImpl ( TrackingServicePtr  trackingService,
PatientModelServicePtr  dataManager 
)

Definition at line 27 of file cxSpaceProviderImpl.cpp.

◆ ~SpaceProviderImpl()

virtual cx::SpaceProviderImpl::~SpaceProviderImpl ( )
inlinevirtual

Definition at line 33 of file cxSpaceProviderImpl.h.

Member Function Documentation

◆ convertToSpecific()

CoordinateSystem cx::SpaceProviderImpl::convertToSpecific ( CoordinateSystem  space)
virtual

convert "active" references to specific tool/data instances

Implements cx::SpaceProvider.

Definition at line 244 of file cxSpaceProviderImpl.cpp.

◆ createListener()

SpaceListenerPtr cx::SpaceProviderImpl::createListener ( )
virtual

Implements cx::SpaceProvider.

Definition at line 36 of file cxSpaceProviderImpl.cpp.

◆ get_rMpr()

Transform3D cx::SpaceProviderImpl::get_rMpr ( )
virtual

Implements cx::SpaceProvider.

Definition at line 317 of file cxSpaceProviderImpl.cpp.

◆ get_toMfrom()

Transform3D cx::SpaceProviderImpl::get_toMfrom ( CoordinateSystem  from,
CoordinateSystem  to 
)
virtual

to_M_from

Implements cx::SpaceProvider.

Definition at line 129 of file cxSpaceProviderImpl.cpp.

◆ getActiveToolTipPoint()

Vector3D cx::SpaceProviderImpl::getActiveToolTipPoint ( CoordinateSystem  to,
bool  useOffset = false 
)
virtual

P_to, active tools current point in coord.

Implements cx::SpaceProvider.

Definition at line 95 of file cxSpaceProviderImpl.cpp.

◆ getActiveToolTipTransform()

Transform3D cx::SpaceProviderImpl::getActiveToolTipTransform ( CoordinateSystem  to,
bool  useOffset = false 
)
virtual

Get toMt, where t is active tool.

return toMfrom = qMt or qMto

Implements cx::SpaceProvider.

Definition at line 111 of file cxSpaceProviderImpl.cpp.

◆ getD()

CoordinateSystem cx::SpaceProviderImpl::getD ( DataPtr  data)
virtual

datas coordinate system static CoordinateSystem getPr(); ///<patient references coordinate system

Implements cx::SpaceProvider.

Definition at line 220 of file cxSpaceProviderImpl.cpp.

◆ getDisplayNamesForCoordRefObjects()

std::map< QString, QString > cx::SpaceProviderImpl::getDisplayNamesForCoordRefObjects ( )
virtual

Implements cx::SpaceProvider.

Definition at line 74 of file cxSpaceProviderImpl.cpp.

◆ getPr()

CoordinateSystem cx::SpaceProviderImpl::getPr ( )
virtual

Implements cx::SpaceProvider.

Definition at line 232 of file cxSpaceProviderImpl.cpp.

◆ getR()

CoordinateSystem cx::SpaceProviderImpl::getR ( )
virtual

data references coordinate system

Implements cx::SpaceProvider.

Definition at line 238 of file cxSpaceProviderImpl.cpp.

◆ getS()

CoordinateSystem cx::SpaceProviderImpl::getS ( ToolPtr  tool)
virtual

tools sensor coordinate system

Implements cx::SpaceProvider.

Definition at line 170 of file cxSpaceProviderImpl.cpp.

◆ getSpacesToPresentInGUI()

std::vector< CoordinateSystem > cx::SpaceProviderImpl::getSpacesToPresentInGUI ( )
virtual

Implements cx::SpaceProvider.

Definition at line 41 of file cxSpaceProviderImpl.cpp.

◆ getT()

CoordinateSystem cx::SpaceProviderImpl::getT ( ToolPtr  tool)
virtual

tools coordinate system

Implements cx::SpaceProvider.

Definition at line 182 of file cxSpaceProviderImpl.cpp.

◆ getTO()

CoordinateSystem cx::SpaceProviderImpl::getTO ( ToolPtr  tool)
virtual

tool offset coordinate system

Implements cx::SpaceProvider.

Definition at line 201 of file cxSpaceProviderImpl.cpp.


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