Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkSlicerColorLogic.h
Go to the documentation of this file.
1 /*=auto=========================================================================
2 
3  Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8 =========================================================================auto=*/
9 
14 
15 #ifndef __vtkSlicerColorLogic_h
16 #define __vtkSlicerColorLogic_h
17 
18 // MRMLLogic includes
19 #include <vtkMRMLColorLogic.h>
20 #include "vtkSlicerColorsModuleLogicExport.h"
21 
22 class VTK_SLICER_COLORS_MODULE_LOGIC_EXPORT vtkSlicerColorLogic
23  : public vtkMRMLColorLogic
24 {
25  public:
26 
28  static vtkSlicerColorLogic *New();
30  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
31 
33  virtual const char * GetDefaultLabelMapColorNodeID() VTK_OVERRIDE;
34 
36  virtual const char * GetDefaultEditorColorNodeID() VTK_OVERRIDE;
37 
39  virtual const char * GetDefaultChartColorNodeID() VTK_OVERRIDE;
40 
44  virtual std::vector<std::string> FindDefaultColorFiles() VTK_OVERRIDE;
45  virtual std::vector<std::string> FindUserColorFiles() VTK_OVERRIDE;
46 
47 protected:
49  ~vtkSlicerColorLogic();
50  vtkSlicerColorLogic(const vtkSlicerColorLogic&);
51  void operator=(const vtkSlicerColorLogic&);
52  std::vector<std::string> FindColorFiles(const std::vector<std::string>& directories);
53 };
54 
55 #endif
56 
static vtkMRMLColorLogic * New()
The Usual vtk class functions.
LRU Cache.
virtual const char * GetDefaultLabelMapColorNodeID()
Return a default color node id for a label map.
MRML logic class for color manipulation.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE