![]() |
Computer Assited Medical Intervention Tool Kit
|
The class VtkMeshComponentProperties defines properties for VtkMeshComponent. More...
#include <VtkMeshComponentProperties.h>
Public Types | |
| enum | ShadingInterpolation { FLAT, GOURAUD, PHONG } |
| Line width. More... | |
Public Member Functions | |
| double | getAmbient () const |
| Get the shading interpolation. | |
| double | getDiffuse () const |
| Get the diffuse lighting coefficient. | |
| double | getOpacity () const |
| Get the opacity coefficient. | |
| double | getSpecular () const |
| Get the specular lighting coefficient. | |
| QColor | getSpecularColor () const |
| Get the ambient color. | |
| double | getSpecularPower () const |
| Get the specular power lighting coefficient. | |
| void | setAmbient (const double input) |
| Get the line width. | |
| void | setDiffuse (const double input) |
| Set the diffuse lighting coefficient. | |
| void | setOpacity (const double input) |
| Set the opacity coefficient. | |
| void | setSpecular (const double input) |
| Set the specular lighting coefficient. | |
| void | setSpecularColor (const QColor input) |
| Set the ambient color. | |
| void | setSpecularPower (const double input) |
| Set the specular power lighting coefficient. | |
| VtkMeshComponentProperties (VtkMeshComponent *comp) | |
| Default construtor. | |
| ~VtkMeshComponentProperties () | |
| Destructor. | |
Protected Attributes | |
| VtkMeshComponent * | myComponent |
| Set the line width. | |
Properties | |
| double | ambient |
| Shading interpolation. | |
| double | diffuse |
| Diffuse ligthing coefficient. | |
| double | opacity |
| Specular opacity coefficient. | |
| double | specular |
| Specular ligthing coefficient. | |
| QColor | specularColor |
| Ambient color. | |
| double | specularPower |
| Specular power ligthing coefficient. | |
The class VtkMeshComponentProperties defines properties for VtkMeshComponent.
| VtkMeshComponentProperties::VtkMeshComponentProperties | ( | VtkMeshComponent * | comp | ) |
|
inline |
Destructor.
| double VtkMeshComponentProperties::getAmbient | ( | ) | const |
Get the shading interpolation.
Get the color. Get the ambient lighting coefficient.
References camitk::Component::getActor(), and myComponent.
| double VtkMeshComponentProperties::getDiffuse | ( | ) | const |
Get the diffuse lighting coefficient.
References camitk::Component::getActor(), and myComponent.
| double VtkMeshComponentProperties::getOpacity | ( | ) | const |
Get the opacity coefficient.
References camitk::Component::getActor(), and myComponent.
| double VtkMeshComponentProperties::getSpecular | ( | ) | const |
Get the specular lighting coefficient.
References camitk::Component::getActor(), and myComponent.
| QColor VtkMeshComponentProperties::getSpecularColor | ( | ) | const |
Get the ambient color.
Get the ambient color. Get the ambient color.
References camitk::Component::getActor(), and myComponent.
| double VtkMeshComponentProperties::getSpecularPower | ( | ) | const |
Get the specular power lighting coefficient.
References camitk::Component::getActor(), and myComponent.
| void VtkMeshComponentProperties::setAmbient | ( | const double | input | ) |
Get the line width.
Get the point size. Set the shading interpolation. Get the color. Set the ambient lighting coefficient.
References camitk::Component::getActor(), and myComponent.
| void VtkMeshComponentProperties::setDiffuse | ( | const double | input | ) |
Set the diffuse lighting coefficient.
References camitk::Component::getActor(), and myComponent.
| void VtkMeshComponentProperties::setOpacity | ( | const double | input | ) |
Set the opacity coefficient.
References camitk::Component::getActor(), and myComponent.
| void VtkMeshComponentProperties::setSpecular | ( | const double | input | ) |
Set the specular lighting coefficient.
References camitk::Component::getActor(), and myComponent.
| void VtkMeshComponentProperties::setSpecularColor | ( | const QColor | input | ) |
Set the ambient color.
Set the diffuse color. Set the specular color.
References camitk::Component::getActor(), and myComponent.
| void VtkMeshComponentProperties::setSpecularPower | ( | const double | input | ) |
Set the specular power lighting coefficient.
References camitk::Component::getActor(), and myComponent.
|
protected |
Set the line width.
Set the point size. The data component associated.
Referenced by getAmbient(), getDiffuse(), getOpacity(), getSpecular(), getSpecularColor(), getSpecularPower(), setAmbient(), setDiffuse(), setOpacity(), setSpecular(), setSpecularColor(), setSpecularPower(), and VtkMeshComponentProperties().
|
readwrite |
Shading interpolation.
Color Ambient ligthing coefficient.
|
readwrite |
Diffuse ligthing coefficient.
|
readwrite |
Specular opacity coefficient.
|
readwrite |
Specular ligthing coefficient.
|
readwrite |
Ambient color.
Diffuse color Specular color Specular color
|
readwrite |
Specular power ligthing coefficient.
1.8.1.2