CustusX  22.04-rc2
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

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

Definition at line 27 of file cxSpaceProviderImpl.cpp.

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

Definition at line 33 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 244 of file cxSpaceProviderImpl.cpp.

SpaceListenerPtr cx::SpaceProviderImpl::createListener ( )
virtual

Implements cx::SpaceProvider.

Definition at line 36 of file cxSpaceProviderImpl.cpp.

Transform3D cx::SpaceProviderImpl::get_rMpr ( )
virtual

Implements cx::SpaceProvider.

Definition at line 315 of file cxSpaceProviderImpl.cpp.

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

to_M_from

Implements cx::SpaceProvider.

Definition at line 129 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 95 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 111 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 220 of file cxSpaceProviderImpl.cpp.

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

Implements cx::SpaceProvider.

Definition at line 74 of file cxSpaceProviderImpl.cpp.

CoordinateSystem cx::SpaceProviderImpl::getPr ( )
virtual

Implements cx::SpaceProvider.

Definition at line 232 of file cxSpaceProviderImpl.cpp.

CoordinateSystem cx::SpaceProviderImpl::getR ( )
virtual

data references coordinate system

Implements cx::SpaceProvider.

Definition at line 238 of file cxSpaceProviderImpl.cpp.

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

tools sensor coordinate system

Implements cx::SpaceProvider.

Definition at line 170 of file cxSpaceProviderImpl.cpp.

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

Implements cx::SpaceProvider.

Definition at line 41 of file cxSpaceProviderImpl.cpp.

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

tools coordinate system

Implements cx::SpaceProvider.

Definition at line 182 of file cxSpaceProviderImpl.cpp.

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: