Slicer
4.8
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 | |
virtual std::vector< std::string > | FindDefaultColorFiles () VTK_OVERRIDE |
virtual std::vector< std::string > | FindUserColorFiles () VTK_OVERRIDE |
virtual const char * | GetClassName () |
virtual const char * | GetDefaultChartColorNodeID () VTK_OVERRIDE |
Return a default color node id for the charts. More... | |
virtual const char * | GetDefaultEditorColorNodeID () VTK_OVERRIDE |
Return a default color node id for the editor. More... | |
virtual const char * | GetDefaultLabelMapColorNodeID () VTK_OVERRIDE |
Return a default color node id for a label map. More... | |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_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 * | GetDefaultFreeSurferLabelMapColorNodeID () |
Return a default color node id for a freesurfer label map volume. 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=NULL) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_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) VTK_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 * | GetFreeSurferColorNodeID (int type) |
Return the default freesurfer color node id for a given type. More... | |
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 |
|
protected |
|
protected |
|
protected |
|
virtual |
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.
|
virtual |
Reimplemented from vtkMRMLColorLogic.
|
virtual |
Reimplemented from vtkMRMLColorLogic.
|
virtual |
Return a default color node id for the charts.
Reimplemented from vtkMRMLColorLogic.
|
virtual |
Return a default color node id for the editor.
Reimplemented from vtkMRMLColorLogic.
|
virtual |
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 |
void vtkSlicerColorLogic::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |