CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ShadingWidget Class Reference

#include <cxShadingWidget.h>

Inheritance diagram for cx::ShadingWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Slots

void activeImageChangedSlot ()
 listens to the contextdockwidget for when the current image is changed More...
 
void imageChangedSlot (ImagePtr image)
 
void shadingToggledSlot (bool val)
 
- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 

Public Member Functions

 ShadingWidget (ActiveDataPtr activeData, QWidget *parent, bool connectToActiveImage=true)
 
 ~ShadingWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Member Functions

void init (bool connectToActiveImage)
 Initialize TransferFunctionWidget. Create members. More...
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

QVBoxLayout * mLayout
 
QCheckBox * mShadingCheckBox
 
bool mInitialized
 Is TransferFunctionWidget initialized. More...
 
ActiveDataPtr mActiveData
 
ActiveImageProxyPtr mActiveImageProxy
 
ImagePtr mImage
 
ImageRenderPropertiesWidgetPtr mImagePropertiesWidget
 

Additional Inherited Members

- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

Definition at line 80 of file cxShadingWidget.h.

Constructor & Destructor Documentation

cx::ShadingWidget::ShadingWidget ( ActiveDataPtr  activeData,
QWidget *  parent,
bool  connectToActiveImage = true 
)

Definition at line 88 of file cxShadingWidget.cpp.

cx::ShadingWidget::~ShadingWidget ( )

Definition at line 99 of file cxShadingWidget.cpp.

Member Function Documentation

void cx::ShadingWidget::activeImageChangedSlot ( )
slot

listens to the contextdockwidget for when the current image is changed

Definition at line 141 of file cxShadingWidget.cpp.

void cx::ShadingWidget::imageChangedSlot ( ImagePtr  image)
slot

Definition at line 147 of file cxShadingWidget.cpp.

void cx::ShadingWidget::init ( bool  connectToActiveImage)
protected

Initialize TransferFunctionWidget. Create members.

Definition at line 102 of file cxShadingWidget.cpp.

void cx::ShadingWidget::shadingToggledSlot ( bool  val)
slot

Definition at line 135 of file cxShadingWidget.cpp.

Member Data Documentation

ActiveDataPtr cx::ShadingWidget::mActiveData
protected

Definition at line 100 of file cxShadingWidget.h.

ActiveImageProxyPtr cx::ShadingWidget::mActiveImageProxy
protected

Definition at line 101 of file cxShadingWidget.h.

ImagePtr cx::ShadingWidget::mImage
protected

Definition at line 102 of file cxShadingWidget.h.

ImageRenderPropertiesWidgetPtr cx::ShadingWidget::mImagePropertiesWidget
protected

Definition at line 103 of file cxShadingWidget.h.

bool cx::ShadingWidget::mInitialized
protected

Is TransferFunctionWidget initialized.

Definition at line 99 of file cxShadingWidget.h.

QVBoxLayout* cx::ShadingWidget::mLayout
protected

Definition at line 96 of file cxShadingWidget.h.

QCheckBox* cx::ShadingWidget::mShadingCheckBox
protected

Definition at line 97 of file cxShadingWidget.h.


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