#include <Libs/MRML/Widgets/qMRMLLinearTransformSlider.h>
|
| enum | CoordinateReferenceType { GLOBAL
, LOCAL
} |
| |
| typedef qMRMLSliderWidget | Superclass |
| | Constructors.
|
| |
| enum | TransformType {
TRANSLATION_LR
, TRANSLATION_PA
, TRANSLATION_IS
, ROTATION_LR
,
ROTATION_PA
, ROTATION_IS
} |
| |
| typedef ctkSliderWidget | Superclass |
| |
| enum | UnitAwareProperty {
None = 0x00
, Prefix = 0x01
, Suffix = 0x02
, Precision = 0x04
,
MinimumValue = 0x08
, MaximumValue = 0x10
, Scaling = 0x20
, All = Prefix | Suffix | Precision | MinimumValue | MaximumValue | Scaling
} |
| |
|
| QScopedPointer< qMRMLLinearTransformSliderPrivate > | d_ptr |
| |
| QScopedPointer< qMRMLSliderWidgetPrivate > | d_ptr |
| |
◆ Superclass
◆ CoordinateReferenceType
Set/Get Coordinate system By default, the selector coordinate system will be set to GLOBAL
Definition at line 73 of file qMRMLLinearTransformSlider.h.
◆ TransformType
Set/Get Transform type By default, the slider transform type will be set to TRANSLATION_LR X axis:LR, Y axis:PA, Z axis:IS
| Enumerator |
|---|
| TRANSLATION_LR | |
| TRANSLATION_PA | |
| TRANSLATION_IS | |
| ROTATION_LR | |
| ROTATION_PA | |
| ROTATION_IS | |
Definition at line 53 of file qMRMLLinearTransformSlider.h.
◆ CoordinateReference
◆ TypeOfTransform
| QVTK_OBJECTTransformType qMRMLLinearTransformSlider::TypeOfTransform |
|
readwrite |
◆ qMRMLLinearTransformSlider()
| qMRMLLinearTransformSlider::qMRMLLinearTransformSlider |
( |
QWidget * | parent | ) |
|
|
explicit |
◆ ~qMRMLLinearTransformSlider()
| qMRMLLinearTransformSlider::~qMRMLLinearTransformSlider |
( |
| ) |
|
|
override |
◆ applyTransformation
| void qMRMLLinearTransformSlider::applyTransformation |
( |
double | sliderPosition | ) |
|
|
slot |
Apply the appropriate rotation/translation according to the typeOfTransform of the slider.
◆ coordinateReference()
◆ isRotation()
| bool qMRMLLinearTransformSlider::isRotation |
( |
| ) |
const |
Convenience method allowing to get which family of transform is set.
◆ isTranslation()
| bool qMRMLLinearTransformSlider::isTranslation |
( |
| ) |
const |
◆ mrmlTransformNode()
Return the current transform node.
◆ onMRMLTransformNodeModified
| void qMRMLLinearTransformSlider::onMRMLTransformNodeModified |
( |
vtkObject * | caller | ) |
|
|
protectedslot |
Triggered upon MRML scene updates.
◆ setCoordinateReference()
◆ setMRMLTransformNode
Set the MRML node of interest Note that setting transformNode to 0 will disable the widget
◆ setTypeOfTransform()
| void qMRMLLinearTransformSlider::setTypeOfTransform |
( |
TransformType | typeOfTransform | ) |
|
◆ typeOfTransform()
| TransformType qMRMLLinearTransformSlider::typeOfTransform |
( |
| ) |
const |
◆ d_ptr
| QScopedPointer<qMRMLLinearTransformSliderPrivate> qMRMLLinearTransformSlider::d_ptr |
|
protected |
The documentation for this class was generated from the following file: