15#ifndef __vtkSlicerColorLogic_h
16#define __vtkSlicerColorLogic_h
20#include "vtkSlicerColorsModuleLogicExport.h"
32 void PrintSelf(ostream& os, vtkIndent indent)
override;
96 std::vector<std::string>
FindColorFiles(
const std::vector<std::string>& directories);
Class describing how to display a color legend.
Abstract class that contains graphical display properties for displayable nodes.
static vtkMRMLDisplayNode * GetFirstNonColorLegendDisplayNode(vtkMRMLDisplayableNode *displayableNode)
static int GetNumberOfColorLegendDisplayNodes(vtkMRMLDisplayableNode *displayableNode)
std::vector< std::string > FindDefaultColorFiles() override
static vtkMRMLColorLegendDisplayNode * AddDefaultColorLegendDisplayNode(vtkMRMLDisplayableNode *displayableNode)
const char * GetDefaultChartColorNodeID() override
Return a default color node id for the charts.
void RegisterNodes() override
Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this...
const char * GetDefaultLabelMapColorNodeID() override
Return a default color node id for a label map.
std::vector< std::string > FindUserColorFiles() override
static vtkMRMLColorLegendDisplayNode * AddDefaultColorLegendDisplayNode(vtkMRMLDisplayNode *displayNode)
void operator=(const vtkSlicerColorLogic &)
vtkSlicerColorLogic(const vtkSlicerColorLogic &)
void PrintSelf(ostream &os, vtkIndent indent) override
std::vector< std::string > FindColorFiles(const std::vector< std::string > &directories)
static vtkMRMLColorLegendDisplayNode * GetNthColorLegendDisplayNode(vtkMRMLDisplayableNode *displayableNode, int n)
const char * GetDefaultEditorColorNodeID() override
Return a default color node id for the editor.
static vtkMRMLColorLegendDisplayNode * GetColorLegendDisplayNode(vtkMRMLDisplayNode *displayNode)
static vtkMRMLColorLegendDisplayNode * GetColorLegendDisplayNode(vtkMRMLDisplayableNode *displayableNode)
static vtkSlicerColorLogic * New()
The Usual vtk class functions.
~vtkSlicerColorLogic() override