Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmlMitkProperties.h>
Signals | |
void | renderingChanged () |
void | lodChanged () |
void | modeChanged () |
void | enabledChanged () |
void | sync () |
Public Member Functions | |
void | setRendering (bool state) |
void | setLod (bool state) |
void | setMode (int mode) |
void | setEnabled (bool enabled) |
bool | isEnabled () |
bool | getRendering () |
bool | getLod () |
int | getMode () |
void | notify (mitk::DataNode::Pointer node) |
QmlMitkProperties () | |
~QmlMitkProperties () | |
Static Public Member Functions | |
static void | create (QQmlEngine &engine) |
Static Public Attributes | |
static QmlMitkProperties * | instance |
Properties | |
bool | rendering |
bool | lod |
int | mode |
bool | enabled |
Definition at line 37 of file QmlMitkProperties.h.
QmlMitkProperties::QmlMitkProperties | ( | ) |
Definition at line 29 of file QmlMitkProperties.cpp.
References instance.
QmlMitkProperties::~QmlMitkProperties | ( | ) |
Definition at line 34 of file QmlMitkProperties.cpp.
|
static |
Definition at line 173 of file QmlMitkProperties.cpp.
|
signal |
Referenced by setEnabled().
bool QmlMitkProperties::getLod | ( | ) |
Definition at line 95 of file QmlMitkProperties.cpp.
int QmlMitkProperties::getMode | ( | ) |
Definition at line 100 of file QmlMitkProperties.cpp.
bool QmlMitkProperties::getRendering | ( | ) |
Definition at line 90 of file QmlMitkProperties.cpp.
bool QmlMitkProperties::isEnabled | ( | ) |
Definition at line 111 of file QmlMitkProperties.cpp.
|
signal |
Referenced by setLod().
|
signal |
Referenced by setMode().
void QmlMitkProperties::notify | ( | mitk::DataNode::Pointer | node | ) |
Definition at line 116 of file QmlMitkProperties.cpp.
References mitk::DataNode::GetBoolProperty(), mitk::DataNode::GetData(), mode, RM_CPU_COMPOSITE_RAYCAST, RM_CPU_MIP_RAYCAST, RM_GPU_COMPOSITE_RAYCAST, RM_GPU_COMPOSITE_SLICING, RM_GPU_MIP_RAYCAST, setEnabled(), setLod(), setMode(), setRendering(), and sync().
Referenced by QmlMitkDatamanager::setIndex().
|
signal |
Referenced by setRendering().
void QmlMitkProperties::setEnabled | ( | bool | enabled | ) |
Definition at line 105 of file QmlMitkProperties.cpp.
References enabled, and enabledChanged().
Referenced by notify(), and QmlMitkDatamanager::setIndex().
void QmlMitkProperties::setLod | ( | bool | state | ) |
Definition at line 52 of file QmlMitkProperties.cpp.
References mitk::RenderingManager::GetInstance(), lodChanged(), mitk::RenderingManager::RequestUpdateAll(), and mitk::DataNode::SetBoolProperty().
Referenced by notify().
void QmlMitkProperties::setMode | ( | int | mode | ) |
Definition at line 64 of file QmlMitkProperties.cpp.
References mitk::RenderingManager::GetInstance(), mode, modeChanged(), mitk::RenderingManager::RequestUpdateAll(), RM_CPU_MIP_RAYCAST, RM_GPU_COMPOSITE_RAYCAST, RM_GPU_COMPOSITE_SLICING, RM_GPU_MIP_RAYCAST, and mitk::DataNode::SetBoolProperty().
Referenced by notify().
void QmlMitkProperties::setRendering | ( | bool | state | ) |
Definition at line 38 of file QmlMitkProperties.cpp.
References mitk::RenderingManager::GetInstance(), QmlMitkTransferFunctionItem::instance, QmlMitkTransferFunctionItem::OnUpdateCanvas(), renderingChanged(), mitk::RenderingManager::RequestUpdateAll(), and mitk::DataNode::SetBoolProperty().
Referenced by notify().
|
signal |
Referenced by notify(), and QmlMitkDatamanager::setIndex().
|
static |
Definition at line 54 of file QmlMitkProperties.h.
Referenced by QmlMitkProperties(), and QmlMitkDatamanager::setIndex().
|
readwrite |
Definition at line 43 of file QmlMitkProperties.h.
Referenced by setEnabled().
|
readwrite |
Definition at line 41 of file QmlMitkProperties.h.
|
readwrite |
Definition at line 42 of file QmlMitkProperties.h.
|
readwrite |
Definition at line 41 of file QmlMitkProperties.h.