21 #ifndef __qMRMLModelDisplayNodeWidget_h 22 #define __qMRMLModelDisplayNodeWidget_h 29 #include <ctkVTKObject.h> 32 #include "qSlicerModelsModuleWidgetsExport.h" 34 class qMRMLModelDisplayNodeWidgetPrivate;
45 Q_PROPERTY(
bool clippingConfigurationButtonVisible READ clippingConfigurationButtonVisible WRITE setClippingConfigurationButtonVisible)
57 vtkIdType currentSubjectHierarchyItemID()
const;
61 bool visibility()
const;
63 bool sliceIntersectionVisible()
const;
64 int sliceIntersectionThickness()
const;
65 double sliceIntersectionOpacity()
const;
66 bool clippingConfigurationButtonVisible()
const;
72 void displayNodeChanged();
74 void clippingToggled(
bool);
76 void clippingConfigurationButtonClicked();
90 void setCurrentSubjectHierarchyItemID(vtkIdType currentItemID);
98 void setVisibility(
bool);
99 void setClipping(
bool);
101 void setSliceIntersectionVisible(
bool);
102 void setSliceDisplayMode(
int);
103 void setSliceIntersectionThickness(
int);
104 void setSliceIntersectionOpacity(
double);
107 void setRepresentation(
int);
108 void setPointSize(
double);
109 void setLineWidth(
double);
110 void setShowFaces(
int);
111 void setColor(
const QColor&);
112 void setBackfaceHueOffset(
double newOffset);
113 void setBackfaceSaturationOffset(
double newOffset);
114 void setBackfaceBrightnessOffset(
double newOffset);
116 void setOpacity(
double);
117 void setEdgeVisibility(
bool);
118 void setEdgeColor(
const QColor&);
119 void setLighting(
bool);
120 void setInterpolation(
int);
123 void setClippingConfigurationButtonVisible(
bool);
126 void updateWidgetFromMRML();
127 void updateDisplayNodesFromProperty();
130 QScopedPointer<qMRMLModelDisplayNodeWidgetPrivate>
d_ptr;
MRML node to represent a display property of 3D surface model.
A set of MRML Nodes that supports serialization and undo/redo.
Abstract MRML node to represent color information.
Abstract class that contains graphical display properties for displayable nodes.
Abstract Superclass for all specific types of MRML nodes.