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);
100 void SetAndObserveGlyphColorNodeID(
const char *GlyphColorNodeID);
101 void SetAndObserveGlyphColorNodeID(std::string GlyphColorNodeID);
102 vtkGetStringMacro(GlyphColorNodeID);
112 void * ) VTK_OVERRIDE;
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 NULL if not set
void operator=(const vtkMRMLScalarVolumeDisplayNode &)
virtual void UpdateReferences() VTK_OVERRIDE
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.
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.
virtual void SetDefaultColorMap() VTK_OVERRIDE
set gray colormap or override in subclass
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
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Display nodes
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.