15 #ifndef __vtkMRMLGlyphableVolumeDisplayNode_h 16 #define __vtkMRMLGlyphableVolumeDisplayNode_h 35 void PrintSelf(ostream& os, vtkIndent indent)
override;
45 void WriteXML(ostream& of,
int indent)
override;
71 vtkGetMacro(VisualizationMode,
int);
72 vtkSetMacro(VisualizationMode,
int);
77 this->SetVisualizationMode(this->visModeScalar);
80 this->SetVisualizationMode(this->visModeGlyph);
83 this->SetVisualizationMode(this->visModeBoth);
100 void SetAndObserveGlyphColorNodeID(
const char *GlyphColorNodeID);
101 void SetAndObserveGlyphColorNodeID(std::string GlyphColorNodeID);
102 vtkGetStringMacro(GlyphColorNodeID);
119 virtual std::vector< vtkMRMLGlyphableVolumeSliceDisplayNode*>
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);
virtual std::vector< vtkMRMLGlyphableVolumeSliceDisplayNode * > GetSliceGlyphDisplayNodes(vtkMRMLVolumeNode *vtkNotUsed(node))
get associated slice glyph display node or nullptr if not set
void operator=(const vtkMRMLScalarVolumeDisplayNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void SetDefaultColorMap() override
set gray colormap or override in subclass
void GetDisplayScalarRange(double range[2]) override
void UpdateScene(vtkMRMLScene *scene) override
Finds the storage node and read the data
static vtkMRMLScalarVolumeDisplayNode * New()
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
A set of MRML Nodes that supports serialization and undo/redo.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
MRML node to represent display properties for tractography.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
Abstract MRML node to represent color information.
void UpdateReferences() override
void UpdateReferenceID(const char *oldID, const char *newID) override
Update the stored reference to another node in the scene.
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 ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
void SetVisualizationModeToBoth()
vtkMRMLColorNode * GlyphColorNode
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void PrintSelf(ostream &os, vtkIndent indent) override
Abstract Superclass for all specific types of MRML nodes.
void SetSceneReferences() override
Mark the color and views nodes as references.
MRML node for representing a volume display attributes.
MRML node for representing a volume display attributes.