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 setVisibility(
bool);
64 void setVisibility2d(
bool);
65 void setVisibility3d(
bool);
67 void setGlyphVisualizationMode(
bool);
68 void setGridVisualizationMode(
bool);
69 void setContourVisualizationMode(
bool);
71 void updateGlyphSourceOptions(
int sourceOption);
74 void setGlyphSpacingMm(
double spacing);
75 void setGlyphScalePercent(
double scale);
76 void setGlyphDisplayRangeMm(
double min,
double max);
77 void setGlyphType(
int glyphType);
78 void setGlyphTipLengthPercent(
double length);
79 void setGlyphDiameterMm(
double diameterMm);
80 void setGlyphShaftDiameterPercent(
double diameterPercent);
81 void setGlyphResolution(
double resolution);
82 void setGridScalePercent(
double scale);
83 void setGridSpacingMm(
double spacing);
84 void setGridLineDiameterMm(
double diameterMm);
85 void setGridResolutionMm(
double resolutionMm);
86 void setGridShowNonWarped(
bool show);
87 void setContourLevelsMm(QString values_str);
88 void setContourResolutionMm(
double resolutionMm);
89 void setContourOpacityPercent(
double opacity);
91 void setEditorVisibility(
bool enabled);
92 void setEditorTranslationEnabled(
bool enabled);
93 void setEditorRotationEnabled(
bool enabled);
94 void setEditorScalingEnabled(
bool enabled);
95 void updateEditorBounds();
97 void setColorTableNode(
vtkMRMLNode* colorTableNode);
99 void colorUpdateRange();
100 void onColorInteractionEvent();
101 void onColorModifiedEvent();
104 void updateWidgetFromDisplayNode();
107 QScopedPointer<qMRMLTransformDisplayNodeWidgetPrivate>
d_ptr;
Abstract Superclass for all specific types of MRML nodes.