Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Abstract Superclass for all specific types of MRML nodes. More...
#include <Libs/MRML/Core/vtkMRMLNode.h>
Classes | |
class | vtkMRMLNodeReference |
Class to hold information about a node reference. More... | |
Public Types | |
enum | { HierarchyModifiedEvent = 16000, IDChangedEvent = 16001, ReferenceAddedEvent, ReferenceModifiedEvent, ReferenceRemovedEvent, ReferencedNodeModifiedEvent } |
typedef vtkObject | Superclass |
Public Member Functions | |
vtkMRMLNode * | AddAndObserveNodeReferenceID (const char *referenceRole, const char *referencedNodeID, vtkIntArray *events=nullptr) |
Add and observe a reference node from this node for a specific referenceRole. More... | |
vtkMRMLNode * | AddNodeReferenceID (const char *referenceRole, const char *referencedNodeID) |
Convenience method that adds a referencedNodeID at the end of the list. More... | |
void | AddNodeReferenceRole (const char *referenceRole, const char *mrmlAttributeName=nullptr, vtkIntArray *events=nullptr) |
Add a referenceRole. More... | |
virtual void | AddToSceneOff () |
virtual void | AddToSceneOn () |
virtual void | Copy (vtkMRMLNode *node) |
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data. More... | |
virtual void | CopyContent (vtkMRMLNode *node, bool deepCopy=true) |
Copy node contents from another node of the same type. Does not copy node ID, Scene, Name, SingletonTag, HideFromEditors, AddToScene, UndoEnabled, and node references. If deepCopy is set to false then a shallow copy of bulk data (such as image or mesh data) could be made; copying may be faster but the node may share some data with the source node instead of creating an independent copy. More... | |
virtual void | CopyReferences (vtkMRMLNode *node) |
Copy the references of the node into this. More... | |
void | CopyWithScene (vtkMRMLNode *node) |
Copy everything (including Scene and ID) from another node of the same type. More... | |
virtual vtkMRMLNode * | CreateNodeInstance ()=0 |
Create instance of the default node. Like New only virtual. More... | |
void | DisableModifiedEventOff () |
void | DisableModifiedEventOn () |
virtual int | EndModify (int previousDisableModifiedEventState) |
End modifying the node. More... | |
virtual int | GetAddToScene () |
node added to MRML scene. More... | |
const char * | GetAttribute (const char *name) |
Get value of a name value pair attribute. More... | |
std::vector< std::string > | GetAttributeNames () |
Get all attribute names. More... | |
void | GetAttributeNames (vtkStringArray *attributeNames) |
Get all attribute names. Python-wrappable version. More... | |
virtual const char * | GetClassName () |
virtual vtkIntArray * | GetContentModifiedEvents () |
virtual char * | GetDescription () |
virtual int | GetDisableModifiedEvent () |
Turn on/off generating InvokeEvent for set macros. More... | |
virtual int | GetHideFromEditors () |
Describes if the node is hidden. More... | |
virtual char * | GetID () |
ID use by other nodes to reference this node in XML. More... | |
virtual int | GetInMRMLCallbackFlag () |
Flags to avoid event loops. More... | |
virtual int | GetModifiedEventPending () |
virtual char * | GetName () |
vtkMRMLNode * | GetNodeReference (const char *referenceRole) |
const char * | GetNodeReferenceID (const char *referenceRole) |
Utility function that returns the first node id for a specific referenceRole. More... | |
void | GetNodeReferenceIDs (const char *referenceRole, std::vector< const char *> &referencedNodeIDs) |
Return a list of the referenced node IDs. More... | |
void | GetNodeReferenceRoles (std::vector< std::string > &roles) |
void | GetNodeReferences (const char *referenceRole, std::vector< vtkMRMLNode *> &nodes) |
Return a list of the referenced nodes. More... | |
virtual const char * | GetNodeTagName ()=0 |
vtkMRMLNode * | GetNthNodeReference (const char *referenceRole, int n) |
Get referenced MRML node for a specific referenceRole. More... | |
const char * | GetNthNodeReferenceID (const char *referenceRole, int n) |
Return the string of the Nth node ID for a specific reference role. More... | |
const char * | GetNthNodeReferenceRole (int n) |
int | GetNumberOfNodeReferenceRoles () |
int | GetNumberOfNodeReferences (const char *referenceRole) |
Return the number of node IDs for a specific reference role (and nodes as they always have the same size). More... | |
virtual int | GetSaveWithScene () |
Save node with MRML scene. More... | |
virtual vtkMRMLScene * | GetScene () |
Get the scene this node has been added to. More... | |
virtual int | GetSelectable () |
Describes if the node is selectable. More... | |
virtual int | GetSelected () |
Get/Set for Selected. More... | |
virtual char * | GetSingletonTag () |
virtual bool | GetUndoEnabled () |
virtual bool | HasCopyContent () const |
Returns true if the class supports deep and shallow copying node content. More... | |
bool | HasNodeReferenceID (const char *referenceRole, const char *referencedNodeID) |
Return true if referencedNodeID is in the node ID list for a specific referenceRole. More... | |
virtual void | HideFromEditorsOff () |
virtual void | HideFromEditorsOn () |
virtual void | InvokeCustomModifiedEvent (int eventId, void *callData=nullptr) |
This method allows the node to compress events. More... | |
virtual int | InvokePendingModifiedEvent () |
Invokes any modified events that are pending . More... | |
virtual int | IsA (const char *type) |
bool | IsSingleton () |
void | Modified () override |
Customized version of Modified() allowing to compress vtkCommand::ModifiedEvent. More... | |
virtual void | OnNodeAddedToScene () |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | ProcessChildNode (vtkMRMLNode *) |
Set dependencies between this node and a child node when parsing XML file. More... | |
virtual void | ProcessMRMLEvents (vtkObject *caller, unsigned long event, void *callData) |
Propagate events generated in mrml. More... | |
virtual void | ReadXMLAttributes (const char **atts) |
void | RemoveAttribute (const char *name) |
Remove attribute with the specified name. More... | |
void | RemoveNodeReferenceIDs (const char *referenceRole) |
Remove all node IDs and associated nodes for a specific referenceRole. More... | |
void | RemoveNthNodeReferenceID (const char *referenceRole, int n) |
Convenience method that removes the Nth node ID from the list. More... | |
virtual void | Reset (vtkMRMLNode *defaultNode) |
Reset node attributes to the initial state as defined in the constructor or the passed default node. More... | |
virtual void | SaveWithSceneOff () |
virtual void | SaveWithSceneOn () |
virtual void | SelectableOff () |
virtual void | SelectableOn () |
virtual void | SelectedOff () |
virtual void | SelectedOn () |
virtual void | SetAddToScene (int) |
void | SetAddToSceneNoModify (int value) |
vtkMRMLNode * | SetAndObserveNodeReferenceID (const char *referenceRole, const char *referencedNodeID, vtkIntArray *events=nullptr) |
Set and observe a reference node from this node for a specific referenceRole. More... | |
vtkMRMLNode * | SetAndObserveNthNodeReferenceID (const char *referenceRole, int n, const char *referencedNodeID, vtkIntArray *events=nullptr) |
Set and observe the Nth node ID for a specific reference role. More... | |
void | SetAttribute (const char *name, const char *value) |
Set a name value pair attribute. More... | |
virtual void | SetDescription (const char *) |
Text description of this node, to be set by the user. More... | |
void | SetDisableModifiedEvent (int onOff) |
virtual void | SetHideFromEditors (int) |
void | SetInMRMLCallbackFlag (int flag) |
virtual void | SetName (const char *) |
Name of this node, to be set by the user. More... | |
vtkMRMLNode * | SetNodeReferenceID (const char *referenceRole, const char *referencedNodeID) |
Set a reference to a node with specified nodeID from this node for a specific referenceRole. More... | |
vtkMRMLNode * | SetNthNodeReferenceID (const char *referenceRole, int n, const char *referencedNodeID) |
Set a N-th reference from this node with specified referencedNodeID for a specific referenceRole. More... | |
virtual void | SetSaveWithScene (int) |
virtual void | SetScene (vtkMRMLScene *scene) |
This method is for internal use only. Use AddNode method of vtkMRMLScene to add a node to the scene. More... | |
virtual void | SetSceneReferences () |
Update the references of the node to the scene. More... | |
virtual void | SetSelectable (int) |
virtual void | SetSelected (int) |
void | SetSingletonOff () |
void | SetSingletonOn () |
virtual void | SetSingletonTag (const char *) |
Tag that make this node a singleton in the scene. More... | |
virtual void | SetUndoEnabled (bool) |
virtual int | StartModify () |
Start modifying the node. Disable Modify events. More... | |
virtual void | UndoEnabledOff () |
virtual void | UndoEnabledOn () |
virtual void | UpdateReferenceID (const char *oldID, const char *newID) |
Update the stored reference to another node in the scene. More... | |
virtual void | UpdateReferences () |
The method should remove all pointers and observations to all nodes that are not in the scene anymore. More... | |
virtual void | UpdateScene (vtkMRMLScene *) |
const char * | URLDecodeString (const char *inString) |
Decode a URL string. More... | |
const char * | URLEncodeString (const char *inString) |
Encode a URL string. More... | |
virtual void | WriteNodeBodyXML (ostream &of, int indent) |
Write this node's body to a MRML file in XML format. More... | |
virtual void | WriteXML (ostream &of, int indent) |
std::string | XMLAttributeDecodeString (const std::string &inString) |
Decode an XML attribute string. More... | |
std::string | XMLAttributeEncodeString (const std::string &inString) |
Encode an XML attribute string (replaces special characters by code sequences) More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMRMLNode * | SafeDownCast (vtkObject *o) |
Protected Types | |
typedef std::map< std::string, std::string > | AttributesType |
typedef std::map< std::string, vtkSmartPointer< vtkIntArray > > | NodeReferenceEventsType |
typedef std::vector< vtkSmartPointer< vtkMRMLNodeReference > > | NodeReferenceListType |
typedef std::map< std::string, NodeReferenceListType > | NodeReferencesType |
Protected Member Functions | |
virtual const char * | GetMRMLAttributeNameFromReferenceRole (const char *refRole) |
Return the mrml attribute name (if found) associated with a reference role. Return 0 otherwise. More... | |
virtual const char * | GetReferenceRoleFromMRMLAttributeName (const char *attName) |
Return the reference role (if found) associated with the attribute name found in a MRML scene file. Return 0 otherwise. More... | |
virtual char * | GetTempURLString () |
void | GetUpdatedReferencedNodeEventList (int &oldReferencedNodeUseCount, int &newReferencedNodeUseCount, vtkIntArray *oldConsolidatedEventList, vtkIntArray *newConsolidatedEventList, vtkMRMLNode *oldReferencedNode, vtkMRMLNode *newReferencedNode, vtkMRMLNodeReference *referenceToIgnore, vtkIntArray *newEvents) |
virtual void | InvalidateNodeReferences () |
virtual bool | IsReferenceRoleGeneric (const char *refRole) |
Return true if the reference role is generic (ends with '/') or false otherwise. More... | |
virtual void | OnNodeReferenceAdded (vtkMRMLNodeReference *reference) |
virtual void | OnNodeReferenceModified (vtkMRMLNodeReference *reference) |
Called when a referenced node pointer is modified. More... | |
virtual void | OnNodeReferenceRemoved (vtkMRMLNodeReference *reference) |
Called when a referenced node pointer is removed (set to nullptr). More... | |
void | operator= (const vtkMRMLNode &) |
void | ParseReferencesAttribute (const char *attValue, std::set< std::string > &references) |
virtual void | SetTempURLString (const char *) |
Get/Set the string used to manage encoding/decoding of strings/URLs with special characters. More... | |
vtkMRMLNode * | UpdateNodeReferenceEventObserver (vtkMRMLNode *oldReferencedNode, vtkMRMLNode *newReferencedNode, vtkIntArray *newEvents, vtkMRMLNodeReference *referenceToIgnore) |
virtual void | UpdateNodeReferences (const char *referenceRole=nullptr) |
virtual void | UpdateNthNodeReference (const char *referenceRole, int n) |
vtkMRMLNode () | |
vtkMRMLNode (const vtkMRMLNode &) | |
~vtkMRMLNode () override | |
critical to have a virtual destructor! More... | |
Static Protected Member Functions | |
static void | MRMLCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
Protected Attributes | |
int | AddToScene {1} |
AttributesType | Attributes |
vtkIntArray * | ContentModifiedEvents |
char * | Description {nullptr} |
int | HideFromEditors {0} |
char * | ID {nullptr} |
int | InMRMLCallbackFlag {0} |
Flag to avoid event loops More... | |
vtkCallbackCommand * | MRMLCallbackCommand |
Holders for MRML callbacks. More... | |
vtkObserverManager * | MRMLObserverManager |
char * | Name {nullptr} |
NodeReferenceEventsType | NodeReferenceEvents |
std::map< std::string, std::string > | NodeReferenceMRMLAttributeNames |
NodeReferencesType | NodeReferences |
int | SaveWithScene {true} |
vtkWeakPointer< vtkMRMLScene > | Scene |
int | Selectable {1} |
int | Selected {0} |
bool | UndoEnabled {false} |
Friends | |
class | vtkMRMLScene |
class | vtkMRMLSceneViewNode |
Abstract Superclass for all specific types of MRML nodes.
This node encapsulates the functionality common to all types of MRML nodes. This includes member variables for ID, Description, and Options, as well as member functions to Copy() and Write().
Definition at line 167 of file vtkMRMLNode.h.
|
protected |
Definition at line 943 of file vtkMRMLNode.h.
|
protected |
Definition at line 958 of file vtkMRMLNode.h.
|
protected |
NodeReferences is a map that stores vector of references for each referenceRole, the referenceRole can be any unique string, for example "display", "transform" etc.
Definition at line 952 of file vtkMRMLNode.h.
|
protected |
Definition at line 953 of file vtkMRMLNode.h.
typedef vtkObject vtkMRMLNode::Superclass |
Definition at line 175 of file vtkMRMLNode.h.
anonymous enum |
HierarchyModifiedEvent is generated when the hierarchy node with which this node is associated changes
Enumerator | |
---|---|
HierarchyModifiedEvent | |
IDChangedEvent | |
ReferenceAddedEvent | |
ReferenceModifiedEvent | |
ReferenceRemovedEvent | |
ReferencedNodeModifiedEvent |
Definition at line 761 of file vtkMRMLNode.h.
|
protected |
|
overrideprotected |
critical to have a virtual destructor!
|
protected |
vtkMRMLNode* vtkMRMLNode::AddAndObserveNodeReferenceID | ( | const char * | referenceRole, |
const char * | referencedNodeID, | ||
vtkIntArray * | events = nullptr |
||
) |
Add and observe a reference node from this node for a specific referenceRole.
Observe Modified event by default, optionally takes array of events.
vtkMRMLNode* vtkMRMLNode::AddNodeReferenceID | ( | const char * | referenceRole, |
const char * | referencedNodeID | ||
) |
Convenience method that adds a referencedNodeID at the end of the list.
void vtkMRMLNode::AddNodeReferenceRole | ( | const char * | referenceRole, |
const char * | mrmlAttributeName = nullptr , |
||
vtkIntArray * | events = nullptr |
||
) |
Add a referenceRole.
The referenceRole can be any unique string, for example "display", "transform" etc. Optionally a MRML attribute name for storing the reference in the mrml scene file can be specified. For example "displayNodeRef". If omitted the MRML attribute name will be the same as the role. If referenceRole ends with '/', it is considered as a "template" reference role that can be used to generate attribute names dynamically by concatenation: If referenceRole is "unit/" and mrmlAttributeName is "UnitRef", then the generated MRML attribute names for a node reference role of "unit/length" will be "lengthUnitRef". Use this method to add new reference types to a node. This method is typically called in the constructors of each subclass. The optional events argument specifies what events should be observed by default (e.g., when loading the scene from file). If referenceRole ends with '/' character then events are used for all roles names begins with this role name (for example, events specified for referenceRole='unit/' will be used for referenceRole='unit/length', referenceRole='unit/area', etc).
|
virtual |
|
virtual |
|
virtual |
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data.
Reimplemented in vtkMRMLSegmentationStorageNode, vtkMRMLSubjectHierarchyNode, vtkMRMLAnnotationDisplayNode, vtkMRMLSegmentEditorNode, vtkMRMLSequenceBrowserNode, vtkMRMLSubjectHierarchyLegacyNode, vtkMRMLDisplayableNode, vtkMRMLStorageNode, vtkMRMLFiducialListNode, vtkMRMLColorNode, vtkMRMLMarkupsFiducialNode, vtkMRMLSequenceNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLChartNode, vtkMRMLDiffusionTensorDisplayPropertiesNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLTableViewNode, vtkMRMLMarkupsJsonStorageNode, vtkMRMLMarkupsStorageNode, vtkMRMLUnitNode, vtkMRMLVolumeArchetypeStorageNode, vtkMRMLMarkupsFiducialStorageNode, vtkMRMLDiffusionWeightedVolumeDisplayNode, vtkMRMLCameraNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLProceduralColorNode, vtkMRMLSelectionNode, vtkMRMLColorTableNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLSceneViewNode, vtkMRMLTransformStorageNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLSnapshotClipNode, vtkMRMLVectorVolumeNode, vtkMRMLVolumeRenderingDisplayNode, vtkMRMLChartViewNode, vtkMRMLHierarchyNode, vtkMRMLModelHierarchyNode, vtkMRMLAbstractLayoutNode, vtkMRMLNRRDStorageNode, vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationSplineNode, vtkMRMLROINode, vtkMRMLAnnotationLinesStorageNode, vtkMRMLAnnotationRulerStorageNode, vtkMRMLLayoutNode, vtkMRMLROIListNode, vtkMRMLPETProceduralColorNode, and vtkMRMLInteractionNode.
|
virtual |
Copy node contents from another node of the same type. Does not copy node ID, Scene, Name, SingletonTag, HideFromEditors, AddToScene, UndoEnabled, and node references. If deepCopy is set to false then a shallow copy of bulk data (such as image or mesh data) could be made; copying may be faster but the node may share some data with the source node instead of creating an independent copy.
|
virtual |
Copy the references of the node into this.
Existing references will be replaced if found in node, or removed if not in node.
void vtkMRMLNode::CopyWithScene | ( | vtkMRMLNode * | node | ) |
Copy everything (including Scene and ID) from another node of the same type.
|
pure virtual |
Create instance of the default node. Like New only virtual.
Implemented in vtkMRMLSegmentationStorageNode, vtkMRMLVolumePropertyNode, vtkMRMLMarkupsNode, vtkMRMLSubjectHierarchyNode, vtkMRMLMarkupsCurveNode, vtkMRMLSegmentEditorNode, vtkMRMLAnnotationDisplayNode, vtkMRMLPlotSeriesNode, vtkMRMLSegmentationDisplayNode, vtkMRMLSequenceBrowserNode, vtkMRMLSubjectHierarchyLegacyNode, vtkMRMLMarkupsPlaneNode, vtkMRMLTransformDisplayNode, vtkMRMLMarkupsROINode, vtkMRMLSegmentationNode, vtkMRMLModelDisplayNode, vtkMRMLMarkupsAngleNode, vtkMRMLFiducialListNode, vtkMRMLFolderDisplayNode, vtkMRMLShaderPropertyNode, vtkMRMLTableNode, vtkMRMLColorNode, vtkMRMLMarkupsDisplayNode, vtkMRMLVolumeNode, vtkMRMLDisplayableNode, vtkMRMLModelNode, vtkMRMLStreamingVolumeNode, vtkMRMLMarkupsFiducialNode, vtkMRMLSequenceNode, vtkMRMLTableStorageNode, vtkMRMLPlotViewNode, vtkMRMLMarkupsLineNode, vtkMRMLStorableNode, vtkMRMLMarkupsClosedCurveNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLChartNode, vtkMRMLDiffusionTensorDisplayPropertiesNode, vtkMRMLDoubleArrayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLPlotChartNode, vtkMRMLSliceNode, vtkMRMLTableSQLiteStorageNode, vtkMRMLTableViewNode, vtkMRMLAnnotationNode, vtkMRMLMarkupsFiducialDisplayNode, vtkMRMLMarkupsROIJsonStorageNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLUnitNode, vtkMRMLCropVolumeParametersNode, vtkMRMLShaderPropertyStorageNode, vtkMRMLDiffusionWeightedVolumeDisplayNode, vtkMRMLLabelMapVolumeNode, vtkMRMLMarkupsStorageNode, vtkMRMLVectorVolumeDisplayNode, vtkMRMLMarkupsFiducialStorageNode, vtkMRMLMarkupsROIDisplayNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLScalarVolumeNode, vtkMRMLSelectionNode, vtkMRMLStorageNode, vtkMRMLTensorVolumeNode, vtkMRMLMarkupsJsonStorageNode, vtkMRMLCameraNode, vtkMRMLTransformNode, vtkMRMLCrosshairNode, vtkMRMLMultiVolumeRenderingDisplayNode, vtkMRMLDiffusionTensorVolumeNode, vtkMRMLFiducialListStorageNode, vtkMRMLLinearTransformNode, vtkMRMLLinearTransformSequenceStorageNode, vtkMRMLProceduralColorNode, vtkMRMLCPURayCastVolumeRenderingDisplayNode, vtkMRMLGPURayCastVolumeRenderingDisplayNode, vtkMRMLClipModelsNode, vtkMRMLColorTableNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLTransformableNode, vtkMRMLVolumePropertyStorageNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLSnapshotClipNode, vtkMRMLTextNode, vtkMRMLViewNode, vtkMRMLHierarchyNode, vtkMRMLSequenceStorageNode, vtkMRMLTextStorageNode, vtkMRMLVolumeArchetypeStorageNode, vtkMRMLBSplineTransformNode, vtkMRMLChartViewNode, vtkMRMLModelHierarchyNode, vtkMRMLScriptedModuleNode, vtkMRMLAnnotationSnapshotStorageNode, vtkMRMLCommandLineModuleNode, vtkMRMLLabelMapVolumeDisplayNode, vtkMRMLModelStorageNode, vtkMRMLNRRDStorageNode, vtkMRMLSceneViewNode, vtkMRMLTransformStorageNode, vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLHierarchyStorageNode, vtkMRMLProceduralColorStorageNode, vtkMRMLVectorVolumeNode, vtkMRMLAnnotationLinesNode, vtkMRMLColorTableStorageNode, vtkMRMLDoubleArrayStorageNode, vtkMRMLGridTransformNode, vtkMRMLSliceCompositeNode, vtkMRMLAnnotationStickyNode, vtkMRMLSceneViewStorageNode, vtkMRMLAnnotationFiducialNode, vtkMRMLVolumeSequenceStorageNode, vtkMRMLAnnotationSnapshotNode, vtkMRMLAnnotationTextNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationLinesStorageNode, vtkMRMLAnnotationStorageNode, vtkMRMLAnnotationAngleStorageNode, vtkMRMLAnnotationControlPointsStorageNode, vtkMRMLAnnotationRulerStorageNode, vtkMRMLROINode, vtkMRMLAnnotationFiducialsStorageNode, vtkMRMLAnnotationHierarchyNode, vtkMRMLAnnotationSplineNode, vtkMRMLROIListNode, vtkMRMLLayoutNode, vtkMRMLPETProceduralColorNode, and vtkMRMLInteractionNode.
|
inline |
Definition at line 464 of file vtkMRMLNode.h.
|
inline |
Definition at line 460 of file vtkMRMLNode.h.
|
inlinevirtual |
End modifying the node.
Enable Modify events if the previous state of DisableModifiedEvent flag is 0.
Return the number of pending events (even if InvokePendingModifiedEvent() is not called).
Definition at line 312 of file vtkMRMLNode.h.
|
virtual |
node added to MRML scene.
const char* vtkMRMLNode::GetAttribute | ( | const char * | name | ) |
Get value of a name value pair attribute.
Return nullptr if the name does not exists.
std::vector< std::string > vtkMRMLNode::GetAttributeNames | ( | ) |
Get all attribute names.
void vtkMRMLNode::GetAttributeNames | ( | vtkStringArray * | attributeNames | ) |
Get all attribute names. Python-wrappable version.
|
virtual |
Reimplemented in vtkMRMLSegmentationStorageNode, vtkMRMLMarkupsNode, vtkMRMLSubjectHierarchyNode, vtkMRMLMarkupsCurveNode, vtkMRMLSegmentEditorNode, vtkMRMLAnnotationDisplayNode, vtkMRMLSegmentationDisplayNode, vtkMRMLSubjectHierarchyLegacyNode, vtkMRMLSegmentationNode, vtkMRMLFolderDisplayNode, vtkMRMLMarkupsROINode, vtkMRMLFiducialListNode, vtkMRMLColorNode, vtkMRMLTableNode, vtkMRMLMarkupsPlaneNode, vtkMRMLStreamingVolumeNode, vtkMRMLMarkupsDisplayNode, vtkMRMLTableStorageNode, vtkMRMLSequenceNode, vtkMRMLDisplayableNode, vtkMRMLModelNode, vtkMRMLPlotSeriesNode, vtkMRMLShaderPropertyNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLTransformDisplayNode, vtkMRMLSequenceBrowserNode, vtkMRMLVolumeNode, vtkMRMLChartNode, vtkMRMLDoubleArrayNode, vtkMRMLSliceNode, vtkMRMLMarkupsFiducialNode, vtkMRMLMarkupsROIJsonStorageNode, vtkMRMLAbstractViewNode, vtkMRMLDisplayNode, vtkMRMLPlotChartNode, vtkMRMLTableSQLiteStorageNode, vtkMRMLLabelMapVolumeNode, vtkMRMLModelDisplayNode, vtkMRMLCropVolumeParametersNode, vtkMRMLMarkupsAngleNode, vtkMRMLMarkupsClosedCurveNode, vtkMRMLMarkupsLineNode, vtkMRMLShaderPropertyStorageNode, vtkMRMLDiffusionTensorDisplayPropertiesNode, vtkMRMLDiffusionWeightedVolumeDisplayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLMarkupsStorageNode, vtkMRMLVectorVolumeDisplayNode, vtkMRMLMarkupsFiducialStorageNode, vtkMRMLVolumePropertyNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLScalarVolumeNode, vtkMRMLSelectionNode, vtkMRMLStorageNode, vtkMRMLTensorVolumeNode, vtkMRMLMarkupsFiducialDisplayNode, vtkMRMLMarkupsJsonStorageNode, vtkMRMLVolumeRenderingDisplayNode, vtkMRMLTableViewNode, vtkMRMLTransformNode, vtkMRMLUnitNode, vtkMRMLAbstractLayoutNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLLinearTransformSequenceStorageNode, vtkMRMLStorableNode, vtkMRMLMarkupsROIDisplayNode, vtkMRMLMultiVolumeRenderingDisplayNode, vtkMRMLDiffusionTensorVolumeNode, vtkMRMLFiducialListStorageNode, vtkMRMLLinearTransformNode, vtkMRMLCPURayCastVolumeRenderingDisplayNode, vtkMRMLGPURayCastVolumeRenderingDisplayNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLPlotViewNode, vtkMRMLTransformableNode, vtkMRMLVolumeDisplayNode, vtkMRMLVolumePropertyStorageNode, vtkMRMLCameraNode, vtkMRMLSnapshotClipNode, vtkMRMLTextStorageNode, vtkMRMLHierarchyNode, vtkMRMLSequenceStorageNode, vtkMRMLVolumeArchetypeStorageNode, vtkMRMLAnnotationNode, vtkMRMLBSplineTransformNode, vtkMRMLProceduralColorNode, vtkMRMLScriptedModuleNode, vtkMRMLAnnotationSnapshotStorageNode, vtkMRMLCommandLineModuleNode, vtkMRMLClipModelsNode, vtkMRMLColorTableNode, vtkMRMLLabelMapVolumeDisplayNode, vtkMRMLModelStorageNode, vtkMRMLNRRDStorageNode, vtkMRMLSceneViewNode, vtkMRMLTransformStorageNode, vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLCrosshairNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLHierarchyStorageNode, vtkMRMLProceduralColorStorageNode, vtkMRMLVectorVolumeNode, vtkMRMLViewNode, vtkMRMLColorTableStorageNode, vtkMRMLDoubleArrayStorageNode, vtkMRMLGridTransformNode, vtkMRMLSliceCompositeNode, vtkMRMLChartViewNode, vtkMRMLModelHierarchyNode, vtkMRMLSceneViewStorageNode, vtkMRMLVolumeSequenceStorageNode, vtkMRMLTextNode, vtkMRMLAnnotationStickyNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationSnapshotNode, vtkMRMLAnnotationTextNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationLinesStorageNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationStorageNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationAngleStorageNode, vtkMRMLAnnotationControlPointsStorageNode, vtkMRMLAnnotationFiducialsStorageNode, vtkMRMLAnnotationRulerStorageNode, vtkMRMLAnnotationHierarchyNode, vtkMRMLAnnotationROINode, vtkMRMLLayoutNode, vtkMRMLROINode, vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLROIListNode, vtkMRMLAnnotationSplineNode, vtkMRMLInteractionNode, and vtkMRMLPETProceduralColorNode.
|
virtual |
Return list of events that indicate that content of the node is modified. For example, it is not enough to observe vtkCommand::ModifiedEvent to get notified when a transform stored in a transform node is modified, but vtkMRMLTransformableNode::TransformModifiedEvent must be observed as well.
|
virtual |
|
virtual |
Turn on/off generating InvokeEvent for set macros.
|
virtual |
Describes if the node is hidden.
|
virtual |
ID use by other nodes to reference this node in XML.
|
virtual |
Flags to avoid event loops.
|
virtual |
Number of pending modified events.
|
protectedvirtual |
Return the mrml attribute name (if found) associated with a reference role. Return 0 otherwise.
|
virtual |
vtkMRMLNode* vtkMRMLNode::GetNodeReference | ( | const char * | referenceRole | ) |
Utility function that returns the first referenced node.
const char* vtkMRMLNode::GetNodeReferenceID | ( | const char * | referenceRole | ) |
Utility function that returns the first node id for a specific referenceRole.
void vtkMRMLNode::GetNodeReferenceIDs | ( | const char * | referenceRole, |
std::vector< const char *> & | referencedNodeIDs | ||
) |
Return a list of the referenced node IDs.
Some IDs may be null and nodes for valid IDs may not yet be in the scene.
void vtkMRMLNode::GetNodeReferenceRoles | ( | std::vector< std::string > & | roles | ) |
Get reference roles of the present node references.
void vtkMRMLNode::GetNodeReferences | ( | const char * | referenceRole, |
std::vector< vtkMRMLNode *> & | nodes | ||
) |
Return a list of the referenced nodes.
|
pure virtual |
Get node XML tag name (like Volume, Model).
Implemented in vtkMRMLSegmentationStorageNode, vtkMRMLVolumePropertyNode, vtkMRMLMarkupsNode, vtkMRMLSubjectHierarchyNode, vtkMRMLAnnotationDisplayNode, vtkMRMLSegmentEditorNode, vtkMRMLMarkupsCurveNode, vtkMRMLPlotSeriesNode, vtkMRMLSegmentationDisplayNode, vtkMRMLSequenceBrowserNode, vtkMRMLTransformDisplayNode, vtkMRMLSubjectHierarchyLegacyNode, vtkMRMLStorageNode, vtkMRMLSegmentationNode, vtkMRMLLayoutNode, vtkMRMLVolumeNode, vtkMRMLTableNode, vtkMRMLColorNode, vtkMRMLFiducialListNode, vtkMRMLShaderPropertyNode, vtkMRMLSequenceNode, vtkMRMLMarkupsPlaneNode, vtkMRMLMarkupsDisplayNode, vtkMRMLMarkupsROINode, vtkMRMLStreamingVolumeNode, vtkMRMLModelDisplayNode, vtkMRMLPlotViewNode, vtkMRMLSliceNode, vtkMRMLFolderDisplayNode, vtkMRMLMarkupsAngleNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLChartNode, vtkMRMLDiffusionTensorDisplayPropertiesNode, vtkMRMLDoubleArrayNode, vtkMRMLCameraNode, vtkMRMLPlotChartNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLTableViewNode, vtkMRMLUnitNode, vtkMRMLVolumeArchetypeStorageNode, vtkMRMLDiffusionWeightedVolumeDisplayNode, vtkMRMLVectorVolumeDisplayNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLScalarVolumeNode, vtkMRMLTensorVolumeNode, vtkMRMLModelNode, vtkMRMLTransformNode, vtkMRMLCropVolumeParametersNode, vtkMRMLCrosshairNode, vtkMRMLDisplayableNode, vtkMRMLLinearTransformNode, vtkMRMLProceduralColorNode, vtkMRMLTableStorageNode, vtkMRMLMarkupsFiducialNode, vtkMRMLCPURayCastVolumeRenderingDisplayNode, vtkMRMLGPURayCastVolumeRenderingDisplayNode, vtkMRMLClipModelsNode, vtkMRMLColorTableNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLSceneViewNode, vtkMRMLSelectionNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLSnapshotClipNode, vtkMRMLTextNode, vtkMRMLVectorVolumeNode, vtkMRMLMarkupsLineNode, vtkMRMLMultiVolumeRenderingDisplayNode, vtkMRMLChartViewNode, vtkMRMLHierarchyNode, vtkMRMLModelHierarchyNode, vtkMRMLVolumeDisplayNode, vtkMRMLBSplineTransformNode, vtkMRMLStorableNode, vtkMRMLMarkupsClosedCurveNode, vtkMRMLNRRDStorageNode, vtkMRMLTransformableNode, vtkMRMLViewNode, vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLMarkupsROIJsonStorageNode, vtkMRMLGridTransformNode, vtkMRMLScriptedModuleNode, vtkMRMLSliceCompositeNode, vtkMRMLTableSQLiteStorageNode, vtkMRMLAnnotationNode, vtkMRMLMarkupsFiducialDisplayNode, vtkMRMLMarkupsJsonStorageNode, vtkMRMLShaderPropertyStorageNode, vtkMRMLCommandLineModuleNode, vtkMRMLLabelMapVolumeNode, vtkMRMLMarkupsStorageNode, vtkMRMLMarkupsFiducialStorageNode, vtkMRMLTransformStorageNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLMarkupsROIDisplayNode, vtkMRMLFiducialListStorageNode, vtkMRMLLinearTransformSequenceStorageNode, vtkMRMLDiffusionTensorVolumeNode, vtkMRMLVolumePropertyStorageNode, vtkMRMLROINode, vtkMRMLAnnotationLinesStorageNode, vtkMRMLAnnotationRulerStorageNode, vtkMRMLSequenceStorageNode, vtkMRMLTextStorageNode, vtkMRMLLabelMapVolumeDisplayNode, vtkMRMLModelStorageNode, vtkMRMLAnnotationSnapshotStorageNode, vtkMRMLHierarchyStorageNode, vtkMRMLROIListNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLAnnotationHierarchyNode, vtkMRMLProceduralColorStorageNode, vtkMRMLAnnotationLinesNode, vtkMRMLColorTableStorageNode, vtkMRMLDoubleArrayStorageNode, vtkMRMLSceneViewStorageNode, vtkMRMLAnnotationStickyNode, vtkMRMLPETProceduralColorNode, vtkMRMLVolumeSequenceStorageNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationSnapshotNode, vtkMRMLAnnotationTextNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationStorageNode, vtkMRMLAnnotationAngleStorageNode, vtkMRMLAnnotationControlPointsStorageNode, vtkMRMLAnnotationFiducialsStorageNode, vtkMRMLInteractionNode, and vtkMRMLAnnotationSplineNode.
vtkMRMLNode* vtkMRMLNode::GetNthNodeReference | ( | const char * | referenceRole, |
int | n | ||
) |
Get referenced MRML node for a specific referenceRole.
Can be 0 in temporary states; e.g. if the referenced node has no scene, or if the referenced is not yet into the scene. If not cached, it tnternally scans (slow) the scene to search for the associated referenced node ID. If the referencing node is no longer in the scene (GetScene() == 0), it happens after the node is removed from the scene (scene->RemoveNode(dn), the returned referenced node is 0.
const char* vtkMRMLNode::GetNthNodeReferenceID | ( | const char * | referenceRole, |
int | n | ||
) |
Return the string of the Nth node ID for a specific reference role.
Return 0 if no such node exist.
const char* vtkMRMLNode::GetNthNodeReferenceRole | ( | int | n | ) |
Get a specific node reference role name.
int vtkMRMLNode::GetNumberOfNodeReferenceRoles | ( | ) |
Get number of node reference role names.
int vtkMRMLNode::GetNumberOfNodeReferences | ( | const char * | referenceRole | ) |
Return the number of node IDs for a specific reference role (and nodes as they always have the same size).
|
protectedvirtual |
Return the reference role (if found) associated with the attribute name found in a MRML scene file. Return 0 otherwise.
|
virtual |
Save node with MRML scene.
|
virtual |
Get the scene this node has been added to.
|
virtual |
Describes if the node is selectable.
|
virtual |
Get/Set for Selected.
|
virtual |
|
protectedvirtual |
|
virtual |
Specifies if the state of this node is stored in the scene's undo buffer. False by default to make sure that undo can be enabled selectively, only for nodes that are prepared to work correctly when saved/restored. Nodes with different UndoEnabled value must not reference to each other, because restoring states could lead to unresolved node references. Therefore, when undo is enabled for a certain node, it must be enabled for nodes that it references (for example, if undo is enabled for vtkMRMLModelNode then it must be enabled for vtkMRMLModelDisplayNode and vtkMRMLModelStorageNode as well).
|
protected |
Helper function for SetAndObserveNthNodeReferenceID (through UpdateNodeReferenceEventObserver). Counts how many times the old and new node is used and what events are observed. referenceToIgnore specifies a reference (the reference that is currently being processed) that is ignored. oldReferencedNodeUseCount and oldConsolidatedEventList are only computed if oldReferencedNode!=newReferencedNode.
|
virtual |
Returns true if the class supports deep and shallow copying node content.
bool vtkMRMLNode::HasNodeReferenceID | ( | const char * | referenceRole, |
const char * | referencedNodeID | ||
) |
Return true if referencedNodeID is in the node ID list for a specific referenceRole.
If nullptr is specified as role then all roles are checked.
|
virtual |
|
virtual |
|
protectedvirtual |
Remove all references and event observers to referenced nodes but leave ID's and events. References and event observers can be re-added by calling UpdateNodeReferences().
|
inlinevirtual |
This method allows the node to compress events.
Instead of invoking a certain event several times, the event is called only once, for all the invocations that are made between StartModify() and EndModify().
Typical usage is to group several ...Added
, ...Removed
, ...Modified
events into one, to improve performance.
callData is passed to InvokeEvent() if the event is invoked immediately.
If the event is not invoked immediately then it will be sent with callData=nullptr
.
Definition at line 551 of file vtkMRMLNode.h.
|
inlinevirtual |
Invokes any modified events that are pending
.
Pending modified events were generated while the DisableModifiedEvent flag was nonzero.
Returns the total number of pending modified events that have been replaced by the just invoked modified event(s).
Reimplemented in vtkMRMLAnnotationControlPointsNode.
Definition at line 508 of file vtkMRMLNode.h.
|
virtual |
Reimplemented in vtkMRMLSegmentationStorageNode, vtkMRMLMarkupsNode, vtkMRMLSubjectHierarchyNode, vtkMRMLMarkupsCurveNode, vtkMRMLSegmentEditorNode, vtkMRMLAnnotationDisplayNode, vtkMRMLSegmentationDisplayNode, vtkMRMLSubjectHierarchyLegacyNode, vtkMRMLSegmentationNode, vtkMRMLFolderDisplayNode, vtkMRMLMarkupsROINode, vtkMRMLFiducialListNode, vtkMRMLColorNode, vtkMRMLTableNode, vtkMRMLMarkupsPlaneNode, vtkMRMLStreamingVolumeNode, vtkMRMLMarkupsDisplayNode, vtkMRMLTableStorageNode, vtkMRMLSequenceNode, vtkMRMLDisplayableNode, vtkMRMLModelNode, vtkMRMLPlotSeriesNode, vtkMRMLShaderPropertyNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLTransformDisplayNode, vtkMRMLSequenceBrowserNode, vtkMRMLVolumeNode, vtkMRMLChartNode, vtkMRMLDoubleArrayNode, vtkMRMLSliceNode, vtkMRMLMarkupsFiducialNode, vtkMRMLMarkupsROIJsonStorageNode, vtkMRMLAbstractViewNode, vtkMRMLDisplayNode, vtkMRMLPlotChartNode, vtkMRMLTableSQLiteStorageNode, vtkMRMLLabelMapVolumeNode, vtkMRMLModelDisplayNode, vtkMRMLCropVolumeParametersNode, vtkMRMLMarkupsAngleNode, vtkMRMLMarkupsClosedCurveNode, vtkMRMLMarkupsLineNode, vtkMRMLShaderPropertyStorageNode, vtkMRMLDiffusionTensorDisplayPropertiesNode, vtkMRMLDiffusionWeightedVolumeDisplayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLMarkupsStorageNode, vtkMRMLVectorVolumeDisplayNode, vtkMRMLMarkupsFiducialStorageNode, vtkMRMLVolumePropertyNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLScalarVolumeNode, vtkMRMLSelectionNode, vtkMRMLStorageNode, vtkMRMLTensorVolumeNode, vtkMRMLMarkupsFiducialDisplayNode, vtkMRMLMarkupsJsonStorageNode, vtkMRMLVolumeRenderingDisplayNode, vtkMRMLTableViewNode, vtkMRMLTransformNode, vtkMRMLUnitNode, vtkMRMLAbstractLayoutNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLLinearTransformSequenceStorageNode, vtkMRMLStorableNode, vtkMRMLMarkupsROIDisplayNode, vtkMRMLMultiVolumeRenderingDisplayNode, vtkMRMLDiffusionTensorVolumeNode, vtkMRMLFiducialListStorageNode, vtkMRMLLinearTransformNode, vtkMRMLCPURayCastVolumeRenderingDisplayNode, vtkMRMLGPURayCastVolumeRenderingDisplayNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLPlotViewNode, vtkMRMLTransformableNode, vtkMRMLVolumeDisplayNode, vtkMRMLVolumePropertyStorageNode, vtkMRMLCameraNode, vtkMRMLSnapshotClipNode, vtkMRMLTextStorageNode, vtkMRMLHierarchyNode, vtkMRMLSequenceStorageNode, vtkMRMLVolumeArchetypeStorageNode, vtkMRMLAnnotationNode, vtkMRMLBSplineTransformNode, vtkMRMLProceduralColorNode, vtkMRMLScriptedModuleNode, vtkMRMLAnnotationSnapshotStorageNode, vtkMRMLCommandLineModuleNode, vtkMRMLClipModelsNode, vtkMRMLColorTableNode, vtkMRMLLabelMapVolumeDisplayNode, vtkMRMLModelStorageNode, vtkMRMLNRRDStorageNode, vtkMRMLSceneViewNode, vtkMRMLTransformStorageNode, vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLCrosshairNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLHierarchyStorageNode, vtkMRMLProceduralColorStorageNode, vtkMRMLVectorVolumeNode, vtkMRMLViewNode, vtkMRMLColorTableStorageNode, vtkMRMLDoubleArrayStorageNode, vtkMRMLGridTransformNode, vtkMRMLSliceCompositeNode, vtkMRMLChartViewNode, vtkMRMLModelHierarchyNode, vtkMRMLSceneViewStorageNode, vtkMRMLVolumeSequenceStorageNode, vtkMRMLTextNode, vtkMRMLAnnotationStickyNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationSnapshotNode, vtkMRMLAnnotationTextNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationLinesStorageNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationStorageNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationAngleStorageNode, vtkMRMLAnnotationControlPointsStorageNode, vtkMRMLAnnotationFiducialsStorageNode, vtkMRMLAnnotationRulerStorageNode, vtkMRMLAnnotationHierarchyNode, vtkMRMLAnnotationROINode, vtkMRMLLayoutNode, vtkMRMLROINode, vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLROIListNode, vtkMRMLAnnotationSplineNode, vtkMRMLInteractionNode, and vtkMRMLPETProceduralColorNode.
|
protectedvirtual |
Return true if the reference role is generic (ends with '/') or false otherwise.
|
inline |
Definition at line 438 of file vtkMRMLNode.h.
|
static |
|
inlineoverride |
Customized version of Modified() allowing to compress vtkCommand::ModifiedEvent.
It overrides the vtkObject method so that all changes to the node which would normally generate a vtkCommand::ModifiedEvent can be grouped into an atomic
operation.
Typical usage would be to disable modified events, call a series of Set*
operations, and then re-enable modified events and call InvokePendingModifiedEvent() to invoke the event (if any of the Set*
calls actually changed the values of the instance variables).
Definition at line 489 of file vtkMRMLNode.h.
|
staticprotected |
a shared set of functions that call the virtual ProcessMRMLEvents
|
inlinevirtual |
Updates this node if it depends on other nodes when the scene is read in This method is called by scene when a node added to a scene.
Definition at line 213 of file vtkMRMLNode.h.
|
inlineprotectedvirtual |
Called when a valid node reference is added. The event is not invoked when the referenced node ID is specified, but only when a valid node pointer is obtained.
Reimplemented in vtkMRMLSegmentationNode, vtkMRMLSequenceBrowserNode, vtkMRMLPlotChartNode, vtkMRMLMarkupsCurveNode, vtkMRMLVolumeNode, vtkMRMLModelNode, vtkMRMLPlotSeriesNode, vtkMRMLDisplayableNode, vtkMRMLPlotViewNode, and vtkMRMLTransformableNode.
Definition at line 899 of file vtkMRMLNode.h.
|
inlineprotectedvirtual |
Called when a referenced node pointer is modified.
Reimplemented in vtkMRMLSegmentationNode, vtkMRMLPlotChartNode, vtkMRMLMarkupsCurveNode, vtkMRMLVolumeNode, vtkMRMLModelNode, vtkMRMLPlotSeriesNode, vtkMRMLDisplayableNode, vtkMRMLPlotViewNode, and vtkMRMLTransformableNode.
Definition at line 905 of file vtkMRMLNode.h.
|
inlineprotectedvirtual |
Called when a referenced node pointer is removed (set to nullptr).
Reimplemented in vtkMRMLSegmentationNode, vtkMRMLPlotChartNode, vtkMRMLMarkupsCurveNode, vtkMRMLPlotSeriesNode, vtkMRMLDisplayableNode, vtkMRMLPlotViewNode, and vtkMRMLTransformableNode.
Definition at line 911 of file vtkMRMLNode.h.
|
protected |
|
protected |
Parse references in the form "role1:id1 id2;role2:id3;" map contains existing role-id pairs, so we don't repeat them
|
override |
|
inlinevirtual |
Set dependencies between this node and a child node when parsing XML file.
Reimplemented in vtkMRMLSceneViewNode.
Definition at line 201 of file vtkMRMLNode.h.
|
virtual |
Propagate events generated in mrml.
Reimplemented in vtkMRMLTransformNode, vtkMRMLCommandLineModuleNode, vtkMRMLSequenceBrowserNode, vtkMRMLMarkupsCurveNode, vtkMRMLSelectionNode, vtkMRMLVolumeNode, vtkMRMLFiducialListNode, vtkMRMLModelDisplayNode, vtkMRMLMarkupsNode, vtkMRMLDisplayableNode, vtkMRMLVolumePropertyNode, vtkMRMLMarkupsROINode, vtkMRMLCameraNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLPlotSeriesNode, vtkMRMLAnnotationDisplayNode, vtkMRMLPlotViewNode, vtkMRMLColorTableNode, vtkMRMLDisplayNode, vtkMRMLStorageNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLVolumeDisplayNode, vtkMRMLModelHierarchyNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLROINode, vtkMRMLColorNode, vtkMRMLROIListNode, vtkMRMLVectorVolumeDisplayNode, vtkMRMLVolumeRenderingDisplayNode, vtkMRMLTransformDisplayNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLFolderDisplayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLTableNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLShaderPropertyNode, vtkMRMLMarkupsDisplayNode, vtkMRMLStorableNode, vtkMRMLChartNode, vtkMRMLDoubleArrayNode, vtkMRMLTransformableNode, vtkMRMLAnnotationNode, vtkMRMLPlotChartNode, vtkMRMLProceduralColorNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLModelNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLStreamingVolumeNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationAngleNode, vtkMRMLLabelMapVolumeDisplayNode, vtkMRMLPETProceduralColorNode, and vtkMRMLAnnotationSplineNode.
|
virtual |
Set node attributes
Reimplemented in vtkMRMLSegmentationStorageNode, vtkMRMLMarkupsNode, vtkMRMLVolumePropertyNode, vtkMRMLMarkupsCurveNode, vtkMRMLDisplayNode, vtkMRMLSegmentEditorNode, vtkMRMLAnnotationDisplayNode, vtkMRMLPlotSeriesNode, vtkMRMLSegmentationDisplayNode, vtkMRMLSequenceBrowserNode, vtkMRMLMarkupsPlaneNode, vtkMRMLSubjectHierarchyLegacyNode, vtkMRMLTransformDisplayNode, vtkMRMLFolderDisplayNode, vtkMRMLSegmentationNode, vtkMRMLMarkupsAngleNode, vtkMRMLFiducialListNode, vtkMRMLShaderPropertyNode, vtkMRMLTableNode, vtkMRMLColorNode, vtkMRMLDisplayableNode, vtkMRMLVolumeNode, vtkMRMLMarkupsDisplayNode, vtkMRMLStreamingVolumeNode, vtkMRMLMarkupsFiducialNode, vtkMRMLMarkupsLineNode, vtkMRMLPlotViewNode, vtkMRMLSequenceNode, vtkMRMLStorableNode, vtkMRMLModelDisplayNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLAnnotationNode, vtkMRMLChartNode, vtkMRMLDiffusionTensorDisplayPropertiesNode, vtkMRMLDoubleArrayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLMarkupsJsonStorageNode, vtkMRMLAbstractViewNode, vtkMRMLMarkupsStorageNode, vtkMRMLPlotChartNode, vtkMRMLSliceNode, vtkMRMLStorageNode, vtkMRMLMarkupsFiducialStorageNode, vtkMRMLTableViewNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLUnitNode, vtkMRMLDiffusionWeightedVolumeDisplayNode, vtkMRMLVectorVolumeDisplayNode, vtkMRMLCropVolumeParametersNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLScalarVolumeNode, vtkMRMLTensorVolumeNode, vtkMRMLCameraNode, vtkMRMLSelectionNode, vtkMRMLTransformNode, vtkMRMLCrosshairNode, vtkMRMLLinearTransformNode, vtkMRMLProceduralColorNode, vtkMRMLCPURayCastVolumeRenderingDisplayNode, vtkMRMLGPURayCastVolumeRenderingDisplayNode, vtkMRMLMultiVolumeRenderingDisplayNode, vtkMRMLVolumeRenderingDisplayNode, vtkMRMLClipModelsNode, vtkMRMLColorTableNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLTransformableNode, vtkMRMLAbstractLayoutNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLModelStorageNode, vtkMRMLSnapshotClipNode, vtkMRMLTextNode, vtkMRMLVectorVolumeNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLAnnotationSnapshotNode, vtkMRMLHierarchyNode, vtkMRMLViewNode, vtkMRMLVolumeArchetypeStorageNode, vtkMRMLVolumeDisplayNode, vtkMRMLAnnotationLinesNode, vtkMRMLBSplineTransformNode, vtkMRMLChartViewNode, vtkMRMLModelHierarchyNode, vtkMRMLNRRDStorageNode, vtkMRMLSceneViewNode, vtkMRMLScriptedModuleNode, vtkMRMLTransformStorageNode, vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLCommandLineModuleNode, vtkMRMLAnnotationROINode, vtkMRMLGridTransformNode, vtkMRMLSliceCompositeNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationHierarchyNode, vtkMRMLAnnotationLinesStorageNode, vtkMRMLAnnotationRulerStorageNode, vtkMRMLLayoutNode, vtkMRMLROINode, vtkMRMLROIListNode, vtkMRMLPETProceduralColorNode, and vtkMRMLInteractionNode.
void vtkMRMLNode::RemoveAttribute | ( | const char * | name | ) |
Remove attribute with the specified name.
void vtkMRMLNode::RemoveNodeReferenceIDs | ( | const char * | referenceRole | ) |
Remove all node IDs and associated nodes for a specific referenceRole.
If referenceRole is 0 remove references for all roles
void vtkMRMLNode::RemoveNthNodeReferenceID | ( | const char * | referenceRole, |
int | n | ||
) |
Convenience method that removes the Nth node ID from the list.
|
virtual |
Reset node attributes to the initial state as defined in the constructor or the passed default node.
It preserves values of the following dynamic attributes that may be set by an application:
If a defaultNode pointer is passed then the values stored in that node will be used to set the node contents. If defaultNode is nullptr then the values set in the constructor of the class will be used to set the node contents.
Reimplemented in vtkMRMLColorTableNode, vtkMRMLColorNode, vtkMRMLSliceNode, vtkMRMLUnitNode, and vtkMRMLAbstractViewNode.
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void vtkMRMLNode::SetAddToSceneNoModify | ( | int | value | ) |
vtkMRMLNode* vtkMRMLNode::SetAndObserveNodeReferenceID | ( | const char * | referenceRole, |
const char * | referencedNodeID, | ||
vtkIntArray * | events = nullptr |
||
) |
Set and observe a reference node from this node for a specific referenceRole.
Observe Modified event by default, optionally takes array of events
vtkMRMLNode* vtkMRMLNode::SetAndObserveNthNodeReferenceID | ( | const char * | referenceRole, |
int | n, | ||
const char * | referencedNodeID, | ||
vtkIntArray * | events = nullptr |
||
) |
Set and observe the Nth node ID for a specific reference role.
If n is larger than the number of reference nodes, the node ID is added at the end of the list. If nodeReferenceID is 0, the node ID is removed from the list. When a node ID is set (added or changed), its corresponding node is searched (slow) into the scene and cached for fast future access. It is possible however that the node is not yet into the scene (due to some temporary state (at loading time for example). UpdateScene() can later be called to retrieve the nodes from the scene (automatically done when loading a scene). Get(Nth)NodeReference() also scan the scene if the node was not yet cached.
void vtkMRMLNode::SetAttribute | ( | const char * | name, |
const char * | value | ||
) |
Set a name value pair attribute.
Fires a vtkCommand::ModifiedEvent.
Attributes are written in the XML. If value is 0, the attribute name is removed from the pair list.
This function is a no-op if name is null or empty.
|
virtual |
Text description of this node, to be set by the user.
|
inline |
Definition at line 456 of file vtkMRMLNode.h.
|
virtual |
|
inline |
Definition at line 386 of file vtkMRMLNode.h.
|
virtual |
Name of this node, to be set by the user.
Reimplemented in vtkMRMLUnitNode.
vtkMRMLNode* vtkMRMLNode::SetNodeReferenceID | ( | const char * | referenceRole, |
const char * | referencedNodeID | ||
) |
Set a reference to a node with specified nodeID from this node for a specific referenceRole.
vtkMRMLNode* vtkMRMLNode::SetNthNodeReferenceID | ( | const char * | referenceRole, |
int | n, | ||
const char * | referencedNodeID | ||
) |
Set a N-th reference from this node with specified referencedNodeID for a specific referenceRole.
|
virtual |
|
virtual |
This method is for internal use only. Use AddNode method of vtkMRMLScene to add a node to the scene.
Internally calls SetSceneReferences()
Reimplemented in vtkMRMLFolderDisplayNode.
|
virtual |
Update the references of the node to the scene.
Reimplemented in vtkMRMLChartNode, vtkMRMLDisplayNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLDisplayableHierarchyNode, and vtkMRMLHierarchyNode.
|
virtual |
Reimplemented in vtkMRMLDisplayableNode.
|
virtual |
|
inline |
Definition at line 434 of file vtkMRMLNode.h.
|
inline |
Definition at line 430 of file vtkMRMLNode.h.
|
virtual |
Tag that make this node a singleton in the scene.
If set to nullptr, multiple instances of this node class are allowed.
If set to a non-nullptr string, the node will be a singleton and the scene will replace this node instead of adding new instances.
The SingletonTag is used by the scene to build a unique ID.
If the there can only be one instance of a given node class in the scene, then the singleton tag should be Singleton. For example, the interaction and selection nodes are named Selection and Interaction, with Singleton tags set to Singleton, and with IDs set to vtkMRMLSelectionNodeSingleton and vtkMRMLInteractionNodeSingleton. If the singleton node is associated with a specific module it should use the module name, which already needs to be unique, as the tag. The Editor module uses this naming convention, with a parameter node that has a singleton tag of Editor and a node ID of vtkMRMLScriptedModuleNodeEditor. If the there is more than one instance of the node class then the singleton tag should be Singleton post-pended with a unique identifier for that specific node (e.g. the name). Any new color nodes should use this convention, with a name of NewName, a Singleton tag of SingletonNewName, leading to an ID of vtkMRMLColorTableNodeSingletonNewName. The existing MRML nodes don't always use these conventions but are kept unchanged for backward compatibility.
|
protectedvirtual |
Get/Set the string used to manage encoding/decoding of strings/URLs with special characters.
|
virtual |
|
inlinevirtual |
Start modifying the node. Disable Modify events.
Returns the previous state of DisableModifiedEvent flag that should be passed to EndModify() method.
Definition at line 298 of file vtkMRMLNode.h.
|
virtual |
|
virtual |
|
protected |
Helper function for SetAndObserveNthNodeReferenceID. Updates the event observers on the old and new referenced node. referenceToIgnore should contain the current reference that is being updated.
|
protectedvirtual |
Updates references and event observations on the selected referenced nodes. If referenceRole is nullptr then all the roles will be updated.
|
protectedvirtual |
Updates references and event observations on the selected referenced node. Update is necessary because at the time the reference was added the referenced node might not have been available in the scene yet. Prerequisites: scene is valid, n >= 0 and n < referenced node IDs list size.
|
virtual |
Update the stored reference to another node in the scene.
Reimplemented in vtkMRMLChartNode, vtkMRMLDisplayNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLChartViewNode, vtkMRMLHierarchyNode, vtkMRMLTensorVolumeNode, vtkMRMLModelHierarchyNode, and vtkMRMLGlyphableVolumeDisplayNode.
|
virtual |
The method should remove all pointers and observations to all nodes that are not in the scene anymore.
This method is called when one or more referenced nodes are deleted from the scene.
Reimplemented in vtkMRMLChartNode, vtkMRMLDisplayNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLFiducialListNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLChartViewNode, vtkMRMLTensorVolumeNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLHierarchyNode, vtkMRMLModelHierarchyNode, vtkMRMLVolumeDisplayNode, vtkMRMLROINode, and vtkMRMLROIListNode.
|
inlinevirtual |
Updates other nodes in the scene depending on this node or updates this node if it depends on other nodes when the scene is read in This method is called automatically by XML parser after all nodes are created
Reimplemented in vtkMRMLSequenceNode, vtkMRMLDisplayNode, vtkMRMLAnnotationDisplayNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLColorNode, vtkMRMLVolumeNode, vtkMRMLFiducialListNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLMarkupsDisplayNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLStorableNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLHierarchyNode, vtkMRMLAnnotationNode, vtkMRMLModelHierarchyNode, vtkMRMLTransformNode, vtkMRMLVolumeDisplayNode, vtkMRMLProceduralColorNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLSceneViewNode, vtkMRMLSnapshotClipNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLROINode, vtkMRMLAnnotationAngleNode, vtkMRMLROIListNode, vtkMRMLAnnotationSplineNode, and vtkMRMLPETProceduralColorNode.
Definition at line 206 of file vtkMRMLNode.h.
const char* vtkMRMLNode::URLDecodeString | ( | const char * | inString | ) |
Decode a URL string.
Returns the string (null) if the input is null.
const char* vtkMRMLNode::URLEncodeString | ( | const char * | inString | ) |
Encode a URL string.
Returns the string (null) if the input is null.
|
virtual |
Write this node's body to a MRML file in XML format.
Reimplemented in vtkMRMLSubjectHierarchyNode, and vtkMRMLSceneViewNode.
|
virtual |
Write this node's information to a MRML file in XML format.
indent | Deprecated argument that is kept for API backward-compatibility |
Reimplemented in vtkMRMLSegmentationStorageNode, vtkMRMLMarkupsNode, vtkMRMLVolumePropertyNode, vtkMRMLSubjectHierarchyNode, vtkMRMLMarkupsCurveNode, vtkMRMLDisplayNode, vtkMRMLSegmentEditorNode, vtkMRMLAnnotationDisplayNode, vtkMRMLPlotSeriesNode, vtkMRMLSegmentationDisplayNode, vtkMRMLSequenceBrowserNode, vtkMRMLMarkupsPlaneNode, vtkMRMLSubjectHierarchyLegacyNode, vtkMRMLTransformDisplayNode, vtkMRMLFolderDisplayNode, vtkMRMLSegmentationNode, vtkMRMLStorageNode, vtkMRMLMarkupsAngleNode, vtkMRMLFiducialListNode, vtkMRMLTableNode, vtkMRMLShaderPropertyNode, vtkMRMLColorNode, vtkMRMLDisplayableNode, vtkMRMLVolumeNode, vtkMRMLMarkupsDisplayNode, vtkMRMLStreamingVolumeNode, vtkMRMLMarkupsFiducialNode, vtkMRMLPlotViewNode, vtkMRMLStorableNode, vtkMRMLMarkupsLineNode, vtkMRMLModelDisplayNode, vtkMRMLSequenceNode, vtkMRMLDiffusionTensorVolumeDisplayNode, vtkMRMLScalarVolumeDisplayNode, vtkMRMLAnnotationNode, vtkMRMLChartNode, vtkMRMLDiffusionTensorDisplayPropertiesNode, vtkMRMLDoubleArrayNode, vtkMRMLGlyphableVolumeSliceDisplayNode, vtkMRMLPlotChartNode, vtkMRMLSliceNode, vtkMRMLMarkupsJsonStorageNode, vtkMRMLAbstractViewNode, vtkMRMLMarkupsStorageNode, vtkMRMLTableViewNode, vtkMRMLMarkupsFiducialStorageNode, vtkMRMLDiffusionTensorVolumeSliceDisplayNode, vtkMRMLUnitNode, vtkMRMLVolumeArchetypeStorageNode, vtkMRMLDiffusionWeightedVolumeDisplayNode, vtkMRMLVectorVolumeDisplayNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLScalarVolumeNode, vtkMRMLTensorVolumeNode, vtkMRMLCropVolumeParametersNode, vtkMRMLCameraNode, vtkMRMLTransformNode, vtkMRMLCrosshairNode, vtkMRMLSelectionNode, vtkMRMLLinearTransformNode, vtkMRMLProceduralColorNode, vtkMRMLCPURayCastVolumeRenderingDisplayNode, vtkMRMLGPURayCastVolumeRenderingDisplayNode, vtkMRMLClipModelsNode, vtkMRMLColorTableNode, vtkMRMLDiffusionImageVolumeNode, vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLTransformableNode, vtkMRMLMultiVolumeRenderingDisplayNode, vtkMRMLVolumeRenderingDisplayNode, vtkMRMLdGEMRICProceduralColorNode, vtkMRMLDisplayableHierarchyNode, vtkMRMLSnapshotClipNode, vtkMRMLTextNode, vtkMRMLVectorVolumeNode, vtkMRMLAnnotationControlPointsNode, vtkMRMLAbstractLayoutNode, vtkMRMLHierarchyNode, vtkMRMLModelStorageNode, vtkMRMLVolumeDisplayNode, vtkMRMLAnnotationLinesNode, vtkMRMLBSplineTransformNode, vtkMRMLChartViewNode, vtkMRMLModelHierarchyNode, vtkMRMLViewNode, vtkMRMLNRRDStorageNode, vtkMRMLSceneViewNode, vtkMRMLTransformStorageNode, vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLScriptedModuleNode, vtkMRMLAnnotationROINode, vtkMRMLCommandLineModuleNode, vtkMRMLGridTransformNode, vtkMRMLSliceCompositeNode, vtkMRMLAnnotationSnapshotNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLineDisplayNode, vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationTextDisplayNode, vtkMRMLAnnotationSplineNode, vtkMRMLROINode, vtkMRMLAnnotationHierarchyNode, vtkMRMLAnnotationLinesStorageNode, vtkMRMLAnnotationRulerStorageNode, vtkMRMLLayoutNode, vtkMRMLROIListNode, vtkMRMLPETProceduralColorNode, and vtkMRMLInteractionNode.
std::string vtkMRMLNode::XMLAttributeDecodeString | ( | const std::string & | inString | ) |
Decode an XML attribute string.
Important: attributes that vtkMRMLNode::ReadXMLAttributes method receives are already decoded, therefore no XML attribute decoding must not be applied to those strings.
std::string vtkMRMLNode::XMLAttributeEncodeString | ( | const std::string & | inString | ) |
Encode an XML attribute string (replaces special characters by code sequences)
|
friend |
make the vtkMRMLScene a friend so that AddNodeNoNotify can call SetID, but that's the only class that is allowed to do so
Definition at line 171 of file vtkMRMLNode.h.
|
friend |
Definition at line 172 of file vtkMRMLNode.h.
|
protected |
Definition at line 929 of file vtkMRMLNode.h.
|
protected |
Definition at line 944 of file vtkMRMLNode.h.
|
protected |
Definition at line 946 of file vtkMRMLNode.h.
|
protected |
Definition at line 925 of file vtkMRMLNode.h.
|
protected |
Definition at line 926 of file vtkMRMLNode.h.
|
protected |
Definition at line 923 of file vtkMRMLNode.h.
|
protected |
Flag to avoid event loops
Definition at line 936 of file vtkMRMLNode.h.
|
protected |
Holders for MRML callbacks.
Definition at line 921 of file vtkMRMLNode.h.
|
protected |
Definition at line 948 of file vtkMRMLNode.h.
|
protected |
Definition at line 924 of file vtkMRMLNode.h.
|
protected |
Definition at line 959 of file vtkMRMLNode.h.
|
protected |
Definition at line 956 of file vtkMRMLNode.h.
|
protected |
Definition at line 954 of file vtkMRMLNode.h.
|
protected |
Definition at line 932 of file vtkMRMLNode.h.
|
protected |
Definition at line 941 of file vtkMRMLNode.h.
|
protected |
Definition at line 927 of file vtkMRMLNode.h.
|
protected |
Definition at line 928 of file vtkMRMLNode.h.
|
protected |
Definition at line 930 of file vtkMRMLNode.h.