Kaydet (Commit) 58eaf5ff authored tarafından Thomas Arnhold's avatar Thomas Arnhold

callcatcher: remove unused B3dCamera::Set*

üst 88e42a98
...@@ -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:
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment