9 #include "visuVTKAdaptor/config.hpp" 10 #include "visuVTKAdaptor/SNegatoMPR.hpp" 12 #include <fwDataTools/helper/MedicalImageAdaptor.hpp> 14 #include <fwRenderVTK/IAdaptor.hpp> 68 void setAllowAlphaInTF(
bool allow)
70 m_allowAlphaInTF = allow;
74 void setInterpolation(
bool interpolation)
76 m_interpolation = interpolation;
80 void setVtkImageSourceId(std::string
id)
88 VISUVTKADAPTOR_API
void configuring()
override;
91 VISUVTKADAPTOR_API
void starting()
override;
94 VISUVTKADAPTOR_API
void updating()
override;
97 VISUVTKADAPTOR_API
void stopping()
override;
105 VISUVTKADAPTOR_API
virtual KeyConnectionsMap getAutoConnections()
const override;
108 void setSliceMode(SNegatoMPR::SliceMode sliceMode);
111 SNegatoMPR::SliceMode getSliceMode();
114 ::boost::logic::tribool is3dModeEnabled();
117 void set3dMode(
bool enabled );
120 bool m_allowAlphaInTF;
121 bool m_interpolation;
123 std::string m_imageSourceId;
125 ::boost::logic::tribool m_3dModeEnabled;
126 SNegatoMPR::SliceMode m_sliceMode;
This class is a helper to define the connections of a service and its data.
The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
This adaptor shows ImageSeries. Creates an adaptor for the image in the series.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Base class for VTK adaptors.