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();
88 void setCurrentSubjectHierarchyItemID(vtkIdType currentItemID);
96 void setVisibility(
bool);
97 void setClipping(
bool);
99 void setSliceIntersectionVisible(
bool);
100 void setSliceDisplayMode(
int);
101 void setSliceIntersectionThickness(
int);
102 void setSliceIntersectionOpacity(
double);
105 void setRepresentation(
int);
106 void setPointSize(
double);
107 void setLineWidth(
double);
108 void setShowFaces(
int);
109 void setColor(
const QColor&);
110 void setBackfaceHueOffset(
double newOffset);
111 void setBackfaceSaturationOffset(
double newOffset);
112 void setBackfaceBrightnessOffset(
double newOffset);
114 void setOpacity(
double);
115 void setEdgeVisibility(
bool);
116 void setEdgeColor(
const QColor&);
117 void setLighting(
bool);
118 void setInterpolation(
int);
121 void setClippingConfigurationButtonVisible(
bool);
124 void updateWidgetFromMRML();
125 void updateDisplayNodesFromProperty();
128 QScopedPointer<qMRMLModelDisplayNodeWidgetPrivate>
d_ptr;
MRML node to represent a display property of 3D surface model.
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.