CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
< CoordinateSystem
getSpacesToPresentInGUI ()
 
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 ()
 

Detailed Description

Provides information about all the coordinate systems in the application.

Date
2014-02-21
Author
christiana

Definition at line 50 of file cxSpaceProviderImpl.h.

Constructor & Destructor Documentation

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

Definition at line 48 of file cxSpaceProviderImpl.cpp.

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

Definition at line 54 of file cxSpaceProviderImpl.h.

Member Function Documentation

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

convert "active" references to specific tool/data instances

Implements cx::SpaceProvider.

Definition at line 265 of file cxSpaceProviderImpl.cpp.

SpaceListenerPtr cx::SpaceProviderImpl::createListener ( )
virtual

Implements cx::SpaceProvider.

Definition at line 57 of file cxSpaceProviderImpl.cpp.

Transform3D cx::SpaceProviderImpl::get_rMpr ( )
virtual

Implements cx::SpaceProvider.

Definition at line 336 of file cxSpaceProviderImpl.cpp.

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

to_M_from

Implements cx::SpaceProvider.

Definition at line 150 of file cxSpaceProviderImpl.cpp.

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

P_to, active tools current point in coord.

Implements cx::SpaceProvider.

Definition at line 116 of file cxSpaceProviderImpl.cpp.

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 132 of file cxSpaceProviderImpl.cpp.

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

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

Implements cx::SpaceProvider.

Definition at line 241 of file cxSpaceProviderImpl.cpp.

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

Implements cx::SpaceProvider.

Definition at line 95 of file cxSpaceProviderImpl.cpp.

CoordinateSystem cx::SpaceProviderImpl::getPr ( )
virtual

Implements cx::SpaceProvider.

Definition at line 253 of file cxSpaceProviderImpl.cpp.

CoordinateSystem cx::SpaceProviderImpl::getR ( )
virtual

data references coordinate system

Implements cx::SpaceProvider.

Definition at line 259 of file cxSpaceProviderImpl.cpp.

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

tools sensor coordinate system

Implements cx::SpaceProvider.

Definition at line 191 of file cxSpaceProviderImpl.cpp.

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

Implements cx::SpaceProvider.

Definition at line 62 of file cxSpaceProviderImpl.cpp.

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

tools coordinate system

Implements cx::SpaceProvider.

Definition at line 203 of file cxSpaceProviderImpl.cpp.

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

tool offset coordinate system

Implements cx::SpaceProvider.

Definition at line 222 of file cxSpaceProviderImpl.cpp.


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