24 #include "axlCoreExport.h"
28 #include <dtkCoreSupport/dtkAbstractData.h>
30 class axlLightPrivate;
36 Q_PROPERTY(QColor color READ color WRITE setColor )
37 Q_PROPERTY(
double opacity READ opacity WRITE setOpacity )
38 Q_PROPERTY(QString shader READ shader WRITE setShader )
42 axlLight(
double x,
double y,
double z=0, QObject *parent = 0);
43 axlLight(
double *position,
double *ambiant,
double *diffuse,
double *specular,
double exponent, QObject *parent = 0);
47 virtual QString description(
void) const;
52 double *position(
void) const;
53 double *ambiant(
void) const;
54 double *diffuse(
void) const;
55 double *specular(
void) const;
56 double exponent(
void) const;
58 void setPosition(
axlPoint *position);
61 void setSpecular(
axlPoint *specular);
62 void setExponent(
double position);
67 void onPositionChanged(
axlPoint *position);
71 const QColor& color(
void) const;
72 const
double& opacity(
void) const;
73 const QString& shader(
void) const;
77 void setColor(const QColor& color);
78 void setOpacity(const
double& opacity);
79 void setShader(const QString& shader);
90 QDebug operator<<(QDebug dbg,
axlLight point);
91 QDebug operator<<(QDebug dbg,
axlLight& point);
92 QDebug operator<<(QDebug dbg,
axlLight *point);
Class axlPoint defines 3D points.
Class axlLight defines 3D lights.