20 #ifndef AXLABSTRACTVOLUMEPARAMETRIC_H
21 #define AXLABSTRACTVOLUMEPARAMETRIC_H
24 #include "axlCoreExport.h"
27 #include <dtkMathSupport/dtkVector3D.h>
30 class axlAbstractVolumeParametricPrivate;
36 Q_PROPERTY(
int samples_u READ samples_u WRITE setSamples_u)
37 Q_PROPERTY(
int samples_v READ samples_v WRITE setSamples_v)
38 Q_PROPERTY(
int samples_w READ samples_w WRITE setSamples_w)
44 virtual
axlPoint eval(
double u,
double v,
double w);
45 virtual
void eval(
axlPoint *point,
double u,
double v,
double w);
46 virtual
void eval(
double&,
double&,
double&,
double u,
double v,
double w);
47 virtual
void normal(
axlPoint *normal,
double u,
double v,
double w);
49 virtual
axlMesh eval(
double u,
double v,
double w,
int derivs,
bool u_from_right = true,
bool v_from_right = true,
bool w_from_right = true,
double resolution = 1.0e-12);
50 virtual dtkDeprecated::dtkVector3D<
double> eval2(
double u,
double v,
double w);
53 virtual dtkDeprecated::dtkVector3D<
double> normal(
double u,
double v,
double w);
54 virtual
void normal(dtkDeprecated::dtkVector3D<
double> *normal,
double u,
double v,
double w);
59 virtual
int numSamples_u(
void);
60 virtual
int numSamples_v(
void);
61 virtual
int numSamples_w(
void);
63 virtual
double startParam_u(
void);
64 virtual
double endParam_u(
void);
65 virtual
double startParam_v(
void);
66 virtual
double endParam_v(
void);
67 virtual
double startParam_w(
void);
68 virtual
double endParam_w(
void);
71 virtual
int stripes(
void);
72 virtual
void setStripes(
int stripes);
74 virtual
void setNumSamples_u(
int numSamples);
75 virtual
void setNumSamples_v(
int numSamples);
76 virtual
void setNumSamples_w(
int numSamples);
82 const
int& samples_u(
void) const;
83 const
int& samples_v(
void) const;
84 const
int& samples_w(
void) const;
87 void setSamples_u(const
int& color);
88 void setSamples_v(const
int& color);
89 void setSamples_w(const
int& color);
99 axlAbstractVolumeParametricPrivate *d;
Class axlPoint defines 3D points.
Class axlMesh defines a piecewise-linear 3D object.