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
58eaf5ff
Kaydet (Commit)
58eaf5ff
authored
Tem 12, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove unused B3dCamera::Set*
üst
88e42a98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
81 deletions
+0
-81
b3dtrans.hxx
tools/inc/tools/b3dtrans.hxx
+0
-6
b3dtrans.cxx
tools/source/generic/b3dtrans.cxx
+0
-75
No files found.
tools/inc/tools/b3dtrans.hxx
Dosyayı görüntüle @
58eaf5ff
...
@@ -294,22 +294,16 @@ public:
...
@@ -294,22 +294,16 @@ public:
virtual
~
B3dCamera
();
virtual
~
B3dCamera
();
// Positionen
// Positionen
void
SetPosition
(
const
basegfx
::
B3DPoint
&
rNewPos
);
const
basegfx
::
B3DPoint
&
GetPosition
()
const
{
return
aPosition
;
}
const
basegfx
::
B3DPoint
&
GetPosition
()
const
{
return
aPosition
;
}
void
SetLookAt
(
const
basegfx
::
B3DVector
&
rNewLookAt
);
const
basegfx
::
B3DVector
&
GetLookAt
()
const
{
return
aLookAt
;
}
const
basegfx
::
B3DVector
&
GetLookAt
()
const
{
return
aLookAt
;
}
void
SetPositionAndLookAt
(
const
basegfx
::
B3DPoint
&
rNewPos
,
const
basegfx
::
B3DVector
&
rNewLookAt
);
// Brennweite in mm
// Brennweite in mm
void
SetFocalLength
(
double
fLen
);
double
GetFocalLength
()
const
{
return
fFocalLength
;
}
double
GetFocalLength
()
const
{
return
fFocalLength
;
}
// Neigung links/rechts
// Neigung links/rechts
void
SetBankAngle
(
double
fAngle
);
double
GetBankAngle
()
const
{
return
fBankAngle
;
}
double
GetBankAngle
()
const
{
return
fBankAngle
;
}
// FocalLength Flag
// FocalLength Flag
void
SetUseFocalLength
(
sal_Bool
bNew
);
sal_Bool
GetUseFocalLength
()
const
{
return
(
sal_Bool
)
bUseFocalLength
;
}
sal_Bool
GetUseFocalLength
()
const
{
return
(
sal_Bool
)
bUseFocalLength
;
}
protected
:
protected
:
...
...
tools/source/generic/b3dtrans.cxx
Dosyayı görüntüle @
58eaf5ff
...
@@ -649,81 +649,6 @@ B3dCamera::~B3dCamera()
...
@@ -649,81 +649,6 @@ B3dCamera::~B3dCamera()
{
{
}
}
void
B3dCamera
::
SetPosition
(
const
basegfx
::
B3DPoint
&
rNewPos
)
{
if
(
rNewPos
!=
aPosition
)
{
// Zuweisen
aCorrectedPosition
=
aPosition
=
rNewPos
;
// Neuberechnung
CalcNewViewportValues
();
}
}
void
B3dCamera
::
SetLookAt
(
const
basegfx
::
B3DVector
&
rNewLookAt
)
{
if
(
rNewLookAt
!=
aLookAt
)
{
// Zuweisen
aLookAt
=
rNewLookAt
;
// Neuberechnung
CalcNewViewportValues
();
}
}
void
B3dCamera
::
SetPositionAndLookAt
(
const
basegfx
::
B3DPoint
&
rNewPos
,
const
basegfx
::
B3DVector
&
rNewLookAt
)
{
if
(
rNewPos
!=
aPosition
||
rNewLookAt
!=
aLookAt
)
{
// Zuweisen
aPosition
=
rNewPos
;
aLookAt
=
rNewLookAt
;
// Neuberechnung
CalcNewViewportValues
();
}
}
void
B3dCamera
::
SetFocalLength
(
double
fLen
)
{
if
(
fLen
!=
fFocalLength
)
{
// Zuweisen
if
(
fLen
<
5.0
)
fLen
=
5.0
;
fFocalLength
=
fLen
;
// Neuberechnung
CalcNewViewportValues
();
}
}
void
B3dCamera
::
SetBankAngle
(
double
fAngle
)
{
if
(
fAngle
!=
fBankAngle
)
{
// Zuweisen
fBankAngle
=
fAngle
;
// Neuberechnung
CalcNewViewportValues
();
}
}
void
B3dCamera
::
SetUseFocalLength
(
sal_Bool
bNew
)
{
if
(
bNew
!=
(
sal_Bool
)
bUseFocalLength
)
{
// Zuweisen
bUseFocalLength
=
bNew
;
// Neuberechnung
CalcNewViewportValues
();
}
}
void
B3dCamera
::
DeviceRectangleChange
()
void
B3dCamera
::
DeviceRectangleChange
()
{
{
// call parent
// call parent
...
...
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