15 #ifndef __vtkMRMLGlyphableVolumeDisplayNode_h 16 #define __vtkMRMLGlyphableVolumeDisplayNode_h 35 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
45 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
53 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "GlyphableVolumeDisplay";}
57 virtual void UpdateReferenceID(
const char *oldID,
const char *newID) VTK_OVERRIDE;
71 vtkGetMacro(VisualizationMode,
int);
72 vtkSetMacro(VisualizationMode,
int);
77 this->SetVisualizationMode(this->visModeScalar);
80 this->SetVisualizationMode(this->visModeGlyph);
83 this->SetVisualizationMode(this->visModeBoth);
92 virtual
void UpdateReferences() VTK_OVERRIDE;
96 virtual
void UpdateScene(
vtkMRMLScene *scene) VTK_OVERRIDE;
100 void SetAndObserveGlyphColorNodeID(const
char *GlyphColorNodeID);
101 void SetAndObserveGlyphColorNodeID(
std::
string GlyphColorNodeID);
102 vtkGetStringMacro(GlyphColorNodeID);
110 virtual
void ProcessMRMLEvents ( vtkObject * ,
112 void * ) VTK_OVERRIDE;
115 void SetDefaultColorMap() VTK_OVERRIDE;
122 vtkErrorMacro(
"Shouldn't be calling this");
123 return std::vector< vtkMRMLGlyphableVolumeSliceDisplayNode*>();
131 vtkErrorMacro(
"Shouldn't be calling this");
139 this->Superclass::GetDisplayScalarRange(range);
150 void SetGlyphColorNodeID(
const char*
id);
void operator=(const vtkMRMLScalarVolumeDisplayNode &)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
virtual void UpdateReferenceID(const char *oldID, const char *newID) VTK_OVERRIDE
Update the stored reference to another node in the scene.
static vtkMRMLScalarVolumeDisplayNode * New()
virtual void SetSceneReferences() VTK_OVERRIDE
Mark the color and views nodes as references.
A set of MRML Nodes that supports serialization and undo/redo.
MRML node to represent display properties for tractography.
Abstract MRML node to represent color information.
MRML node for representing a volume (image stack).
void SetVisualizationModeToGlyphs()
void SetVisualizationModeToScalarVolume()
virtual void AddSliceGlyphDisplayNodes(vtkMRMLVolumeNode *vtkNotUsed(node))
add slice glyph display nodes if not already present and return it
void SetVisualizationModeToBoth()
vtkMRMLColorNode * GlyphColorNode
Abstract Superclass for all specific types of MRML nodes.
virtual void GetDisplayScalarRange(double range[2]) VTK_OVERRIDE
MRML node for representing a volume display attributes.
MRML node for representing a volume display attributes.