Fraxinus
17.12-rc3
An IGT application
|
Provides a slice matrix based on definition and tool. More...
#include <cxSliceProxy.h>
Signals | |
void | toolTransformAndTimestamp (Transform3D prMt, double timestamp) |
forwarded from tool More... | |
void | toolVisible (bool visible) |
forwarding of visible in tool More... | |
Signals inherited from cx::SliceProxyInterface | |
void | transformChanged (Transform3D sMr) |
emitted when transform is changed. More... | |
Public Member Functions | |
virtual | ~SliceProxy () |
void | setTool (ToolPtr tool) |
void | setOrientation (ORIENTATION_TYPE orientation) |
void | setPlane (PLANE_TYPE plane) |
void | setFollowType (FOLLOW_TYPE followType) |
void | initializeFromPlane (PLANE_TYPE plane, bool useGravity, bool useViewOffset, double viewportHeight, double toolViewOffset) |
void | setGravity (bool use, const Vector3D &dir) |
void | setToolViewOffset (bool use, double viewportHeight, double toolViewOffset) |
void | setToolViewportHeight (double viewportHeight) |
void | setDefaultCenter (const Vector3D &c) |
void | setAlwaysUseDefaultCenter (bool on) |
SliceComputer | getComputer () const |
void | setComputer (const SliceComputer &val) |
ToolPtr | getTool () |
virtual Transform3D | get_sMr () |
get slice transform, i.e. the matrix sMr transforming a point p in ref to slice space. More... | |
virtual void | printSelf (std::ostream &os, Indent indent) |
bool | getUseTooltipOffset () |
Return true if the active tools configured tool tip offset should be used for this slice proxy. More... | |
void | setUseTooltipOffset (bool) |
Enable or disable usage of the tools tool tip offset for this slice proxy. More... | |
Public Member Functions inherited from cx::SliceProxyInterface | |
virtual | ~SliceProxyInterface () |
void | printSelf (std::ostream &os, Indent indent) |
Static Public Member Functions | |
static SliceProxyPtr | create (PatientModelServicePtr dataManager) |
Provides a slice matrix based on definition and tool.
Helper class that connects to a tool and generates slice matrices based on it and other slice parameters.
Used as the slicer in Sonowand. Used as the slicer in CustusX.
Definition at line 103 of file cxSliceProxy.h.
|
virtual |
Definition at line 66 of file cxSliceProxy.cpp.
|
static |
Definition at line 45 of file cxSliceProxy.cpp.
|
virtual |
get slice transform, i.e. the matrix sMr transforming a point p in ref to slice space.
Implements cx::SliceProxyInterface.
Definition at line 259 of file cxSliceProxy.cpp.
SliceComputer cx::SliceProxy::getComputer | ( | ) | const |
Definition at line 208 of file cxSliceProxy.cpp.
ToolPtr cx::SliceProxy::getTool | ( | ) |
Definition at line 254 of file cxSliceProxy.cpp.
|
inline |
Return true if the active tools configured tool tip offset should be used for this slice proxy.
Definition at line 132 of file cxSliceProxy.h.
void cx::SliceProxy::initializeFromPlane | ( | PLANE_TYPE | plane, |
bool | useGravity, | ||
bool | useViewOffset, | ||
double | viewportHeight, | ||
double | toolViewOffset | ||
) |
Group the typical plane definition uses together.
Definition at line 191 of file cxSliceProxy.cpp.
|
virtual |
Definition at line 276 of file cxSliceProxy.cpp.
void cx::SliceProxy::setAlwaysUseDefaultCenter | ( | bool | on | ) |
Definition at line 161 of file cxSliceProxy.cpp.
void cx::SliceProxy::setComputer | ( | const SliceComputer & | val | ) |
Definition at line 213 of file cxSliceProxy.cpp.
void cx::SliceProxy::setDefaultCenter | ( | const Vector3D & | c | ) |
Definition at line 155 of file cxSliceProxy.cpp.
void cx::SliceProxy::setFollowType | ( | FOLLOW_TYPE | followType | ) |
Definition at line 231 of file cxSliceProxy.cpp.
void cx::SliceProxy::setGravity | ( | bool | use, |
const Vector3D & | dir | ||
) |
Definition at line 237 of file cxSliceProxy.cpp.
void cx::SliceProxy::setOrientation | ( | ORIENTATION_TYPE | orientation | ) |
Definition at line 219 of file cxSliceProxy.cpp.
void cx::SliceProxy::setPlane | ( | PLANE_TYPE | plane | ) |
Definition at line 225 of file cxSliceProxy.cpp.
void cx::SliceProxy::setTool | ( | ToolPtr | tool | ) |
not used here, but forwarded to users
Definition at line 76 of file cxSliceProxy.cpp.
void cx::SliceProxy::setToolViewOffset | ( | bool | use, |
double | viewportHeight, | ||
double | toolViewOffset | ||
) |
Definition at line 242 of file cxSliceProxy.cpp.
void cx::SliceProxy::setToolViewportHeight | ( | double | viewportHeight | ) |
Definition at line 248 of file cxSliceProxy.cpp.
void cx::SliceProxy::setUseTooltipOffset | ( | bool | use | ) |
Enable or disable usage of the tools tool tip offset for this slice proxy.
x
Definition at line 128 of file cxSliceProxy.cpp.
|
signal |
forwarded from tool
|
signal |
forwarding of visible in tool