21 #ifndef __qMRMLNodeFactory_h 22 #define __qMRMLNodeFactory_h 31 #include "qMRMLWidgetsExport.h" 35 class qMRMLNodeFactoryPrivate;
73 Q_INVOKABLE
vtkMRMLNode* createNode(
const QString& className);
84 Q_INVOKABLE
void addAttribute(
const QString& attributeName,
const QString& attributeValue);
85 Q_INVOKABLE
void removeAttribute(
const QString& attributeName);
86 Q_INVOKABLE QString attribute(
const QString& attributeName)
const;
89 Q_INVOKABLE
void setBaseName(
const QString& className,
const QString& baseName);
90 Q_INVOKABLE QString baseName(
const QString& className)
const;
114 QScopedPointer<qMRMLNodeFactoryPrivate>
d_ptr;
QHash< QString, QString > AttributeType
Convenient typedef.
QScopedPointer< qMRMLNodeFactoryPrivate > d_ptr
A set of MRML Nodes that supports serialization and undo/redo.
Abstract Superclass for all specific types of MRML nodes.
QObject Superclass
Constructors.