Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b49e42f3
Kaydet (Commit)
b49e42f3
authored
Nis 10, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rename 3DBarChart and Bar3DChart to GL3DBarChart.
Change-Id: If0449e00549d8e2f4a8cfac325a5f8c5e4ea3dcd
üst
085ab626
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
Library_chartcore.mk
chart2/Library_chartcore.mk
+1
-1
GL3DBarChart.cxx
chart2/source/view/charttypes/GL3DBarChart.cxx
+6
-6
GL3DBarChart.hxx
chart2/source/view/inc/GL3DBarChart.hxx
+8
-3
ChartView.cxx
chart2/source/view/main/ChartView.cxx
+2
-2
No files found.
chart2/Library_chartcore.mk
Dosyayı görüntüle @
b49e42f3
...
...
@@ -86,7 +86,7 @@ $(eval $(call gb_Library_add_exception_objects,chartcore,\
chart2/source/view/axes/VPolarCoordinateSystem \
chart2/source/view/axes/VPolarGrid \
chart2/source/view/axes/VPolarRadiusAxis \
chart2/source/view/charttypes/3DBarChart \
chart2/source/view/charttypes/
GL
3DBarChart \
chart2/source/view/charttypes/AreaChart \
chart2/source/view/charttypes/BarChart \
chart2/source/view/charttypes/BarPositionHelper \
...
...
chart2/source/view/charttypes/3DBarChart.cxx
→
chart2/source/view/charttypes/
GL
3DBarChart.cxx
Dosyayı görüntüle @
b49e42f3
...
...
@@ -7,9 +7,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <GL
/glew.h
>
#include <GL
3DBarChart.hxx
>
#include
"3DBarChart.hxx"
#include
<GL/glew.h>
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
...
...
@@ -18,17 +18,17 @@
namespace
chart
{
Bar3DChart
::
Bar3D
Chart
(
const
std
::
vector
<
VDataSeries
*>&
rDataSeries
)
:
GL3DBarChart
::
GL3DBar
Chart
(
const
std
::
vector
<
VDataSeries
*>&
rDataSeries
)
:
maDataSeries
(
rDataSeries
),
mxContext
(
new
opengl3D
::
temporary
::
TemporaryContext
())
{
}
Bar3DChart
::~
Bar3D
Chart
()
GL3DBarChart
::~
GL3DBar
Chart
()
{
}
void
Bar3D
Chart
::
create3DShapes
()
void
GL3DBar
Chart
::
create3DShapes
()
{
const
float
nBarSizeX
=
10
;
const
float
nBarSizeY
=
10
;
...
...
@@ -61,7 +61,7 @@ void Bar3DChart::create3DShapes()
}
}
void
Bar3D
Chart
::
render
()
void
GL3DBar
Chart
::
render
()
{
mxContext
->
init
();
for
(
boost
::
ptr_vector
<
opengl3D
::
Renderable3DObject
>::
iterator
itr
=
maShapes
.
begin
(),
...
...
chart2/source/view/inc/3DBarChart.hxx
→
chart2/source/view/inc/
GL
3DBarChart.hxx
Dosyayı görüntüle @
b49e42f3
...
...
@@ -7,6 +7,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef CHART2_GL3DBARCHART_HXX
#define CHART2_GL3DBARCHART_HXX
#include <vector>
#include <boost/ptr_container/ptr_vector.hpp>
#include "VDataSeries.hxx"
...
...
@@ -25,11 +28,11 @@ class TemporaryContext;
}
}
class
Bar3D
Chart
class
GL3DBar
Chart
{
public
:
Bar3D
Chart
(
const
std
::
vector
<
VDataSeries
*>&
rDataSeries
);
~
Bar3D
Chart
();
GL3DBar
Chart
(
const
std
::
vector
<
VDataSeries
*>&
rDataSeries
);
~
GL3DBar
Chart
();
void
create3DShapes
();
...
...
@@ -45,4 +48,6 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/view/main/ChartView.cxx
Dosyayı görüntüle @
b49e42f3
...
...
@@ -48,7 +48,7 @@
#include "DateHelper.hxx"
#include "defines.hxx"
#include <unonames.hxx>
#include
"3DBarChart.hxx"
#include
<GL3DBarChart.hxx>
#include <rtl/uuid.h>
#include <comphelper/scopeguard.hxx>
...
...
@@ -3149,7 +3149,7 @@ void ChartView::createShapes3D()
}
}
Bar3D
Chart
aBarChart
(
aDataSeries
);
GL3DBar
Chart
aBarChart
(
aDataSeries
);
aBarChart
.
create3DShapes
();
aBarChart
.
render
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment