CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
ctkVTKSurfaceMaterialPropertyWidget Class Reference

#include <Libs/Visualization/VTK/Widgets/ctkVTKSurfaceMaterialPropertyWidget.h>

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

Public Slots

void setProperty (vtkProperty *property)
 
- Public Slots inherited from ctkMaterialPropertyWidget
void setAmbient (double newAmbient)
 
void setBackfaceCulling (bool enable)
 
void setColor (const QColor &newColor)
 
void setDiffuse (double newDiffuse)
 
void setOpacity (double newOpacity)
 
void setSpecular (double newSpecular)
 
void setSpecularPower (double newSpecularPower)
 

Public Member Functions

 ctkVTKSurfaceMaterialPropertyWidget (QWidget *parentWidget)
 Constructors. More...
 
 ctkVTKSurfaceMaterialPropertyWidget (vtkProperty *property, QWidget *parentWidget)
 
vtkProperty * property () const
 
virtual ~ctkVTKSurfaceMaterialPropertyWidget ()
 
- Public Member Functions inherited from ctkMaterialPropertyWidget
void addPreset (const QColor &color, double opacity, double ambient, double diffuse, double specular, double power, const QString &label)
 
double ambient () const
 
bool backfaceCulling () const
 
QColor color () const
 
 ctkMaterialPropertyWidget (QWidget *parent=0)
 Constructor. More...
 
double diffuse () const
 
bool isBackfaceCullingVisible () const
 
bool isColorVisible () const
 
bool isOpacityVisible () const
 
double opacity () const
 
void setBackfaceCullingVisible (bool show)
 
void setColorVisible (bool show)
 
void setOpacityVisible (bool show)
 
double specular () const
 
double specularPower () const
 
virtual ~ctkMaterialPropertyWidget ()
 Destructor. More...
 

Protected Slots

void updateFromProperty ()
 
- Protected Slots inherited from ctkMaterialPropertyWidget
void selectPreset (QListWidgetItem *)
 

Protected Member Functions

virtual void onAmbientChanged (double newAmbient)
 
virtual void onBackfaceCullingChanged (bool newBackfaceCulling)
 
virtual void onColorChanged (const QColor &newColor)
 
virtual void onDiffuseChanged (double newDiffuse)
 
virtual void onOpacityChanged (double newOpacity)
 
virtual void onSpecularChanged (double newSpecular)
 
virtual void onSpecularPowerChanged (double newSpecularPower)
 
- Protected Member Functions inherited from ctkMaterialPropertyWidget
virtual void resizeEvent (QResizeEvent *resize)
 

Protected Attributes

QScopedPointer< ctkVTKSurfaceMaterialPropertyWidgetPrivate > d_ptr
 
- Protected Attributes inherited from ctkMaterialPropertyWidget
QScopedPointer< ctkMaterialPropertyWidgetPrivate > d_ptr
 

Additional Inherited Members

- Public Types inherited from ctkMaterialPropertyWidget
typedef QWidget Superclass
 Superclass typedef. More...
 
- Signals inherited from ctkMaterialPropertyWidget
void ambientChanged (double newAmbient)
 
void backfaceCullingChanged (bool newBackfaceCulling)
 
void colorChanged (QColor newColor)
 
void diffuseChanged (double newDiffuse)
 
void opacityChanged (double newOpacity)
 
void specularChanged (double newSpecular)
 
void specularPowerChanged (double newSpecularPower)
 
- Properties inherited from ctkMaterialPropertyWidget
double ambient
 
bool backfaceCulling
 This property controls weither backface culling should be enabled or not. More...
 
bool backfaceCullingVisible
 Control weither the backface culling is shown to the user. Visible by default. More...
 
QColor color
 This property holds the color of the material. More...
 
bool colorVisible
 Control weither the color is shown to the user. Visible by default. More...
 
double diffuse
 
double opacity
 Opacity component of the material property. More...
 
bool opacityVisible
 Control weither the opacity is shown to the user. Visible by default. More...
 
double specular
 
double specularPower
 

Detailed Description

Definition at line 33 of file ctkVTKSurfaceMaterialPropertyWidget.h.

Constructor & Destructor Documentation

◆ ctkVTKSurfaceMaterialPropertyWidget() [1/2]

ctkVTKSurfaceMaterialPropertyWidget::ctkVTKSurfaceMaterialPropertyWidget ( QWidget *  parentWidget)

Constructors.

◆ ctkVTKSurfaceMaterialPropertyWidget() [2/2]

ctkVTKSurfaceMaterialPropertyWidget::ctkVTKSurfaceMaterialPropertyWidget ( vtkProperty *  property,
QWidget *  parentWidget 
)

◆ ~ctkVTKSurfaceMaterialPropertyWidget()

virtual ctkVTKSurfaceMaterialPropertyWidget::~ctkVTKSurfaceMaterialPropertyWidget ( )
virtual

Member Function Documentation

◆ onAmbientChanged()

virtual void ctkVTKSurfaceMaterialPropertyWidget::onAmbientChanged ( double  newAmbient)
protectedvirtual

Reimplemented from ctkMaterialPropertyWidget.

◆ onBackfaceCullingChanged()

virtual void ctkVTKSurfaceMaterialPropertyWidget::onBackfaceCullingChanged ( bool  newBackfaceCulling)
protectedvirtual

Reimplemented from ctkMaterialPropertyWidget.

◆ onColorChanged()

virtual void ctkVTKSurfaceMaterialPropertyWidget::onColorChanged ( const QColor &  newColor)
protectedvirtual

Reimplemented from ctkMaterialPropertyWidget.

◆ onDiffuseChanged()

virtual void ctkVTKSurfaceMaterialPropertyWidget::onDiffuseChanged ( double  newDiffuse)
protectedvirtual

Reimplemented from ctkMaterialPropertyWidget.

◆ onOpacityChanged()

virtual void ctkVTKSurfaceMaterialPropertyWidget::onOpacityChanged ( double  newOpacity)
protectedvirtual

Reimplemented from ctkMaterialPropertyWidget.

◆ onSpecularChanged()

virtual void ctkVTKSurfaceMaterialPropertyWidget::onSpecularChanged ( double  newSpecular)
protectedvirtual

Reimplemented from ctkMaterialPropertyWidget.

◆ onSpecularPowerChanged()

virtual void ctkVTKSurfaceMaterialPropertyWidget::onSpecularPowerChanged ( double  newSpecularPower)
protectedvirtual

Reimplemented from ctkMaterialPropertyWidget.

◆ property()

vtkProperty* ctkVTKSurfaceMaterialPropertyWidget::property ( ) const

◆ setProperty

void ctkVTKSurfaceMaterialPropertyWidget::setProperty ( vtkProperty *  property)
slot

◆ updateFromProperty

void ctkVTKSurfaceMaterialPropertyWidget::updateFromProperty ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<ctkVTKSurfaceMaterialPropertyWidgetPrivate> ctkVTKSurfaceMaterialPropertyWidget::d_ptr
protected

Definition at line 55 of file ctkVTKSurfaceMaterialPropertyWidget.h.


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