1#ifndef __vtkMRMLLayoutNode_h
2#define __vtkMRMLLayoutNode_h
7class vtkXMLDataElement;
20 void PrintSelf(ostream& os, vtkIndent indent)
override;
30 void WriteXML(ostream& of,
int indent)
override;
vtkMRMLAbstractLayoutNode()
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
int BottomPanelVisibility
int NumberOfCompareViewLightboxRows
bool IsLayoutDescription(int layout)
Query whether a layout exists with a specified integer identifier.
void CopyLayoutDescriptions(vtkMRMLLayoutNode *source)
void ReadXMLAttributes(const char **atts) override
MRML methods.
vtkMRMLAbstractViewNode * GetMaximizedViewNode(int maximizedViewNodeIndex)
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
std::string GetLayoutDescription(int layout)
bool AddLayoutDescription(int layout, const char *layoutDescription)
std::vector< int > GetLayoutIndices()
Get list of all specified layout indices.
void UpdateCurrentLayoutDescription()
int NumberOfCompareViewColumns
void RemoveAllMaximizedViewNodes()
int NumberOfCompareViewLightboxColumns
bool SetLayoutDescription(int layout, const char *layoutDescription)
vtkMRMLLayoutNode(const vtkMRMLLayoutNode &)
void PrintSelf(ostream &os, vtkIndent indent) override
void CopyContent(vtkMRMLNode *node, bool deepCopy=true) override
Copy the node's attributes to this object.
char * CurrentLayoutDescription
@ SlicerLayoutTriple3DEndoscopyView
@ SlicerLayoutOneUpYellowSliceView
@ SlicerLayoutCompareView
@ SlicerLayoutFiveByTwoSliceView
@ SlicerLayoutFourUpTableView
@ SlicerLayoutTwoOverTwoView
@ SlicerLayoutCompareGridView
@ SlicerLayoutSideBySideView
@ SlicerLayoutMaximizedView
@ SlicerLayoutThreeByThreeSliceView
@ SlicerLayoutFourUpPlotTableView
@ SlicerLayoutOneUp3DView
@ SlicerLayoutOneUpPlotView
@ SlicerLayoutDefaultView
@ SlicerLayoutFourOverFourView
@ SlicerLayout3DTableView
@ SlicerLayoutTabbed3DView
@ SlicerLayoutThreeOverThreePlotView
@ SlicerLayoutDualMonitorFourUpView
@ SlicerLayoutConventionalPlotView
@ SlicerLayoutCompareWidescreenView
@ SlicerLayoutDicomBrowserView
@ SlicerLayoutConventionalWidescreenView
@ SlicerLayoutInitialView
@ SlicerLayoutConventionalView
@ SlicerLayoutThreeOverThreeView
@ SlicerLayoutFourByThreeSliceView
@ SlicerLayoutTabbedSliceView
@ SlicerLayoutOneUpGreenSliceView
@ SlicerLayoutOneUpRedSliceView
@ SlicerLayoutFourByTwoSliceView
@ SlicerLayoutFourUpPlotView
virtual void SetViewArrangement(int)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
static vtkMRMLLayoutNode * New()
int GetNumberOfMaximizedViewNodes()
std::map< int, std::string > Layouts
int NumberOfCompareViewRows
bool IsMaximizedViewNode(vtkMRMLAbstractViewNode *viewNode)
int CollapseSliceControllers
void operator=(const vtkMRMLLayoutNode &)
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
static vtkXMLDataElement * ParseLayout(const char *description)
~vtkMRMLLayoutNode() override
void RemoveMaximizedViewNode(vtkMRMLAbstractViewNode *maximizedViewNode)
void Reset(vtkMRMLNode *defaultNode) override
Reimplemented to reset maximized view node.
vtkXMLDataElement * LayoutRootElement
void SetAndParseCurrentLayoutDescription(const char *description)
void AddMaximizedViewNode(vtkMRMLAbstractViewNode *maximizedViewNode)