Slicer  4.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Variables
generate_default_color_node_property_table Namespace Reference

Variables

 column_width = len(str(row[column_name]))
 
dictionary max_row_widths = {column_name: len(column_title) for (column_name, column_title) in titles.items()}
 
 n = nodes.GetItemAsObject(index)
 
 nodes = slicer.mrmlScene.GetNodesByClass("vtkMRMLColorNode")
 
list table = []
 
string template = "/// | {family} | {category} | {_type} | {node_name} | {singleton_tag} | {node_id} |"
 
dictionary titles
 

Variable Documentation

◆ column_width

generate_default_color_node_property_table.column_width = len(str(row[column_name]))

◆ max_row_widths

dictionary generate_default_color_node_property_table.max_row_widths = {column_name: len(column_title) for (column_name, column_title) in titles.items()}

◆ n

generate_default_color_node_property_table.n = nodes.GetItemAsObject(index)

◆ nodes

generate_default_color_node_property_table.nodes = slicer.mrmlScene.GetNodesByClass("vtkMRMLColorNode")

◆ table

list generate_default_color_node_property_table.table = []

◆ template

string generate_default_color_node_property_table.template = "/// | {family} | {category} | {_type} | {node_name} | {singleton_tag} | {node_id} |"

◆ titles

dictionary generate_default_color_node_property_table.titles
Initial value:
1 = {'family': 'Family',
2  'category': 'Category',
3  '_type': 'Type',
4  'node_name': 'Node name',
5  'singleton_tag': 'Singleton Tag',
6  'node_id': 'Node ID'}

Definition at line 41 of file generate_default_color_node_property_table.py.