Computer Assited Medical Intervention Tool Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | Properties | List of all members
VtkMeshComponentProperties Class Reference

The class VtkMeshComponentProperties defines properties for VtkMeshComponent. More...

#include <VtkMeshComponentProperties.h>

+ Inheritance diagram for VtkMeshComponentProperties:

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

VtkMeshComponentmyComponent
 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...
 

Detailed Description

The class VtkMeshComponentProperties defines properties for VtkMeshComponent.

Member Enumeration Documentation

Line width.

Point size. Available source devices.

Enumerator
FLAT 

FLAT interpolation.

GOURAUD 

GOURAUD interpolation.

PHONG 

PHONG interpolation.

Constructor & Destructor Documentation

VtkMeshComponentProperties::VtkMeshComponentProperties ( VtkMeshComponent comp)

Default construtor.

Parameters
compThe associated Component.

References myComponent.

VtkMeshComponentProperties::~VtkMeshComponentProperties ( )
inline

Destructor.

Member Function Documentation

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.

Member Data Documentation

VtkMeshComponent* VtkMeshComponentProperties::myComponent
protected

Property Documentation

double VtkMeshComponentProperties::ambient
readwrite

Shading interpolation.

Color Ambient ligthing coefficient.

double VtkMeshComponentProperties::diffuse
readwrite

Diffuse ligthing coefficient.

double VtkMeshComponentProperties::opacity
readwrite

Specular opacity coefficient.

double VtkMeshComponentProperties::specular
readwrite

Specular ligthing coefficient.

QColor VtkMeshComponentProperties::specularColor
readwrite

Ambient color.

Diffuse color Specular color Specular color

double VtkMeshComponentProperties::specularPower
readwrite

Specular power ligthing coefficient.


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