![]() |
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. More... | |
double | getDiffuse () const |
Get the diffuse lighting coefficient. More... | |
double | getOpacity () const |
Get the opacity coefficient. More... | |
double | getSpecular () const |
Get the specular lighting coefficient. More... | |
QColor | getSpecularColor () const |
Get the ambient color. More... | |
double | getSpecularPower () const |
Get the specular power lighting coefficient. More... | |
void | setAmbient (const double input) |
Get the line width. More... | |
void | setDiffuse (const double input) |
Set the diffuse lighting coefficient. More... | |
void | setOpacity (const double input) |
Set the opacity coefficient. More... | |
void | setSpecular (const double input) |
Set the specular lighting coefficient. More... | |
void | setSpecularColor (const QColor input) |
Set the ambient color. More... | |
void | setSpecularPower (const double input) |
Set the specular power lighting coefficient. More... | |
VtkMeshComponentProperties (VtkMeshComponent *comp) | |
Default construtor. More... | |
~VtkMeshComponentProperties () | |
Destructor. More... | |
Protected Attributes | |
VtkMeshComponent * | myComponent |
Set the line width. More... | |
Properties | |
double | ambient |
Shading interpolation. More... | |
double | diffuse |
Diffuse ligthing coefficient. More... | |
double | opacity |
Specular opacity coefficient. More... | |
double | specular |
Specular ligthing coefficient. More... | |
QColor | specularColor |
Ambient color. More... | |
double | specularPower |
Specular power ligthing coefficient. More... | |
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.