diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-03 13:08:05 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-05-03 13:18:53 +0300 |
commit | 820697112c5a9429d48ffc8b6280e570dfe6a99b (patch) | |
tree | be526a59e32aa40495c446c4e99cf931e4258d80 /src/datavis3d/engine/q3dmaps.h | |
parent | 2fe78bbc9eca244c76f8ba5165fa443b35edbcc1 (diff) |
Q3DMaps: Value application dimension changing added to example
Change-Id: Id85cae69cd66e838f8df1b1c53593091be67d648
Change-Id: Id85cae69cd66e838f8df1b1c53593091be67d648
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavis3d/engine/q3dmaps.h')
-rw-r--r-- | src/datavis3d/engine/q3dmaps.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/datavis3d/engine/q3dmaps.h b/src/datavis3d/engine/q3dmaps.h index d0681f00..ed9f75d7 100644 --- a/src/datavis3d/engine/q3dmaps.h +++ b/src/datavis3d/engine/q3dmaps.h @@ -95,7 +95,10 @@ public: bool setData(QDataRow *data); // bar specifications; base thickness in x, y and z, enum to indicate which direction is increased with value - void setBarSpecs(const QVector3D &thickness = QVector3D(1.0f, 0.0f, 1.0f), + // TODO: Start using thickness also in adjustment direction; use it as a relative value. + // For example, in AdjustAll mode setting thickness to (0.1f, 1.0f, 0.5f) would apply value to + // x at 10%, y at 100% and z at 50%. If a dimension is not included, given thickness states its absolute value. + void setBarSpecs(const QVector3D &thickness = QVector3D(1.0f, 1.0f, 1.0f), AdjustmentDirection direction = AdjustHeight); // bar type; bars (=cubes), pyramids, cones, cylinders, balls, etc. |