Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Classes | Macros
vtkMRMLAnnotationDisplayNode.h File Reference
#include "vtkMRML.h"
#include "vtkMRMLModelDisplayNode.h"
#include "vtkMRMLDisplayableNode.h"
#include "vtkMRMLDisplayNode.h"
#include "vtkSlicerAnnotationsModuleMRMLExport.h"
Include dependency graph for vtkMRMLAnnotationDisplayNode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkMRMLAnnotationDisplayNode
 

Macros

#define vtkSetAndPropagateMacro(name, type)
 
#define vtkSetAndPropagateVector3Macro(name, type)
 

Macro Definition Documentation

◆ vtkSetAndPropagateMacro

#define vtkSetAndPropagateMacro (   name,
  type 
)
Value:
virtual void SetAndPropagateSuper##name (type _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting Super" << #name " to (" << _arg << ")"); \
if (this->Super##name != _arg) \
{ \
this->name = _arg; \
this->Super##name = _arg; \
vtkMRMLDisplayableNode *displayableNode = this->GetDisplayableNode(); \
if (!displayableNode) \
{ \
return; \
} \
for (int i=0; i<displayableNode->GetNumberOfDisplayNodes(); i++) \
{ \
vtkMRMLDisplayNode *displayNode = displayableNode->GetNthDisplayNode(i); \
if (!displayNode || displayNode==this) \
{ \
continue; \
} \
displayNode->Set##name(this->Super##name); \
} \
this->Modified(); \
} \
}; \

Definition at line 52 of file vtkMRMLAnnotationDisplayNode.h.

◆ vtkSetAndPropagateVector3Macro

#define vtkSetAndPropagateVector3Macro (   name,
  type 
)

Definition at line 18 of file vtkMRMLAnnotationDisplayNode.h.