24 #ifndef __qMRMLTransformDisplayNodeWidget_h 25 #define __qMRMLTransformDisplayNodeWidget_h 29 #include <ctkVTKObject.h> 34 #include "qSlicerTransformsModuleWidgetsExport.h" 36 class qMRMLTransformDisplayNodeWidgetPrivate;
41 class Q_SLICER_MODULE_TRANSFORMS_WIDGETS_EXPORT
63 void setVisible2d(
bool);
64 void setVisible3d(
bool);
66 void setGlyphVisualizationMode(
bool);
67 void setGridVisualizationMode(
bool);
68 void setContourVisualizationMode(
bool);
70 void updateGlyphSourceOptions(
int sourceOption);
73 void setGlyphSpacingMm(
double spacing);
74 void setGlyphScalePercent(
double scale);
75 void setGlyphDisplayRangeMm(
double min,
double max);
76 void setGlyphType(
int glyphType);
77 void setGlyphTipLengthPercent(
double length);
78 void setGlyphDiameterMm(
double diameterMm);
79 void setGlyphShaftDiameterPercent(
double diameterPercent);
80 void setGlyphResolution(
double resolution);
81 void setGridScalePercent(
double scale);
82 void setGridSpacingMm(
double spacing);
83 void setGridLineDiameterMm(
double diameterMm);
84 void setGridResolutionMm(
double resolutionMm);
85 void setGridShowNonWarped(
bool show);
86 void setContourLevelsMm(QString values_str);
87 void setContourResolutionMm(
double resolutionMm);
88 void setContourOpacityPercent(
double opacity);
90 void setEditorVisibility(
bool enabled);
91 void setEditorTranslationEnabled(
bool enabled);
92 void setEditorRotationEnabled(
bool enabled);
93 void setEditorScalingEnabled(
bool enabled);
94 void updateEditorBounds();
96 void setColorTableNode(
vtkMRMLNode* colorTableNode);
98 void colorUpdateRange();
99 void onColorInteractionEvent();
100 void onColorModifiedEvent();
103 void updateWidgetFromDisplayNode();
106 QScopedPointer<qMRMLTransformDisplayNodeWidgetPrivate>
d_ptr;
Abstract Superclass for all specific types of MRML nodes.