diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-17 08:40:10 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-17 08:40:10 +0000 |
commit | 1ba607ea4c2c9ecc98f7683f04a907deec565f48 (patch) | |
tree | 7dbac36954869439e14e642f0059972f9d9fcc0b /svx/inc/svx/volume3d.hxx | |
parent | db4c719a825e0c5b8d13133a1c8a33d4f3b53753 (diff) |
CWS-TOOLING: integrate CWS aw057
Diffstat (limited to 'svx/inc/svx/volume3d.hxx')
-rw-r--r-- | svx/inc/svx/volume3d.hxx | 53 |
1 files changed, 1 insertions, 52 deletions
diff --git a/svx/inc/svx/volume3d.hxx b/svx/inc/svx/volume3d.hxx index 5edbb3f9d0..514d567e73 100644 --- a/svx/inc/svx/volume3d.hxx +++ b/svx/inc/svx/volume3d.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: volume3d.hxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.3.226.1 $ * * This file is part of OpenOffice.org. * @@ -32,56 +32,5 @@ #define _VOLUME3D_HXX #include <basegfx/range/b3drange.hxx> -#include "svx/svxdllapi.h" - -//************************************************************ -// Vorausdeklarationen -//************************************************************ -namespace basegfx -{ - class B3DPolygon; - class B3DPoint; - class B3DHomMatrix; -} - -/************************************************************************* -|* -|* dreidimensionales Volumen, symmetrisch zu den Koordinatenachsen -|* -\************************************************************************/ - -class SVX_DLLPUBLIC Volume3D : public basegfx::B3DRange -{ -public: - Volume3D(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& r3DSize, bool bPosIsCenter = true); - explicit Volume3D(const basegfx::B3DRange& rVol); - Volume3D(); - - Volume3D GetTransformVolume(const basegfx::B3DHomMatrix& rTfMatrix) const; - void CreateWireframe(basegfx::B3DPolygon& rPoly3D, const basegfx::B3DHomMatrix* pTf = 0L) const; -}; - -/************************************************************************* -|* -|* Iterator, der die Eckpunkte eines Volumens berechnet; wenn eine Matrix -|* uebergeben wird, werden die Punkte damit transformiert -|* -\************************************************************************/ - -class Vol3DPointIterator -{ -protected: - const basegfx::B3DRange& rVolume; - const basegfx::B3DHomMatrix* pTransform; - basegfx::B3DVector a3DExtent; - sal_uInt16 nIndex; - -public: - Vol3DPointIterator(const basegfx::B3DRange& rVol, const basegfx::B3DHomMatrix* pTf = NULL); - - bool Next(basegfx::B3DPoint& rVec); - void Reset() { nIndex = 0; } -}; - #endif // _VOLUME3D_HXX |