![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Libs/Visualization/VTK/Widgets/ctkVTKSurfaceMaterialPropertyWidget.h>
Public Slots | |
void | setProperty (vtkProperty *property) |
![]() | |
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 () |
![]() | |
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 () |
![]() | |
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) |
![]() | |
virtual void | resizeEvent (QResizeEvent *resize) |
Protected Attributes | |
QScopedPointer< ctkVTKSurfaceMaterialPropertyWidgetPrivate > | d_ptr |
![]() | |
QScopedPointer< ctkMaterialPropertyWidgetPrivate > | d_ptr |
Additional Inherited Members | |
![]() | |
typedef QWidget | Superclass |
Superclass typedef. More... | |
![]() | |
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) |
![]() | |
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 |
Definition at line 33 of file ctkVTKSurfaceMaterialPropertyWidget.h.
ctkVTKSurfaceMaterialPropertyWidget::ctkVTKSurfaceMaterialPropertyWidget | ( | QWidget * | parentWidget | ) |
Constructors.
ctkVTKSurfaceMaterialPropertyWidget::ctkVTKSurfaceMaterialPropertyWidget | ( | vtkProperty * | property, |
QWidget * | parentWidget | ||
) |
|
virtual |
|
protectedvirtual |
Reimplemented from ctkMaterialPropertyWidget.
|
protectedvirtual |
Reimplemented from ctkMaterialPropertyWidget.
|
protectedvirtual |
Reimplemented from ctkMaterialPropertyWidget.
|
protectedvirtual |
Reimplemented from ctkMaterialPropertyWidget.
|
protectedvirtual |
Reimplemented from ctkMaterialPropertyWidget.
|
protectedvirtual |
Reimplemented from ctkMaterialPropertyWidget.
|
protectedvirtual |
Reimplemented from ctkMaterialPropertyWidget.
vtkProperty* ctkVTKSurfaceMaterialPropertyWidget::property | ( | ) | const |
|
slot |
|
protectedslot |
|
protected |
Definition at line 55 of file ctkVTKSurfaceMaterialPropertyWidget.h.