Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Colors/Logic/vtkSlicerColorLogic.h>
Public Types | |
typedef vtkMRMLColorLogic | Superclass |
Public Types inherited from vtkMRMLColorLogic | |
typedef vtkMRMLAbstractLogic | Superclass |
Public Types inherited from vtkMRMLAbstractLogic | |
typedef vtkObject | Superclass |
typedef void(vtkMRMLAbstractLogic::* | TaskFunctionPointer) (void *clientdata) |
Public Member Functions | |
std::vector< std::string > | FindDefaultColorFiles () override |
std::vector< std::string > | FindUserColorFiles () override |
virtual const char * | GetClassName () |
const char * | GetDefaultChartColorNodeID () override |
Return a default color node id for the charts. More... | |
const char * | GetDefaultEditorColorNodeID () override |
Return a default color node id for the editor. More... | |
const char * | GetDefaultLabelMapColorNodeID () override |
Return a default color node id for a label map. More... | |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Public Member Functions inherited from vtkMRMLColorLogic | |
void | AddColorFile (const char *fileName, std::vector< std::string > *Files) |
Add a file to the input list Files, checking first for null, duplicates. More... | |
virtual void | AddDefaultColorNodes () |
Add default color nodes. More... | |
virtual const char * | GetDefaultModelColorNodeID () |
Return a default color node id for a model. More... | |
virtual const char * | GetDefaultPlotColorNodeID () |
Return a default color node id for a plot. More... | |
virtual const char * | GetDefaultVolumeColorNodeID () |
Return a default color node id for a volume. More... | |
virtual char * | GetUserColorFilePaths () |
Get/Set the user defined paths where to look for extra colour files. More... | |
vtkMRMLColorNode * | LoadColorFile (const char *fileName, const char *nodeName=nullptr) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | RemoveDefaultColorNodes () |
Remove default color nodes. More... | |
virtual void | SetUserColorFilePaths (const char *) |
Public Member Functions inherited from vtkMRMLAbstractLogic | |
virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
Get access to overall application state. More... | |
vtkMRMLScene * | GetMRMLScene () const |
Return a reference to the current MRML scene. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
void | SetMRMLScene (vtkMRMLScene *newScene) |
Set and observe the MRMLScene. More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkSlicerColorLogic * | New () |
The Usual vtk class functions. More... | |
static vtkSlicerColorLogic * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLColorLogic | |
static vtkMRMLColorTableNode * | CopyNode (vtkMRMLColorNode *colorNode, const char *copyName) |
static vtkMRMLProceduralColorNode * | CopyProceduralNode (vtkMRMLColorNode *colorNode, const char *copyName) |
static const char * | GetColorTableNodeID (int type) |
Return the default color table node id for a given type. More... | |
static const char * | GetdGEMRICColorNodeID (int type) |
Return the default dGEMRIC color node id for a given type. More... | |
static const char * | GetFileColorNodeID (const char *fileName) |
Return a default color node id for a file based node, based on the file name. More... | |
static std::string | GetFileColorNodeSingletonTag (const char *fileName) |
static const char * | GetPETColorNodeID (int type) |
Return the default PET color node id for a given type. More... | |
static const char * | GetProceduralColorNodeID (const char *name) |
Return a default color node id for a procedural color node. More... | |
static int | IsTypeOf (const char *type) |
static vtkMRMLColorLogic * | New () |
The Usual vtk class functions. More... | |
static vtkMRMLColorLogic * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLAbstractLogic | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractLogic * | New () |
static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkMRMLColorLogic | |
static const char * | GetColorNodeID (vtkMRMLColorNode *colorNode) |
Static Protected Member Functions inherited from vtkMRMLAbstractLogic | |
static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLLogicCallback is a static function to relay modified events from the logics. More... | |
static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLNodesCallback is a static function to relay modified events from the nodes. More... | |
static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
Protected Attributes inherited from vtkMRMLColorLogic | |
std::vector< std::string > | ColorFiles |
char * | UserColorFilePaths |
std::vector< std::string > | UserColorFiles |
Static Protected Attributes inherited from vtkMRMLColorLogic | |
static std::string | TempColorNodeID |
vtkSlicerColorLogic - slicer logic class for color manipulation
This class manages the logic associated with reading, saving, and changing propertied of the colors
Definition at line 22 of file vtkSlicerColorLogic.h.
Definition at line 29 of file vtkSlicerColorLogic.h.
|
protected |
|
overrideprotected |
|
protected |
|
protected |
|
overridevirtual |
look for color files in the Base/Logic/Resources/ColorFiles directory and put their names in the ColorFiles list. Look in any user defined color files paths and put them in the UserColorFiles list.
Reimplemented from vtkMRMLColorLogic.
|
overridevirtual |
Reimplemented from vtkMRMLColorLogic.
|
virtual |
Reimplemented from vtkMRMLColorLogic.
|
overridevirtual |
Return a default color node id for the charts.
Reimplemented from vtkMRMLColorLogic.
|
overridevirtual |
Return a default color node id for the editor.
Reimplemented from vtkMRMLColorLogic.
|
overridevirtual |
Return a default color node id for a label map.
Reimplemented from vtkMRMLColorLogic.
|
virtual |
Reimplemented from vtkMRMLColorLogic.
|
static |
|
static |
The Usual vtk class functions.
|
protected |
|
override |
|
static |