25 #include <QQmlContext>
40 this->m_rendering = state;
73 #if ((VTK_MAJOR_VERSION > 5) || ((VTK_MAJOR_VERSION==5) && (VTK_MINOR_VERSION>=6) ))
80 #if ((VTK_MAJOR_VERSION > 5) || ((VTK_MAJOR_VERSION==5) && (VTK_MINOR_VERSION>=6) ))
92 return this->m_rendering;
113 return this->m_enabled;
129 if(image->GetDimension() == 2)
134 bool use_volumerendering;
175 qmlRegisterType<QmlMitkProperties>(
"Mitk.Views", 1, 0,
"Properties");
177 QQmlComponent component(&engine, QUrl(
"qrc:/MitkProperties.qml"));
static QmlMitkTransferFunctionItem * instance
bool GetBoolProperty(const char *propertyKey, bool &boolValue, const mitk::BaseRenderer *renderer=nullptr) const
Convenience access method for bool properties (instances of BoolProperty)
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
static void create(QQmlEngine &engine)
void notify(mitk::DataNode::Pointer node)
static RenderingManager * GetInstance()
Image class for storing images.
static QmlMitkProperties * instance
void SetBoolProperty(const char *propertyKey, bool boolValue, const mitk::BaseRenderer *renderer=nullptr)
Convenience method for setting boolean properties (instances of BoolProperty)
void setRendering(bool state)
void setEnabled(bool enabled)
void RequestUpdateAll(RequestType type=REQUEST_UPDATE_ALL)