Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
qSlicerColorsModuleWidget Class Reference

#include <Modules/Loadable/Colors/qSlicerColorsModuleWidget.h>

Inheritance diagram for qSlicerColorsModuleWidget:
Inheritance graph
[legend]
Collaboration diagram for qSlicerColorsModuleWidget:
Collaboration graph
[legend]

Public Types

typedef qSlicerAbstractModuleWidget Superclass
 
- Public Types inherited from qSlicerAbstractModuleRepresentation
typedef qSlicerObject Superclass
 

Public Slots

void copyCurrentColorNode ()
 
void setCenterLabel (bool)
 
void setCurrentColorNode (vtkMRMLNode *)
 
void setLookupTableRange (double min, double max)
 
void setUseColorNameAsLabel (bool)
 
void updateNumberOfColors ()
 
- Public Slots inherited from qSlicerWidget

Public Member Functions

 qSlicerColorsModuleWidget (QWidget *parent=0)
 
virtual Q_INVOKABLE vtkScalarBarWidget * scalarBar ()
 Get scalar bar actor displayed in 3D views. More...
 
virtual bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString())
 Node editing. More...
 
virtual ~qSlicerColorsModuleWidget ()
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
virtual Q_INVOKABLE void enter ()
 
virtual Q_INVOKABLE void exit ()
 
bool isEntered () const
 
virtual Q_INVOKABLE double nodeEditable (vtkMRMLNode *node)
 
 qSlicerAbstractModuleWidget (QWidget *parent=0)
 
virtual ~qSlicerAbstractModuleWidget ()
 
- Public Member Functions inherited from qSlicerWidget
 qSlicerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qSlicerWidget ()
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
virtual ~qSlicerAbstractModuleRepresentation ()
 

Protected Slots

void onMRMLColorNodeChanged (vtkMRMLNode *newColorNode)
 

Protected Member Functions

virtual void setMRMLScene (vtkMRMLScene *scene)
 
virtual void setup ()
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Protected Attributes

QScopedPointer< qSlicerColorsModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleWidget
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleRepresentation
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModuleWidget
bool isEntered
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

Definition at line 34 of file qSlicerColorsModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 40 of file qSlicerColorsModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerColorsModuleWidget()

qSlicerColorsModuleWidget::qSlicerColorsModuleWidget ( QWidget *  parent = 0)

◆ ~qSlicerColorsModuleWidget()

virtual qSlicerColorsModuleWidget::~qSlicerColorsModuleWidget ( )
virtual

Member Function Documentation

◆ copyCurrentColorNode

void qSlicerColorsModuleWidget::copyCurrentColorNode ( )
slot

◆ onMRMLColorNodeChanged

void qSlicerColorsModuleWidget::onMRMLColorNodeChanged ( vtkMRMLNode newColorNode)
protectedslot

◆ scalarBar()

virtual Q_INVOKABLE vtkScalarBarWidget* qSlicerColorsModuleWidget::scalarBar ( )
virtual

Get scalar bar actor displayed in 3D views.

◆ setCenterLabel

void qSlicerColorsModuleWidget::setCenterLabel ( bool  )
slot

◆ setCurrentColorNode

void qSlicerColorsModuleWidget::setCurrentColorNode ( vtkMRMLNode )
slot

◆ setEditedNode()

virtual bool qSlicerColorsModuleWidget::setEditedNode ( vtkMRMLNode node,
QString  role = QString(),
QString  context = QString() 
)
virtual

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setLookupTableRange

void qSlicerColorsModuleWidget::setLookupTableRange ( double  min,
double  max 
)
slot

◆ setMRMLScene()

virtual void qSlicerColorsModuleWidget::setMRMLScene ( vtkMRMLScene scene)
protectedvirtual

Reimplemented from qSlicerWidget.

◆ setup()

virtual void qSlicerColorsModuleWidget::setup ( )
protectedvirtual

All initialization code (typically setupUi()) must be done in setup() The module and the logic are accessible.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setUseColorNameAsLabel

void qSlicerColorsModuleWidget::setUseColorNameAsLabel ( bool  )
slot

◆ updateNumberOfColors

void qSlicerColorsModuleWidget::updateNumberOfColors ( )
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerColorsModuleWidgetPrivate> qSlicerColorsModuleWidget::d_ptr
protected

Definition at line 65 of file qSlicerColorsModuleWidget.h.


The documentation for this class was generated from the following file: